Ignite-UX Reference (March 2010, B3921-90005)
make_medialif(1M) make_medialif(1M)
INSTALLFS is a symbolic link to INSTALLFS, this is preserved in the LIF
volume. This option cannot be combined with any of −f, −c, −C, −a, −s,or
−S.
-? Displays the usage text.
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.
RETURN VALUE
The make_medialif command returns 0 upon successful completion of the task, 1 upon issuing a
usage message, or 2 upon any other error.
EXAMPLES
Example 1
Create a boot LIF image using the configuration file /home/root/myconfig and place it in
/home/root/uxinstlf:
make_medialif -f /home/root/myconfig -l /home/root/uxinstlf
Example 2
To create a golden image operating system archive entitled /var/tmp/myimage.gz, possibly built with
make_sys_image (a gzip’ed tar archive of a B.11.23 system) on a bootable, installable DDS tape
medium to automatically load the archive. First create a file based upon the template file
/opt/ignite/data/examples/core.cfg:
cp /opt/ignite/data/examples/core.cfg /home/root/config_dds
chmod u+w /home/root/config_dds
In /home/root/config_dds comment out all the nfs_source, ftp_source and remsh_source
lines, and then change or uncomment the following objects:
software object field value
source_type "MT"
source_format ARCHIVE
load_order 0
sw_source
change_media FALSE
sw_source label of above sw_source
archive_path "1"
archive_type gzip tar
sw_sel
impacts as returned by archive_impact
Then create a LIF header that combines this information with the default configuration as follows:
make_medialif -f /opt/ignite/data/Rel_B.11.23/config
Finally, create a bootable installation DDS medium using the image created above by putting a DDS1 den-
sity, no-rewind and no-compression, writable DDS tape in the /dev/rmt/c0t3d0DDS1n drive, and
executing the following commands:
mt -t /dev/rmt/c0t3d0DDS1n rew
dd if=/home/root/uxinstlf_dds of=/dev/rmt/c0t3d0DDS1n obs=2k
dd if=/var/tmp/myimage.gz of=/dev/rmt/c0t3d0DDS1n obs=10k
mt -t /dev/rmt/c0t3d0DDS1n rew
Note that the obs argument in the second dd command should be 5120 if the archive is cpio format.
Example 3
To create a boot LIF image (as in Example 2) with a CD rather than a DDS tape, create a file based upon
the template file /opt/ignite/data/examples/core.cfg, and execute the following commands:
3