qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Any trick to booting off a eufi USB flash drive?


From: Pascal
Subject: Re: [Qemu-discuss] Any trick to booting off a eufi USB flash drive?
Date: Wed, 9 May 2018 09:34:36 +0200

hi, I'm on ArchLinux and I don't use libvirt, so my answers won't
completely cover your questions.

I'm using OVMF-pure-efi.fd from edk2.git-ovmf-x64 from
https://www.kraxel.org/repos/jenkins/edk2/ and I'm calling qemu like this :

/usr/bin/qemu-system-x86_64 -enable-kvm -m 2048 -bios OVMF-pure-efi.fd -hda
/dev/sdx

(assuming your USB flash drive is /dev/sdx and is readable)

are your really sure your USB flash drive is UEFI ready ?

I hope it will help.


2018-05-09 1:20 GMT+02:00 ToddAndMargo <address@hidden>:

> On 05/06/2018 11:26 PM, Pascal wrote:
>
>> hi, install ovmf and start qemu with "-bios /path/to/uefi" parameter.
>>
>> https://fedoraproject.org/wiki/Using_UEFI_with_QEMU
>> https://github.com/tianocore/tianocore.github.io/wiki/How-to-run-OVMF
>> etc...
>>
>> 2018-05-05 9:02 GMT+02:00 ToddAndMargo <address@hidden <mailto:
>> address@hidden>>:
>>
>>     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?
>>
>>
>>     Many thanks,
>>     -T
>>
>>
> Hi Pascal,
>
> I can boot off the Windows 10-1803 ISO.  I just can't
> boot off my W10-1893 USB sticks (nativity, I can) or
> my Fedora 28 USB Flash drive (again, nativity, I can).
>
> Is this the ovmf you mean?
>
>      $ rpm -qa \*ovmf\*
>      edk2-ovmf-20171011git92d07e4-3.fc28.noarch
>
> It is already installed and also the only one I could find:
>
>      # dnf whatprovides ovmf\*
>      Last metadata expiration check: 1:40:05 ago on Mon 07 May
>      2018 01:10:35 PM PDT.
>      edk2-qosb-20171011git92d07e4-7.fc28.noarch : Tool to
>      enroll secureboot
>      Repo        : updates
>      Matched from:
>      Filename    : /usr/bin/ovmf-vars-generator
>
> I saw those links purpled out on my Firefox, so I
> had visited them before and got confused.
>
> So I am confused: how do I get "-bios /path/to/uefi" into
> my XML file with virt-manager?
>
> Thank you for helping me with this!
>
> -T
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]