You are not logged in.

#1 2025-02-16 16:29:09

starfry
Member
From: Surrey, UK
Registered: 2010-08-18
Posts: 238

QEMU PXE booting does not work with OVMF.4m.fd

I am testing qemu on a new workstation and notice that PXE booting does not work. Here is my command-line:

qemu-system-x86_64 -enable-kvm -m 16384 -bios /usr/share/ovmf/x64/OVMF.4m.fd -net nic -net bridge,br=br0

The firmware file is from edk2-ovmf

$ pacman -Qo /usr/share/ovmf/x64/OVMF.4m.fd
/usr/share/edk2/x64/OVMF.4m.fd is owned by edk2-ovmf 202411-1

I copied OVMF.fd from an old box, where it works. And it works on my new workstation with this copied file.

The copied file OVMF.fd is from edk2-ovmf 202311-1. It has since been removed hence my testing above using the OVMD.4m.fd but it seems to lack PXE support.

While I can continue to copy the old file around, I'd prefer it it worked without having to do that. Am I missing something else that I should be doing now, or could this be a bug ?

Offline

#2 2026-06-05 12:54:13

augu5te
Member
Registered: 2026-06-05
Posts: 1

Re: QEMU PXE booting does not work with OVMF.4m.fd

For a similar situation I find this issue on github https://github.com/tianocore/edk2/discussions/11348 . The proposed solution  by adding  -device virtio-rng-pci works for me, it's related to a particular CVE.

Offline

#3 2026-06-05 18:22:52

topcat01
Member
Registered: 2019-09-17
Posts: 288

Re: QEMU PXE booting does not work with OVMF.4m.fd

This is very useful to know. Although my current qemu setup is on my work Ubuntu machine (hence older edk), I plan to set up a lab on my Arch machine and PXE is one of the things I plan to use.

Offline

Board footer

Powered by FluxBB