1.22.2008

create virtual media iso file

the following was derived from http://www.docs.hp.com/en/5991-6250/ch04s01.html

create an ISO file suitable for EFI environment using the Virtual Media option on the HP BL860c blade servers

in linux:
create a boot image big enough to fit the files you want on the CD (5MB example):
dd if=/dev/zero of=/tmp/boot.img bs=1024 count=5000

make a fat file system on it:
mkfs.msdos /tmp/boot.img

mount it:
mount -o loop -t msdos /tmp/boot.img /tmp/bootcd

copy any files needed into the mount point (/tmp/bootcd)

unmount the device:
umount /tmp/bootcd

create the directory structure to hold the dos file system:
mkdir -p /tmp/isofolder/boot

copy boot.img to the directory created above

create the iso file:
mkisofs -o mynewiso.iso -b boot/boot.img -c boot/boot.cat -no-emul-boot /tmp/isofolder
(optional -J and -R, joliet and rock ridge extensions)

note: from the EFI, only the msdos file system (boot.img) will be usable, the rest of the image will only be fully usable once the OS boots.  (HP-UX only supports virtual media on 11.23 Dec 2007 and Higher)