From 3154813d01485e60eaf26b598794159cbc6a6f4e Mon Sep 17 00:00:00 2001 From: oqyude Date: Tue, 13 Oct 2026 03:57:46 +0300 Subject: [PATCH] config(rydiwo): bump pxe-infra VM to 4G so iPXE can sanboot a 2G image iPXE's sanboot for an HTTP URL needs to hold the entire image in its own heap. The raw Alpine image is 2 GB; with the default 2 GB VM RAM, iPXE's allocator runs out around the 2 GB mark, leaves uninitialised 0xAF...AF fill in the fresh pages, and the firmware's next read from that area raises #GP at RIP 0x7EE855FC with RAX = 0xAF...AF. Bumping pxe-infra.vm.memory to 4G gives iPXE roughly 2G of heap for the download, which is exactly what a 2G image needs. The rest goes to OVMF firmware and friends. --- configurations/mini-laptop.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configurations/mini-laptop.nix b/configurations/mini-laptop.nix index c9cc448..eae0acd 100644 --- a/configurations/mini-laptop.nix +++ b/configurations/mini-laptop.nix @@ -56,6 +56,7 @@ vm = { enable = true; autostart = false; # start manually when testing + memory = "4G"; # iPXE needs 2G+ heap to sanboot a 2G raw image }; dhcp.guests = [ {