On 05/05/2018 04:51 AM, ToddAndMargo wrote:
On 05/05/2018 03:46 AM, Patrick O'Callaghan wrote:
On Sat, 2018-05-05 at 03:06 -0700, ToddAndMargo wrote:
On 05/05/2018 02:31 AM, Patrick O'Callaghan wrote:
On Sat, 2018-05-05 at 01:54 -0700, ToddAndMargo wrote:
Hi All,

Fedora 28, x64

$ rpm -qa \*qemu-kvm\*
qemu-kvm-2.11.1-2.fc28.x86_64

I set up a VM to test bootable flash drives.  The
only ones it will boot are standard boot drives and
not eufi drives.

Is there any trick to booting off a eufi USB
flash drive?

You may need OVMF (https://github.com/tianocore/tianocore.github.io/wiki/OVMF)

dnf install edk2-ovmf.noarch

poc


# dnf install edk2-ovmf.noarch
Last metadata expiration check: 1:42:44 ago on Sat 05 May 2018 01:22:40
AM PDT.
Package edk2-ovmf-20171011git92d07e4-3.fc28.noarch is already installed,
skipping.
Dependencies resolved.
Nothing to do.
Complete!

It's not just installing the RPM, you also have to configure your VM:
https://fedoraproject.org/wiki/Using_UEFI_with_QEMU


Is this what I am looking for?

--boot uefi

If so do I manually insert it into my xml file?  Or
is there somewhere in Virt Manager to configure it?

Hi Patrick,

Well, it looks like Virt-manager won't let me configure it
after the VM is created.  So I now have a KVM-USB and
KVM-USB-EUFI vm's.  The second one it configured as
EUFI, instead of BIOS.

The XML file looks to be the loader section:
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.11'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/edk2/ovmf/OVMF_CODE.fd</loader>
    <nvram>/var/lib/libvirt/qemu/nvram/KVM-USB-EUFI_VARS.fd</nvram>
    <boot dev='cdrom'/>
  </os>

Thakn yo for hte help!

-T
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to