110 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
perform an IPL of the reader. A sample RHEL 6 parameter file, configuration file, and
installation EXEC are supplied and should be on the LNXMAINT 192 disk (this task is
described in 4.7.5, “Copying the files associated with this book to LNXMAINT” on page 61).
Therefore, only the kernel and RAM disk need to be copied.
Perform the following steps:
1. Start an SSH session as root on the NFS server.
2. Use the ftp command to copy the RHEL 6 kernel and initial RAM disk to the LNXMAINT D
disk. These files must have a record format of fixed 80 byte records. This format can be
set by running the site fix 80 FTP subcommand (if this subcommand fails, try quote site
fix 80). Here is an example:
# cd /nfs/rhel6/dvd1/images
# ftp 9.60.18.249
Name (9.60.18.249:root): lnxmaint
Password:
230 LNXMAINT logged in; working directory = LNXMAINT 191
Remote system type is z/VM.
ftp> cd lnxmaint.192
250 Working directory is LNXMAINT 192
ftp> site fix 80
200 Site command was accepted.
ftp> bin
200 Representation type is IMAGE.
ftp> put initrd.img rhel6.initrd
...
23651842 bytes sent in 00:01 (11.34 MB/s)
ftp> put kernel.img rhel6.kernel
...
8016384 bytes sent in 00:01 (6.01 MB/s)
ftp> quit
3. Go back to your 3270 session. Log off of MAINT and log on to LNXMAINT.
4. The SAMPLE PARM-RH6, SAMPLE CONF-RH6, and RHEL6 EXEC files should be on the
LNXMAINT 192 (D) disk, as they were copied in 4.7.5, “Copying the files associated with
this book to LNXMAINT” on page 61. Use the FILELIST command to verify that the files
were copied, and that the kernel and initial RAM disk were copied in fixed 80 byte record
format. You should see the following files (the number of records and blocks may vary):
==> filel * * d
LNXMAINT FILELIST A0 V 169 Trunc=169 Size=10 Line=1 Col=1 Alt=0
Cmd Filename Filetype Fm Format Lrecl Records Blocks Date Time
RHEL6 EXEC D1 V 69 10 1 9/23/10 12:55:22
RHEL6 KERNEL D1 F 80 100205 1642 9/23/10 12:52:07
RHEL6 INITRD D1 F 80 295649 5775 9/23/10 12:51:29
CHPW610 XEDIT D1 V 72 190 3 9/23/10 9:13:31
CPFORMAT EXEC D1 V 79 252 3 9/23/10 9:13:31
PROFILE EXEC D1 V 63 17 1 9/23/10 9:13:31
SAMPLE CONF-RH6 D1 V 38 13 1 9/23/10 9:13:31
SAMPLE PARM-RH6 D1 V 80 3 1 9/23/10 9:13:31
SWAPGEN EXEC D1 V 72 467 6 9/23/10 9:13:31
PROFILE XEDIT D1 V 45 17 1 9/23/10 8:41:19
5. Quit by pressing F3.
Commenti su questo manuale