Friday, March 1, 2013

How to create an Ignite Boot helper DVD from ISO


For two step booting (as was previously required for Itanium systems) use the following command:

/opt/ignite/data/scripts/examples/make_media_install -r B.11.31 -m/var/opt/ignite/bryan

NOTE:  Be sure you have enough room in the -m (Media Directory) that you intend to write to.(You can also specify -r as B.11.23 for example)

CAUTION:  Be sure to create this on a system that has the same version of Ignite-UX as you intend to use for the recovery... whether that be from tape or from an Ignite server using make_net_recovery.

This will create the ISO file, and burn it if you have a DVD-RW, but you can transfer this ISO image file to your PC to burn it from here if you do not have a DVD-RW connected to your HP-UX Unix System.

Output will look like this:
/opt/ignite/data/scripts/examples/make_media_install -r B.11.31 -m /var/opt/ignite/bryan

WARNING: Non-default -m option value specified along with default -p option value; the default directory could run out of disk space, should both options be given?
=== Step 1: Make Ignite-UX config files for golden image archive(s) ===
=== Step 2: Copy SD depot(s) and make config files for them ===
=== Step 3: Make a boot-image (LIF volume) ===
+ /opt/ignite/bin/make_medialif -a -r B.11.31 -f /opt/ignite/data/Rel_B.11.31/config -l /var/opt/ignite/media/pseudo_root/bootvol.lif
+ /opt/ignite/bin/instl_adm -b -F /var/opt/ignite/media/pseudo_root/bootvol.lif
=== Step 4: Make ISO media image ===
+ cp -p /opt/ignite/boot/Rel_B.11.31/EFI_CD_image /var/opt/ignite/media/pseudo_root
+ /opt/ignite/lbin/mkisofs -U -max-iso9660-filenames -no-emul-boot -b EFI_CD_image -R -eltorito-alt-boot -no-emul-boot -b bootvol.lif -o /var/opt/ignite/bryan/image.iso /var/opt/ignite/media/pseudo_root
Warning: creating filesystem that does not conform to ISO-9660.
Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the OS.
Size of boot image is 10240 sectors -> No emulation
Size of boot image is 995440 sectors -> No emulation
  1.99% done, estimate finish Fri Mar  1 17:59:04 2013
  3.98% done, estimate finish Fri Mar  1 17:59:29 2013
  5.96% done, estimate finish Fri Mar  1 17:59:37 2013
  7.95% done, estimate finish Fri Mar  1 17:59:41 2013
  9.94% done, estimate finish Fri Mar  1 17:59:44 2013
 11.93% done, estimate finish Fri Mar  1 17:59:37 2013
 13.91% done, estimate finish Fri Mar  1 17:59:32 2013
 15.90% done, estimate finish Fri Mar  1 17:59:29 2013
 17.89% done, estimate finish Fri Mar  1 17:59:26 2013
 19.88% done, estimate finish Fri Mar  1 17:59:29 2013
 21.86% done, estimate finish Fri Mar  1 17:59:26 2013
 23.85% done, estimate finish Fri Mar  1 17:59:29 2013
 25.84% done, estimate finish Fri Mar  1 17:59:27 2013
 27.83% done, estimate finish Fri Mar  1 17:59:25 2013
 29.81% done, estimate finish Fri Mar  1 17:59:27 2013
 31.80% done, estimate finish Fri Mar  1 17:59:26 2013
 33.79% done, estimate finish Fri Mar  1 17:59:27 2013
 35.78% done, estimate finish Fri Mar  1 17:59:29 2013
 37.76% done, estimate finish Fri Mar  1 17:59:27 2013
 39.75% done, estimate finish Fri Mar  1 17:59:29 2013
 41.74% done, estimate finish Fri Mar  1 17:59:30 2013
 43.73% done, estimate finish Fri Mar  1 17:59:29 2013
 45.71% done, estimate finish Fri Mar  1 17:59:30 2013
 47.70% done, estimate finish Fri Mar  1 17:59:31 2013
 49.68% done, estimate finish Fri Mar  1 17:59:32 2013
 51.67% done, estimate finish Fri Mar  1 17:59:31 2013
 53.66% done, estimate finish Fri Mar  1 17:59:31 2013
 55.65% done, estimate finish Fri Mar  1 17:59:30 2013
 57.63% done, estimate finish Fri Mar  1 17:59:31 2013
 59.62% done, estimate finish Fri Mar  1 17:59:32 2013
 61.61% done, estimate finish Fri Mar  1 17:59:33 2013
 63.60% done, estimate finish Fri Mar  1 17:59:32 2013
 65.58% done, estimate finish Fri Mar  1 17:59:32 2013
 67.57% done, estimate finish Fri Mar  1 17:59:33 2013
 69.56% done, estimate finish Fri Mar  1 17:59:34 2013
 71.55% done, estimate finish Fri Mar  1 17:59:33 2013
 73.53% done, estimate finish Fri Mar  1 17:59:33 2013
 75.52% done, estimate finish Fri Mar  1 17:59:34 2013
 77.51% done, estimate finish Fri Mar  1 17:59:34 2013
 79.50% done, estimate finish Fri Mar  1 17:59:34 2013
 81.48% done, estimate finish Fri Mar  1 17:59:34 2013
 83.47% done, estimate finish Fri Mar  1 17:59:35 2013
 85.46% done, estimate finish Fri Mar  1 17:59:35 2013
 87.45% done, estimate finish Fri Mar  1 17:59:34 2013
 89.43% done, estimate finish Fri Mar  1 17:59:35 2013
 91.42% done, estimate finish Fri Mar  1 17:59:35 2013
 93.40% done, estimate finish Fri Mar  1 17:59:35 2013
 95.40% done, estimate finish Fri Mar  1 17:59:35 2013
 97.38% done, estimate finish Fri Mar  1 17:59:35 2013
 99.37% done, estimate finish Fri Mar  1 17:59:36 2013
Total translation table size: 2048
Total rockridge attributes bytes: 846
Total directory bytes: 4096
Path table size(bytes): 40
Max brk space used f000
251599 extents written (491 MB)
=== Step 5: Combine LIF volume and media image ===
+ /opt/ignite/lbin/instl_combine -C /var/opt/ignite/bryan/image.iso
El Torito offset for LIF volume is: 0x50e800
Adjusting LIF file: ISL (Old iplstart: 4096; New iplstart: 5306368)
Adjusting LIF file: AUTO
Adjusting LIF file: INDEX
Adjusting LIF file: CONFIG
Adjusting LIF file: HPUX
Adjusting LIF file: FWWKAR6
Adjusting LIF file: FWWKAR7
Adjusting LIF file: FWWKAR8
Adjusting LIF file: WINSTALL
Adjusting LIF file: WINSTALLFS
Adjusting LIF file: IINSTALL
Adjusting LIF file: IINSTALLFS
Adjusting LIF file: INSTCMDS
Adjusting LIF file: SYSCMDS
Adjusting LIF file: INSTCMDSIA
Adjusting LIF file: SYSCMDSIA
Adjusting LIF file: SCRIPTS
Adjusting LIF file: PAD
=== Step 6: Write image file to tape/CD/DVD media ===
+ /opt/ignite/lbin/growisofs -Z /dev/rdsk/c0t0d0=/var/opt/ignite/bryan/image.iso
:-( "/dev/rdsk/c0t0d0=/var/opt/ignite/bryan/image.iso": unexpected errno:No such file or directory
+ Error 83 /opt/ignite/lbin/growisofs failed.
/opt/ignite/data/scripts/examples/make_media_install: ERROR: /opt/ignite/lbin/growisofs failed.
# cd /var/opt/ignite/bryan
# ls -l
total 1006414
drwxr-xr-x   3 root       sys             96 Mar  1 17:59 .
drwxr-xr-x  15 root       sys           1024 Mar  1 17:57 ..
drwxr-xr-x   2 root       sys             96 Mar  1 17:57 cfgs
-rw-r--r--   1 root       sys        515274752 Mar  1 17:59 image.iso

This is the image.iso file you will need.