Restore explicit iPXE naming for UEFI initrd handoff

- Use --name vmlinuz and --name initrd for explicit image naming
- Use imgargs separately from kernel line
- Use 'boot vmlinuz' explicitly instead of bare 'boot'
- Add imgfree to clear previous images
- Add initrd=initrd to kernel args for EFI stub
This commit is contained in:
2026-02-02 00:32:30 +01:00
parent a88f347777
commit b351696017

View File

@@ -4,13 +4,14 @@ echo Booting Ubuntu Noble K3s Node via iPXE
# Clear any previous images # Clear any previous images
imgfree imgfree
# Load initrd FIRST (UEFI memory mapping requirement) echo Loading kernel from http://192.168.100.1:8800/vmlinuz
echo Loading initramfs... kernel --name vmlinuz http://192.168.100.1:8800/vmlinuz
initrd http://192.168.100.1:8800/initrd-netboot.img
# Then load kernel echo Loading initramfs from http://192.168.100.1:8800/initrd-netboot.img
echo Loading kernel... initrd --name initrd http://192.168.100.1:8800/initrd-netboot.img
kernel http://192.168.100.1:8800/vmlinuz initrd=initrd-netboot.img rdinit=/init boot=netboot root=http://192.168.100.1:8800/filesystem.squashfs rootfstype=squashfs overlayroot=tmpfs ip=dhcp console=tty0 console=ttyS0,115200 loglevel=7 panic=-1 break=mountroot
echo Setting kernel arguments for HTTP root mounting
imgargs vmlinuz initrd=initrd rdinit=/init boot=netboot root=http://192.168.100.1:8800/filesystem.squashfs rootfstype=squashfs overlayroot=tmpfs ip=dhcp console=tty0 console=ttyS0,115200 loglevel=7 panic=-1 break=mountroot
echo Booting system... echo Booting system...
boot boot vmlinuz