Hi,
I'm trying to get cobbler to provision an HP firmware dvd. I've seen the
example shown on the github wiki but if it is possible to use NFS to do a
PXE boot to the share how much it is not possible to 'cobbler import' on a
loopback mounted iso of the dvd? or add the iso with 'cobbler image'.
Thanks in advance. Also asking around I've found that the kernel the HP
dvd is based off of is SLES 11.
--
Daniel S Kang
Gawker Media
m: (646)783-8835
im: kang(a)gawker.com
aim: fookkoof
Show replies by date
I have played with PXEing the HP firmware disk in the past, but gave up because it seems
they change the way it works every release.
In case it helps, here's some stuff I learned, though it may all be outdated (based
for 8.70).
- recent memdisk supports ISO's, so you could create a memdisk image and PXE that
- to make the updates run unattended, replace /mnt/cdrom/_autorun/bootar with the
following:
<add an IP somehow; I use `ip a a 192.168.254.101/24 dev eth0` (I haven't been
able to figure out DHCP in the disk yet)>
cd /mnt/cdrom/compaq/swpackages/
./hpsum /use_latest /use_web /romonly /inputfile /proc/self/fd/0
<<<'useproxyserver = 192.168.254.246:3128' /reboot /express_install
touch /tmp/__bootrun_complete__ # this makes the bootscripts reboot
In case you're obsessive like me, here's how to strip down the ISO (since you have
to rebuild it anyways to add the above):
[Note this creates a "direct" image, not a "memdisk" image]
ISO=${1:-}/export/iso/HPFWUP870idcrev2-1.iso
DESTDIR=/export/iso/HP-firmware
TMP=`mktemp -d`
mkdir -pv $TMP/mnt/cdrom/_autorun/
mount -oloop $ISO $TMP/mnt/cdrom
command cp -v $TMP/mnt/cdrom/system/vmlinuz $DESTDIR/
zcat $TMP/mnt/cdrom/system/initrd.img >$DESTDIR/initrd.img
(cd $TMP; find mnt/cdrom/{_autorun,compaq} -regextype posix-egrep ! -iregex
'.*(\.(exe|dll|jpg|png|htm|qm)|(HTMLFILES|CDBrowser).*|bootar|autorun_linux)'
|cpio -covAO $DESTDIR/initrd.img)
umount $TMP/mnt/cdrom
ln -s /usr/local/bin/hpfw.sh $TMP/mnt/cdrom/_autorun/bootar # this is the above script
(cd $TMP; cpio -cLovAO $DESTDIR/initrd.img <<<mnt/cdrom/_autorun/bootar)
rm -rf $TMP
From: cobbler-bounces(a)lists.fedorahosted.org
[mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Daniel Kang
Sent: Monday, January 16, 2012 6:08 PM
To: cobbler(a)lists.fedorahosted.org
Subject: Cobbler PXE with HP firmware dvd 9.30
Hi,
I'm trying to get cobbler to provision an HP firmware dvd. I've seen the example
shown on the github wiki but if it is possible to use NFS to do a PXE boot to the share
how much it is not possible to 'cobbler import' on a loopback mounted iso of the
dvd? or add the iso with 'cobbler image'. Thanks in advance. Also asking around
I've found that the kernel the HP dvd is based off of is SLES 11.
--
Daniel S Kang
Gawker Media
m: (646)783-8835
im: kang@gawker.com<mailto:kang@gawker.com>
aim: fookkoof
*******************************************************
This message (including any files transmitted with it) may contain confidential and/or
proprietary information, is the property of Interactive Data Corporation and/or its
subsidiaries, and is directed only to the addressee(s). If you are not the designated
recipient or have reason to believe you received this message in error, please delete this
message from your system and notify the sender immediately. An unintended recipient's
disclosure, copying, distribution, or use of this message or any attachments is prohibited
and may be unlawful.
*******************************************************