Ignite-UX Reference (March 2010, B3921-90005)
instl_combine(1M) instl_combine(1M)
International Code Set Support
Ignite-UX uses a variety of system commands to accomplish its functionality. Because the output of many
of these commands is parsed, Ignite-UX ensures that the POSIX locale is normally used by modifying envi-
ronment variables. Help text and some command output not parsed by Ignite-UX will be left in the 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 writ-
ers 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 fea-
ture (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
2