Compare commits

...

2 Commits

Author SHA1 Message Date
a9b18b5821 simplified, removed --name etc 2026-02-01 01:00:00 +01:00
b2c1cc6577 Remove cloud-initramfs-rooturl to fix boot failure
Conflicts with custom netboot script that provides essential tmpfs overlay.
cloud-initramfs-rooturl mounts squashfs read-only, but diskless nodes need
writable overlay for /var/log, /tmp, /etc, and runtime state.

Fixes: Can't open blockdev error during boot
2026-01-31 13:26:34 +01:00
2 changed files with 6 additions and 7 deletions

View File

@@ -61,7 +61,6 @@ apt-get upgrade -y
apt-get install -y \ apt-get install -y \
linux-image-generic \ linux-image-generic \
linux-firmware \ linux-firmware \
cloud-initramfs-rooturl \
busybox-initramfs \ busybox-initramfs \
initramfs-tools \ initramfs-tools \
keyboard-configuration \ keyboard-configuration \

View File

@@ -1,10 +1,10 @@
#!ipxe #!ipxe
echo Booting Ubuntu Noble K3s Node via iPXE echo Booting Ubuntu Noble K3s Node via iPXE
echo Loading kernel from http://192.168.100.1:8800/vmlinuz echo Loading kernel...
kernel --name vmlinuz http://192.168.100.1:8800/vmlinuz kernel http://192.168.100.1:8800/vmlinuz
echo Loading initramfs from http://192.168.100.1:8800/initrd-netboot.img echo Loading initramfs...
initrd --name initrd http://192.168.100.1:8800/initrd-netboot.img initrd http://192.168.100.1:8800/initrd-netboot.img
echo Setting kernel arguments for HTTP root mounting 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 imgargs vmlinuz initrd=initrd-netboot.img boot=netboot root=http://192.168.100.1:8800/filesystem.squashfs rootfstype=squashfs overlayroot=tmpfs ip=dhcp console=tty0 console=ttyS0,115200 loglevel=7
echo Booting system... echo Booting system...
boot vmlinuz boot