Fix kernel panic by adding ramdisk_size to iPXE kernel params
build-and-push / test (push) Successful in 35s
build-and-push / build-and-push (push) Successful in 1m12s

The Proxmox initrd is too large for the default ramdisk allocation,
causing VFS to fail mounting root. Add ramdisk_size=16777216 (16GB)
along with rw, quiet, and splash=verbose for proper installer boot.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 10:55:34 -04:00
parent c75a47d299
commit 846b6847a5
+1 -1
View File
@@ -12,7 +12,7 @@ func BuildIPXEScript(publicURL string, img *model.Image, mac string) string {
return fmt.Sprintf(`#!ipxe return fmt.Sprintf(`#!ipxe
echo Provisioning: booting %s on ${mac} echo Provisioning: booting %s on ${mac}
kernel %s vga=791 video=vesafb:lfb:on kernel %s ramdisk_size=16777216 vga=791 video=vesafb:lfb:on rw quiet splash=verbose
initrd %s initrd %s
boot boot
`, img.Name, kernelURL, initrdURL) `, img.Name, kernelURL, initrdURL)