- Add CLAUDE.md with project architecture and build documentation - Add verify-image.sh script to validate generated netboot images - Fix boot.ipxe kernel parameters: - Add boot=netboot to invoke custom initramfs script - Add console=tty0 for VGA output alongside serial console - Fix earlyprintk serial specification - Remove dead symlink creation in build-image.sh (http/latest pointed to non-existent directory) The boot=netboot parameter is critical - without it, initramfs falls back to local boot and fails with /dev/root errors. The console changes enable viewing boot messages on monitor instead of only serial port.
11 lines
597 B
Plaintext
11 lines
597 B
Plaintext
#!ipxe
|
|
echo Booting Ubuntu Noble K3s Node via iPXE
|
|
echo Loading kernel from http://192.168.100.1:8800/vmlinuz
|
|
kernel --name vmlinuz http://192.168.100.1:8800/vmlinuz
|
|
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 boot=netboot root=http://192.168.100.1:8800/filesystem.squashfs rootfstype=squashfs overlayroot=tmpfs ip=dhcp console=tty0 console=ttyS0,115200 earlyprintk=serial,ttyS0,115200 loglevel=7
|
|
echo Booting system...
|
|
boot vmlinuz
|