How to create a VM with UEFI boot enabled?
Using RHVM to create a new VM, I don't see any options for specifying UEFI vs legacy BIOS boot. Are you supposed to manually supply UEFI kernel path/parameters under the Boot Options menu? I have found nothing online or in documentation related to how this gets enabled. Right now all of my VMs are legacy BIOS mode.
Thanks for the help!
-Oscar
Responses
Hi Oscar, yes there is a possibility to create and use a VM with a virtual disk on which a system is running in EFI mode !
You need to have OVMF installed, here you find some useful information -> https://access.redhat.com/articles/1434903
Included you will find a white paper with instructions how to install it and more information -> ovmf-whtepaper-031815
Unfortunately OVMF is not available in the Red Hat repositories ... so you have to install it manually as described there.
When you create a new VM - choose the OVMF option in virt-manager or add a boot parameter to the qemu command.
Here is an example (from a fedora 25 workstation) for booting a virtual machine with a system installed in EFI mode :qemu-system-x86_64 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd Other boot parameters depend on 'your' setup.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
