687d6d13f37c8f06ab3136b1ed802baabc50c40b
The universal UEFI binary ipxe.efi (1.2 MB, all NIC drivers) crashes at the same offset (0x35FC from the iPXE image base) whether the VM has 2 GB or 4 GB of RAM, with RAX = 0xAF...AF (iPXE uninit-memory fill). So this is not OOM (the memory bump did not help) and not a NIC driver issue (we use virtio-net, which the universal binary handles); it is a deterministic bug somewhere in the sanboot/download buffer path of the universal binary when the image is 2 GB. snp.efi (310 KB, SNP-only — the driver virtio-net speaks) is a separate iPXE build with a smaller code path: no UNDI, no PXE prefix, no multi-NIC code. The same bug may not be there, or the different code layout may avoid the bad offset. Worth a try before reaching for GRUB or NFS root. The opt-in is just bootloader.ipxeBinary = "snp.efi"; on the pxe-infra attrset. The tmpfiles rule in modules/pxe-infra/default.nix will symlink the new name into the served TFTP root, and the next DHCP offer from dnsmasq will hand it to the firmware.
I'm a super newbie who just posted my stuff here. Now maybe about intermediate
Languages
Nix
82.8%
Python
9%
Shell
7.3%
Dockerfile
0.5%
Perl
0.4%