Saturday, October 26, 2013

HP 10.10 DVD Network boot

Here is my entry for my pxe menu

MENU LABEL 6)  Automatic Firmware Update Version 10.10
KERNEL /hpcd/10v/vmlinuz
APPEND initrd=/hpcd/10v/hpfw-1010-initrd.img media=net rw root=/dev/ram0 d3bug ramdisk_size=782392 init=/bin/init loglevel=3 ide=nodma ide=noraid nopat pnpbios=off vga=791 splash=silent hp_fibre showopts noexec32=off numa=off nox2apic TYPE=AUTOMATIC iso1=nfs://IP/exports/hp/FW1010.iso iso1mnt=/mnt/bootdevice pci=bfsort

To fix the initrd

mkdir /tmp/initrd.fix
cd /tmp/initrd.fix
gunzip -c /data/kickstart/images/hpfw-1010/system/initrd.img | cpio -i
sed -i 's/NET_MODULES=.*$/NET_MODULES="e100 e1000 igb qlcnic tg3 bnx2 bnx2x"/' etc/initrd.functions
sed -i 's/dhcpcd -t 45/dhcpcd -L -t 30/' sbin/
find . | cpio  --create --'format=newc'  | gzip > /data/kickstart/tftpboot/hpfw-1010-initrd.img

info from here

Here is a copy of the hpfw-1010-initrd.img patched

No comments: