English Spanish
Installing 'UEFI for QEMU' nightly builds
Libvirt needs to know about UEFI->NVRAM config file mapping, so it can advertise it to tools like virt-manager/virt-install. On Fedora 22 and later, libvirt packages are configured to look for the nightly build paths, so this will work out of the box.
link:Architectures/ARM/AArch64[Fedora's AArch64 releases] will only run on UEFI, so require UEFI inside the VM. However the steps are slightly different. See this page for complete documentation: https://fedoraproject.org/wiki/Architectures/AArch64/Install_with_QEMU
Note, these are nightly builds, and may occasionally be broken.
Once the document is live, go to the original wiki page and replace its text with the following macro:
Once you have a secureboot configured VM as described above, it's easy to use this to test ISO media secureboot support.
Once you've fixed this page, remove this notice, and update [filename]`modules/ROOT/nav.adoc`.
On the 'Overview' screen, Change the 'Firmware' field to select the 'UEFI x86_64' option.
Optionally Configure libvirtd to advertise UEFI support
QA:Testcase_Virtualization_UEFI[QA:Testcase Virtualization UEFI]
Run EnrollDefaultKeys.efi
See a typo, something missing or out of date, or anything else which can be improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.
Shell> fs0:
Since June 2016, OVMF is available in Fedora repositories. All you need to have installed is `edk2-ovmf` RPM. Furthermore, it should be now a dependency of the package, so you probably have it installed already. This includes firmware for secureboot (`OVMF_CODE.secboot.fd`)
Since OVMF doesn't ship with any SecureBoot keys installed, we need to install some to mimic what an MS certified UEFI machine will ship with. OVMF now ships with the binaries required to set up a default set of keys. The easiest way is to use UefiShell.iso which is available at `/usr/share/edk2/ovmf/UefiShell.iso`. Boot your VM with this as the CD-ROM image and it should boot into the UEFI shell. At the prompt
Start the VM
` sudo dnf install dnf-plugins-core` + ` sudo dnf config-manager --add-repo `http://www.kraxel.org/repos/firmware.repo[`http://www.kraxel.org/repos/firmware.repo`] + ` sudo dnf install edk2.git-ovmf-x64`
` sudo virt-install --name f20-uefi \` + `   --ram 2048 --disk size=20 \` + `   --boot uefi \` + `   --location `https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/x86_64/os/[`https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/x86_64/os/`]
Switch to a terminal inside the VM, verify Secureboot is enabled by checking dmesg