make_medialif.1m (2012 03)

m
make_medialif(1M) make_medialif(1M)
mt -t /dev/rmt/c0t3d0DDS1n rew
dd if=/home/root/uxinstlf_dds
of=/dev/rmt/c0t3d0DDS1n obs=2k
mt -t /dev/rmt/c0t3d0DDS1n eof
dd if=/var/tmp/serialdepot
of=/dev/rmt/c0t3d0DDS1n obs=10k
mt -t /dev/rmt/c0t3d0DDS1n rew
Example 9
To load both the core operating system (one or more
HPUXEnvironment
bundles) and standard appli-
cations, it is best to have separate configuration files. Some applications do not load correctly at
load_order 0 with the core operating system. So assume you also have additional applications to load
in the depot /var/depots/apps. Use
make_config to create a separate configuration file for the appli-
cations depot as in Example 5. Create the LIF header using both of those configuration files:
make_medialif -f /opt/ignite/data/Rel_B.11.23/config
-f /home/root/core_cfg
-f /home/root/apps_cfg
-l /home/root/uxinstlf_dds
Now, combine the core and applications depots into a single global depot and create a serial depot:
swcopy -s /var/depots/core \* @ /var/depots/global
swcopy -s /var/depots/apps \* @ /var/depots/global
swpackage -s
/var/depots/global
-x target_type=tape
@ /var/tmp/serialdepot
Combine the DDS medium:
mt -t /dev/rmt/c0t3d0DDS1n rew
dd if=/home/root/uxinstlf_dds
of=/dev/rmt/c0t3d0DDS1n obs=2k
mt -t /dev/rmt/c0t3d0DDS1n eof
dd if=
/var/tmp/serialdepot
of=/dev/rmt/c0t3d0DDS1n obs=10k
mt -t /dev/rmt/c0t3d0DDS1n rew
Example 10
On a B.11.23 operating system, create a minimal boot image for a B.11.11 64w-bit system with the
-m,
-r and -o options:
make_medialif -r B.11.11 -o 64w -m -l /tmp/lif_test
lifls -l /tmp/lif_test
This will list the contents:
volume ISL10 data size 960926 directory size 3 04/06/30 13:59:56
filename type start size implement created
=====================================================
ISL -12800 16 242 0 04/06/30 13:59:56
AUTO -12289 264 1 0 04/06/30 13:59:56
HPUX -12928 272 1024 0 04/06/30 13:59:56
WINSTALL -12290 1296 83837 0 04/06/30 14:00:03
WINSTALLFS -12290 85136 49152 0 04/06/30 14:00:06
PAD BIN 134288 256 0 04/06/30 14:00:06
Example 11
On a B.11.11 operating system, create a boot image that includes all boot kernels, file systems and all
commands under
/opt/ignite/boot/Rel_B.11.11:
make_medialif -a -r B.11.11 -c "HP-UX B.11.11 Default"\
-l /tmp/lif_test
lifls -l /tmp/lif_test
This will list the contents:
volume ISL10 data size 960926 directory size 3 04/06/30 13:50:25
filename type start size implement created
===============================================================
ISL -12800 16 242 0 04/06/25 09:09:08
AUTO -12289 16 1 0 04/06/25 09:09:08
INDEX BIN 24 1 0 04/06/25 09:09:08
CONFIG BIN 32 410 0 04/06/25 09:09:08
HP-UX 11i Version 3: March 2012 − 7 − Hewlett-Packard Company 7