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
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
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!
:'(
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
poc
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?
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
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
On Sat, 2018-05-05 at 05:16 -0700, ToddAndMargo wrote:
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.
You can edit the XML file (after shutting down the VM of course) using 'virsh edit <vm-name>. IIRC I've done this in the past, though it's been a while. See 'man virsh' for more detail.
poc
On 05/05/2018 08:43 AM, Patrick O'Callaghan wrote:
On Sat, 2018-05-05 at 05:16 -0700, ToddAndMargo wrote:
Well, it looks like Virt-manager won't let me configure it after the VM is created.
You can edit the XML file (after shutting down the VM of course) using 'virsh edit <vm-name>. IIRC I've done this in the past, though it's been a while. See 'man virsh' for more detail.
You can, but the bootloader for BIOS is different from the bootloader for UEFI, so odds are pretty good that your VM won't boot if you change that.
It *is* possible to construct a system that will boot under both, so that you can switch from one firmware to the other, but it's kind of a pain.