From Fedora Project Wiki

Revision as of 20:25, 23 November 2014 by Crobinso (talk | contribs) (Point to moved wiki page, change install steps)


Install a Fedora VM using UEFI/OVMF.


Installing UEFI firmware for x86 QEMU (OVMF)

OVMF isn't in Fedora yet due to some licensing issues, so we need to get the firmware from an external repo. More info on this page: Using UEFI with QEMU

sudo wget -O /etc/yum.repos.d/firmware.repo
sudo yum install edk2.git-ovmf-x64

How to test

Install VM with virt-install

Follow one of the VM install test cases with virt-install, but also append the options:

 sudo virt-install --boot loader_ro=yes,loader_type=pflash,loader=/usr/share/edk2.git/ovmf-x64/OVMF-pure-efi.fd,nvram_template=/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd

Expected Results

Guest installations start and perform without any issues. Guest is bootable after install completes.