Ignite-UX Reference (March 2010, B3921-90005)
make_medialif(1M) make_medialif(1M)
may be helpful to test the image before writing it to CD.
Example 4
To create a boot LIF image (as in Example 2) with an archive on a B.11.23 client for a B.11.11 client, you
would execute the following command:
make_medialif -f /opt/ignite/data/Rel_B.11.11/config
-f /home/root/config_cd -r B.11.11 -l /home/root/uxinstlf_cd
All subsequent commands in Example 2 should be executed.
Example 5
Create a boot LIF image (as in Example 2) with a software depot that is to be included on the media.
Assume that the software depot has been created and is located in /var/depots/source.
There must be a file that describes the content of this depot. Create the configuration file for
/var/depots/source in /home/root/source_cfg:
make_config -s /var/depots/source -c /home/root/source_cfg
In the sw_source section of /home/root/source_cfg, remove the sd_server and sd_depot_dir
lines, and change the source_type from "NET" to "MT". Package the depot into a serial depot in
/var/tmp/serialdepot. It is possible to use swpackage to write directly to the tape and avoid this step if
disk space is low, but in most cases using an intermediate serial depot may be easier:
swpackage -s /var/depots/source -x target_type=tape
@ /var/tmp/serialdepot
On DDS media, the depot must be the third file on the tape. Note that a single archive may come before the
depot, and any number of archives may come after the depot with each one referenced by an appropriate
archive_path in a unique sw_sel in a configuration file, subject to tape capacity. If multiple operat-
ing system archives are put onto a single medium, it is advisable to use an exrequisite attribute in the
sw_sel so that only one archive is selected. Also, note that in order to interactively select bundles to
load from the depot, the variables run_ui and control_from_server must be correctly set (see
Example 6). Use make_medialif to create the LIF header and include the new configuration file for
the depot:
make_medialif -f /opt/ignite/data/Rel_B.11.23/config
-f /home/root/source_cfg -f /home/root/config_dds
-l /home/root/uxinstlf_dds
Then create the DDS medium with 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
dd if=/var/tmp/serialdepot of=/dev/rmt/c0t3d0DDS1n obs=10k
mt -t /dev/rmt/c0t3d0DDS1n rew
Example 6
To create a bootable DDS medium that allows the installation of a configuration defined on an Ignite-UX
server, for example the "HP-UX B.11.11 Default" 64-bit capable configuration, you would
execute the following command:
make_medialif -c "HP-UX B.11.11 Default"-rB.11.11 -o 64v
-l /home/root/uxinstlf
Note that the installation proceeds according to how the variables run_ui and con-
trol_from_server are set in the INSTALLFS or WINSTALLFS (if this is a 64-bit image) files. For
example, if a completely unattended installation is desired with a window of opportunity to interrupt the
process, these variables must be set:
run_ui=false
control_from_server=false
5