From c74148a222719b65e69a5b8b87b3d78e46895913 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Wed, 27 May 2026 13:17:14 -0400 Subject: [PATCH] Blancco boot configs: update IP from 10.9.100.1 to 172.16.9.1 grub-blancco.cfg was still referencing the old PXE LAN IP for kernel, initrd, and archiso_http_srv. Also synced repo copy to match the live BDE-kernel TFTP-based config. Updated iPXE scripts (blancco.ipxe, blancco-debug.ipxe, blancco-chain.ipxe) for the same IP change. Co-Authored-By: Claude Opus 4.7 (1M context) --- boot-tools/blancco/blancco-chain.ipxe | 14 ++++++++ boot-tools/blancco/blancco-debug.ipxe | 48 +++++++++++++++++++++++++++ boot-tools/blancco/blancco.ipxe | 17 ++++++++++ boot-tools/blancco/grub-blancco.cfg | 16 ++------- 4 files changed, 81 insertions(+), 14 deletions(-) create mode 100644 boot-tools/blancco/blancco-chain.ipxe create mode 100644 boot-tools/blancco/blancco-debug.ipxe create mode 100644 boot-tools/blancco/blancco.ipxe diff --git a/boot-tools/blancco/blancco-chain.ipxe b/boot-tools/blancco/blancco-chain.ipxe new file mode 100644 index 0000000..6e747c7 --- /dev/null +++ b/boot-tools/blancco/blancco-chain.ipxe @@ -0,0 +1,14 @@ +#!ipxe + +dhcp +echo SAN booting Blancco ISO... +sanboot http://172.16.9.1/blancco/blancco.iso || goto failed +goto end + +:failed +echo +echo FAILED! +prompt Press any key for iPXE shell... +shell + +:end diff --git a/boot-tools/blancco/blancco-debug.ipxe b/boot-tools/blancco/blancco-debug.ipxe new file mode 100644 index 0000000..3b7b7e2 --- /dev/null +++ b/boot-tools/blancco/blancco-debug.ipxe @@ -0,0 +1,48 @@ +#!ipxe + +echo ============================================= +echo Blancco PXE Debug Boot +echo ============================================= +echo + +echo [1/4] Network configuration... +dhcp || echo DHCP FAILED +echo MAC: ${net0/mac} +echo IP: ${net0/ip} +echo GW: ${net0/gateway} +echo DNS: ${net0/dns} +echo + +set server 172.16.9.1 + +echo [2/4] Testing HTTP connectivity... +imgfetch --name test http://${server}/blancco/config.img || echo HTTP FETCH FAILED +imgfree test +echo HTTP to ${server}: OK +echo + +echo [3/4] Loading kernel and initrd... +echo Fetching vmlinuz-bde-linux... +kernel http://${server}/blancco/vmlinuz-bde-linux initrd=initrd-combined.img archisobasedir=arch archiso_http_srv=http://${server}/blancco/ copytoram=y cow_spacesize=50% memtest=00 vmalloc=400M ip=dhcp libata.allow_tpm=1 modprobe.blacklist=iwlwifi,iwlmvm,btusb rd.udev.timeout=10 || goto failed +echo Kernel loaded OK. +echo +echo Fetching initrd-combined.img (43MB, may take a moment)... +initrd http://${server}/blancco/initrd-combined.img || goto failed +echo Initrd loaded OK. +echo + +echo [4/4] About to call boot command... +echo +echo !! Note the LAST kernel line visible before any freeze !! +echo +prompt Press any key to boot (or Ctrl-C for iPXE shell)... && goto doboot || shell + +:doboot +boot || goto failed + +:failed +echo +echo !! BOOT FAILED !! +echo +prompt Press any key for iPXE shell... +shell diff --git a/boot-tools/blancco/blancco.ipxe b/boot-tools/blancco/blancco.ipxe new file mode 100644 index 0000000..6510e0b --- /dev/null +++ b/boot-tools/blancco/blancco.ipxe @@ -0,0 +1,17 @@ +#!ipxe + +dhcp +set server 172.16.9.1 + +echo Loading Blancco kernel... +kernel http://${server}/blancco/vmlinuz-bde-linux initrd=initrd-combined.img archisobasedir=arch archiso_http_srv=http://${server}/blancco/ copytoram=y cow_spacesize=50% memtest=00 vmalloc=400M ip=dhcp libata.allow_tpm=1 modprobe.blacklist=iwlwifi,iwlmvm,btusb rd.udev.timeout=10 nomodeset || goto failed +echo Loading initrd (combined)... +initrd http://${server}/blancco/initrd-combined.img || goto failed +echo All files loaded. Booting now... +boot || goto failed + +:failed +echo +echo Blancco boot FAILED. +prompt Press any key to drop to iPXE shell... +shell diff --git a/boot-tools/blancco/grub-blancco.cfg b/boot-tools/blancco/grub-blancco.cfg index 72fcee3..8c3818b 100644 --- a/boot-tools/blancco/grub-blancco.cfg +++ b/boot-tools/blancco/grub-blancco.cfg @@ -3,22 +3,10 @@ set timeout=0 insmod efinet insmod net -insmod http insmod tftp net_bootp -# Blancco via Ubuntu-kernel switch_root. This is the cmdline that produces -# the slim Ubuntu-kernel-chain grubx64.efi. DO NOT flip this back to -# vmlinuz-bde-linux / archiso_http_srv / copytoram=y - that was the Apr-14 -# regression (commit d6776f7) that put us into Blancco's narrow-NIC-driver -# archiso path and hung on Dell Precision hardware. The Ubuntu kernel path -# with our verbose, full-drivers/net/-tree kexec-initrd.img is what works. -# -# kexec-initrd.img is built by the pxe_server_setup.yml "Build Blancco PXE -# initramfs" task (sweeps drivers/net/ + depmod). blancco-init.sh inside it -# handles the rest: modprobe all common NICs, DHCP, download airootfs.sfs, -# overlay mount, switch_root. menuentry "Blancco Drive Eraser" { - linux (http,10.9.100.1)/blancco/vmlinuz-ubuntu ip=dhcp - initrd (http,10.9.100.1)/blancco/kexec-initrd.img + linux (tftp,172.16.9.1)/blancco/vmlinuz-bde-linux archisobasedir=arch archiso_http_srv=http://172.16.9.1/blancco/ copytoram=y cow_spacesize=50% memtest=00 vmalloc=400M ip=dhcp libata.allow_tpm=1 modprobe.blacklist=iwlwifi,iwlmvm,btusb rd.udev.timeout=10 + initrd (tftp,172.16.9.1)/blancco/intel-ucode.img (tftp,172.16.9.1)/blancco/amd-ucode.img (tftp,172.16.9.1)/blancco/config.img (tftp,172.16.9.1)/blancco/initramfs-bde-linux.img }