(Create test case) |
(Drop outdated instructions) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|setup= | |setup= | ||
=== Installing UEFI firmware (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. | A Fedora 22 host (or later) is required. | ||
OVMF isn't in Fedora yet due to some licensing issues, so we need to get the firmware from an external repo. This page describes how to setup the repo: [[Using_UEFI_with_QEMU#Installing_.27UEFI_for_QEMU.27_nightly_builds]] | |||
After repo setup, install x86 and aarch64 UEFI binaries: | |||
<pre> | <pre> | ||
sudo | sudo dnf install edk2.git-ovmf-x64 edk2.git-aarch64 | ||
</pre> | |||
Note, these instructions are also used for setting up aarch64 UEFI support. For strictly x86 support, the aarch64 references aren't required. | |||
|actions= | |actions= | ||
Line 20: | Line 22: | ||
=== Install VM with virt-install === | === Install VM with virt-install === | ||
Follow one of the VM install test cases with virt-install, but also append the | Follow one of the VM install test cases with virt-install, but also append the option <code>--boot uefi</code>. Like: | ||
sudo virt-install --boot uefi ... | |||
=== Install VM with virt-manager === | |||
Follow one of the VM install test cases for virt-manager. When you get to the final page of the 'New VM' wizard, do the following: | |||
* Click 'Customize before install', then select 'Finish' | |||
* On the 'Overview' screen, Change the 'Firmware' field to select the 'OVMF x86_64' option. | |||
* Click 'Begin Installation' | |||
* Verify the VM installs correctly | |||
|results= | |results= |
Latest revision as of 20:14, 2 January 2016
Description
Install a Fedora VM using UEFI/OVMF.
Setup
Installing UEFI firmware for x86 QEMU (OVMF)
A Fedora 22 host (or later) is required.
OVMF isn't in Fedora yet due to some licensing issues, so we need to get the firmware from an external repo. This page describes how to setup the repo: Using_UEFI_with_QEMU#Installing_.27UEFI_for_QEMU.27_nightly_builds
After repo setup, install x86 and aarch64 UEFI binaries:
sudo dnf install edk2.git-ovmf-x64 edk2.git-aarch64
Note, these instructions are also used for setting up aarch64 UEFI support. For strictly x86 support, the aarch64 references aren't required.
How to test
Install VM with virt-install
Follow one of the VM install test cases with virt-install, but also append the option --boot uefi
. Like:
sudo virt-install --boot uefi ...
Install VM with virt-manager
Follow one of the VM install test cases for virt-manager. When you get to the final page of the 'New VM' wizard, do the following:
- Click 'Customize before install', then select 'Finish'
- On the 'Overview' screen, Change the 'Firmware' field to select the 'OVMF x86_64' option.
- Click 'Begin Installation'
- Verify the VM installs correctly
Expected Results
Guest installations start and perform without any issues. Guest is bootable after install completes.