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) <noreply@anthropic.com>
This commit is contained in:
14
boot-tools/blancco/blancco-chain.ipxe
Normal file
14
boot-tools/blancco/blancco-chain.ipxe
Normal file
@@ -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
|
||||||
48
boot-tools/blancco/blancco-debug.ipxe
Normal file
48
boot-tools/blancco/blancco-debug.ipxe
Normal file
@@ -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
|
||||||
17
boot-tools/blancco/blancco.ipxe
Normal file
17
boot-tools/blancco/blancco.ipxe
Normal file
@@ -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
|
||||||
@@ -3,22 +3,10 @@ set timeout=0
|
|||||||
|
|
||||||
insmod efinet
|
insmod efinet
|
||||||
insmod net
|
insmod net
|
||||||
insmod http
|
|
||||||
insmod tftp
|
insmod tftp
|
||||||
net_bootp
|
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" {
|
menuentry "Blancco Drive Eraser" {
|
||||||
linux (http,10.9.100.1)/blancco/vmlinuz-ubuntu ip=dhcp
|
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 (http,10.9.100.1)/blancco/kexec-initrd.img
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user