CentOS 8
Sponsored Link

KVM : UEFI boot for Virtual Machine
2019/10/08
 
Boot Virtual Machines with UEFI (Unified Extensible Firmware Interface).
[1] Install UEFI Firmware for Virtual Machines. (generally it's already installed for dependency)
[root@dlp ~]#
dnf -y install edk2-ovmf
[2] To set UEFI, Specify [--boot uefi] When creating Virtual Machine.
[root@dlp ~]#
virt-install \
--name Win2k19 \
--ram 6144 \
--disk path=/var/kvm/images/Win2k19.img,size=100 \
--vcpus=4 \
--os-type windows \
--os-variant=win2k19 \
--network bridge=br0 \
--graphics vnc,listen=0.0.0.0,password=password \
--video qxl \
--cdrom /home/Win2019_EN-US.iso \
--boot uefi
[3] Virtual Machine starts with UEFI.
[4] After installation, you can find [UEFI] on [BIOS Mode].
Matched Content