
138 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
8.1 Installing the golden image
In this section, you will install the RHEL 6 golden image under the RH6GOLD user ID.
8.1.1 Creating the RH6GOLD user ID
In this section, you define the RH6GOLD user ID to z/VM.
Perform the following steps:
1. Log on to MAINT and edit the USER DIRECT file:
==> x user direct c
2. Go to the bottom of the file and add the definition for a new user ID named RH6GOLD.
This user ID is given class G privileges only. Be sure to replace the volume labels
(UM3F06 and UM63A9 in this example) with the labels of your DASD:
USER RH6GOLD 256M 1G G
INCLUDE LNXDFLT
OPTION LNKNOPAS APPLMON
MDISK 100 3390 0001 3338 UM63A2 MR LNX4VM LNX4VM LNX4VM
MDISK 101 3390 0001 3338 UM63A9 MR LNX4VM LNX4VM LNX4VM
*
This Linux user ID ha the minidisks and virtual disks (VDISKs) shown in Table 8-1.
Table 8-1 Minidisks to be defined
3. Go back to the top of the file and search for the USER $ALLOC$ string. Add cylinder 0 of the
new volume (or volumes) to this dummy user ID so these volumes do not show up as gaps
in the USER DISKMAP report file. In this example, one new volume is being used, that is,
UM63A9:
====> top
====> /user $alloc$
USER $ALLOC$ NOLOG
MDISK A01 3390 000 001 610RES R
MDISK A02 3390 000 001 UV6283 R
MDISK A03 3390 000 001 UV6284 R
MDISK A04 3390 000 001 UM6289 R
MDISK A05 3390 000 001 UM6290 R
MDISK A06 3390 000 001 UM6293 R
MDISK A07 3390 000 001 UM6294 R
MDISK A08 3390 000 001 UM63A2 R
MDISK A09 3390 000 001 UM63A9 R
...
====> file
Minidisk Description
100-101 Minidisks used to create the root file system, plus a logical volume containing
the other file systems of the Linux golden image.
300-301 These are virtual disk (VDISK) swap spaces that are not defined in the USER
DIRECT file, but defined by calls to the SWAPGEN EXEC file in the user’s PROFILE
EXEC file so that when the user ID logs on the VDISKs are created.
Commenti su questo manuale