diff --git a/http/boot.ipxe b/http/boot.ipxe index 4972d3f..58a48b6 100644 --- a/http/boot.ipxe +++ b/http/boot.ipxe @@ -4,13 +4,14 @@ echo Booting Ubuntu Noble K3s Node via iPXE # Clear any previous images imgfree -# Load initrd FIRST (UEFI memory mapping requirement) -echo Loading initramfs... -initrd http://192.168.100.1:8800/initrd-netboot.img +echo Loading kernel from http://192.168.100.1:8800/vmlinuz +kernel --name vmlinuz http://192.168.100.1:8800/vmlinuz -# Then load kernel -echo Loading kernel... -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 Loading initramfs from http://192.168.100.1:8800/initrd-netboot.img +initrd --name initrd http://192.168.100.1:8800/initrd-netboot.img + +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... -boot +boot vmlinuz