instl_combine.1m (2012 03)

i
instl_combine(1M) instl_combine(1M)
user’s specified locale.
EXAMPLES
Example 1
Create a bootable PA-RISC Ignite-UX LIF image specifying the configuration that has been created on the
server especially for use with the CD. See make_medialif(1M) and instl_adm (4) for details on modifying
the configuration files for use with CD/disk media.
make_medialif -c "B.11.23 CD cfg"-rB.11.23 -l /var/tmp/ilif
Example 2
Create an HFS file system image for PA-RISC that contains the archive entitled myarchive.gz , then use
instl_combine
to combine the LIF file created above with the file system image. Note that a 2KB (or
a multiple of 2KB) fragment size is required for a CD device.
lvcreate -L 550 -n myvol vg00
newfs -F hfs -f 2048 /dev/vg00/rmyvol
mkdir /mnt
mount /dev/vg00/myvol /mnt
cp myarchive.gz /mnt/myarchive.gz
umount /mnt
dd if=/dev/vg00/rmyvol of=/var/tmp/fs_image bs=1024k
/opt/ignite/lbin/instl_combine -F /var/tmp/ilif -C /var/tmp/fs_image
Example 3
Create an ISO9660 format CD/DVD image (that may be greater than 2GB in size) using the open source
mkisofs utility: (the /var/tmp/ilif file is the result of running
make_medialif as shown above).
Step 1: Create a pseudo-root directory containing the files to be copied to the CD/DVD file system.
For example:
mkdir /var/tmp/cdroot
cp goldenimage.tar.gz /var/tmp/cdroot
Step 2: Copy the LIF_volume created by
make_medialif
into the pseudo root:
cp /var/tmp/ilif /var/tmp/cdroot/ilif
Step 3: Run
mkisofs to create the file system image and save it in the file: /var/tmp/cdfs.iso .
Note that even with the
-U, -max-iso9660-filenames
, and -D options, there are
limitations to the lengths of file names, etc. See mkisofs(8) for details.
mkisofs -U -max-iso9660-filenames -D \
-o /var/tmp/cdfs.iso \
-b ilif -no-emul-boot /var/tmp/cdroot
Step 4: Run instl_combine
to relocate the LIF header to the beginning of the ISO9660 image:
instl_combine -C /var/tmp/cdfs.iso
Step 5: Write the /var/tmp/cdfs.iso image as a raw file using open source software such as
cdrecord or software that is supplied with CD/DVD writers. If a PC is used to write the
image to media, be aware that not all software that comes with CD/DVD writers support
writing a raw image. If this is the case, obtain a different application. The "Adaptec" (tm)
"Easy CD Creator" (tm) application is one application that has this feature (use the "File-
>Create CD from CD Image" menu).
Note: The DVD created in this example will only work on PA-RISC systems as it has not been
created in El-Torito format.
Example 4
Create an Ignite-UX LIF image suitable for use on Itanium-based architecture systems. Note that
make_medialif by default creates a LIF_volume that matches the system on which the command is
run. This example works even when run on a PA-RISC system to create media for an B.11.23 Itanium-
based system, but requires specifying the -o ipf -r B.11.23 options.
make_medialif -c "B.11.23 CD cfg"-oipf -r B.11.23 \
-l /var/tmp/IPF.lif
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: March 2012