Re: Any trick to booting off a eufi USB flash drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/05/2018 05:16 AM, ToddAndMargo wrote:
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


It will boot off an EUFI .iso but not a EUFI USB drive


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux