Create the logical volume. Assume
that the logical volume that will be used is /dev/vg00/image, and it is mounted at /var/tmp/image. Also assume that an HFS file system will be used. Using
HFS and standard HP-UX commands, create the logical volume (assume
everything fits in 500 MB):
lvcreate -L 500 -n image vg00
newfs -F hfs -f 2048 /dev/vg00/rimage
mkdir -p /var/tmp/image
mount /dev/vg00/image /var/tmp/image
For CDFS file systems there are similar commands. Check the
software supplier documentation.
Access a CD-ROM Archive. The
file system in the logical volume will contain both the archives
and the depots. Place the archives in the CD-ROM image by copying
them into the file system just created:
cp /var/tmp/archive_700.gz /var/tmp/image
cp /var/tmp/archive_800.gz /var/tmp/image
Creating config file information for
the archives is similar to what was done for the DDS tape. Start
with a new copy of /opt/ignite/data/examples/core.cfg in /var/tmp/archive.cfg
To modify the config file to access the Series 700 archive,
the following attributes need to be changed in /var/tmp/archive.cfg in the sw_source core archive stanza:
Table 10-6 Title not available (Building
an Install CD-ROM)
| Attribute | Old Value | New Value |
|---|
| source_type | NET | DSK |
| change_media | #change_media=FALSE | change_media=FALSE |
| nfs_source | nfs_source=IP:depot | #nfs_source:IP:depot |
These changes will modify the source type from a network (NET) access to CD-ROM (DSK). The other changes are as described before.
Inside the stanza enabled by HARDWARE_MODEL ~ 9000/7.* the following fields must be changed:
Table 10-7 Title not available (Building
an Install CD-ROM)
| Attribute | Old Value | New Value |
|---|
| archive_path | B.10.20_700_CDE.gz | archive_700.gz |
| impacts | / 27KB | (as reported by archive_impact) |
The change in archive_path indicates that the archive will be found in the
pseudo-root of the CD-ROM in a file called archive_700.gz . Ignite-UX will prepend the mount point it uses
to access the archive. As before, the correct set of impacts lines
need to be included.
Again you can change the sw_sel and description strings to something more descriptive and applicable
to your situation. The text inside the double quotes can be changed
to whatever you like. Note that archive_type must match what was done by make_sys_image.
Delete the entire stanza called golden image2 again.
In the stanza for the Series 800 (it is an else clause
later in the file) the same sort of changes must be made. These
attributes need to change:
Table 10-8 Title not available (Building
an Install CD-ROM)
| Attribute | Old Value | New Value |
|---|
| archive_path | B.10.20_700_CDE.gz | archive_800.gz |
| impacts | / 27KB | (as reported by archive_impact) |
The change in archive_path indicates that the archive will be found in the
pseudo-root of the CD-ROM in a file called archive_800.gz. Ignite-UX prepends the mount point it uses to
access the archive. As before, the correct set of impacts lines need to be included. It cannot be emphasized
enough not to change anything else in the file.
Create and Access the CD-ROM Depot. Tape
is restricted to a single depot. That restriction does not apply
to a CD-ROM. However, we will use a single depot for simplicity
sake. Create the depot using swcopy to a target in the logical volume:
swcopy -s /var/tmp/depot \* @ /var/tmp/image/depot
Once again, use make_config to create the start of the config files for the depot:
make_config -s /var/tmp/depot -a 700 -c /var/tmp/depot_700_cfgmake_config -s /var/tmp/depot -a 800 -c /var/tmp/depot_800_cfg
Edit config Files. Since the
SD server is the system that is being installed, remove this attribute.
Change both config files by removing this attribute line:
sd_server=IP_address
Change these attributes in both files:
Table 10-9 Title not available (Building
an Install CD-ROM)
| Attribute | Old Value | New Value |
|---|
| source_type | NET | DSK |
| sd_depot_dir | var/tmp/depot | depot |
The change to source_type indicates that the depot is located on a CD-ROM
instead of over the network. The change in sd_depot_dir indicates that the depot will be found in the
pseudo-root of the CD-ROM in a depot called depot. Ignite-UX prepends the mount point it uses to access
the depot.
Assemble the CD-ROM. The raw
file system just created must be copied into a regular file so it
can be written to the CD:
umount /var/tmp/imagedd if=/dev/vg00/rimage of=/var/tmp/fs_image bs=1024k
Create the LIF Volume. Now that
most of the components of the CD-ROM are complete, use make_medialif to create the LIF volume:
make_medialif -f /opt/ignite/data/Rel_B.10.20/config \
-f /var/tmp/archive.cfg -f /var/tmp/depot_700_cfg \
-f /var/tmp/depot_800_cfg -l /var/tmp/lifvol
This creates the LIF volume that includes all the configuration information.
It includes the defaults Ignite-UX provides and provides the access
to the archives and the depot.
Modify INSTALLFS Config. Change
configuration information in INSTALLFS. To set run_ui and control_from_server variables using instl_adm to TRUE and FALSE, respectively, based on our scenario:
instl_adm -d -F /var/tmp/lifvol > /var/tmp/cfg
vi /var/tmp/cfg #Add/change the two variables
instl_adm -T -F /var/tmp/lifvol #Check syntax
instl_adm -d -F /var/tmp/lifvol #Verify changes
These two objects (the raw file system and the LIF volume)
must be combined using instl_combine. The result is a single file with the LIF volume wrapped
around the file system, which can then be written to the CD:
/opt/ignite/lbin/instl_combine -F /var/tmp/lifvol \
-C /var/tmp/fs_image
Complete the CD config. Using
your CD-ROM writer software, copy /var/tmp/fs_image to the CD.