Saturday, April 04, 2026

no joy when doing UEFI PXE boot

hi,

after someone brought it up on IRC, i recently revisited UEFI PXE
booting OpenBSD. i've only tested amd64 BOOTX64.EFI here, but i've
tried a few scenarios and they all pretty much result in the same
mystifying issue: BOOTX64.EFI loads and the machine immediately
resets.

test scenarios are mostly under OVMF in QEMU, but i also tried my
thinkpad A485 also with no joy.

i've tried multiple versions of QEMU (10.0.2, 10.0.8, 10.2.0),
EDK2/OVMF, and also tried each BOOTX64.EFI from OpenBSD 7.2 thru 7.8,
and BOOTX64.EFI from snapshots dated 04-Apr-2026. all have the same
results, the vm just resets and boots the OVMF firmware again.

on the other hand, if i instead boot ipxe.efi built from
https://ipxe.org/download#uefi, it loads fine. if i try "chain
BOOTX64.EFI" from iPXE, it will chain and get me to a boot prompt.
however, this has the unfortunate result that BOOTX64.EFI can't
actually load anything else like bsd.rd - in this state the tftp
protocol seems missing.

before i go debugging further, i wanted to write and see if anyone
knows if i did something wrong - has anyone had UEFI PXE boot working
recently?

thanks,
nick

No comments:

Post a Comment