System information
26 Sharing and maintaining SLES 10 SP2 Linux under z/VM
...
ftp> put PROFILE.EXEC
...
ftp> put PROFILE.XEDIT
...
ftp> quit
1.5.4 Installing SLES 10 SP2 Linux
Linux is installed twice:
1. Onto the golden image (S10RWMNT) which will be the system that is cloned
2. Onto a worker system (LNXCLONE) which will be used for running Linux scripts
Installing SLES 10 SP2 onto S10RWMNT
This section does not supply every detail on installing Linux. For more details, see the IBM
Redbook z/VM and Linux on IBM System z The Virtualization Cookbook for SLES 10 SP2,
SG24-7493, on the Web at:
http://www.redbooks.ibm.com/abstracts/sg247493.html
The kernel and RAMdisk are copied by means of FTP to the CMSCLONE 192 disk. Do not forget
to transfer them in binary mode, with fixed-record 80 byte blocks. If you are FTPing from a
Linux or UNIX server to z/VM, this can be accomplished by the FTP subcommand bin fix
80. If you are FTPing from a Windows machine, this can be accomplished by the FTP
subcommands bin and quote site fix 80.
Following is a sample FTP session of SLES 10 SP2 kernel and RAMdisk from the installation
media to the CMSCLONE 192 disk. In this example the IP address of the z/VM system is
9.60.18.218:
# cd /nfs/sles10sp2/dvd/boot
# ftp 9.60.18.218
Name (9.60.18.218:root): cmsclone
Password:
ftp> cd cmsclone.192
ftp> bin
200 Representation type is IMAGE.
ftp> site fix 80
200 Site command was accepted.
ftp> put vmrdr.ikr sles10s2.kernel
...
ftp> put initrd sles10s2.initrd
...
ftp> quit
The S10RWMNT PARM-S10 file is configured with the correct IP and DNS information on the
CMSCLONE 192 disk.
The S10RWMNT virtual machine is logged onto. Because 256MB is not sufficient memory with
which to install SLES, the machine size is increased to 512MB by the CP command DEF STOR
512M. Then CMS is re-IPLed and the installation process is started with the SLES10S2 EXEC.
Following is an example:
==> def stor 512m
00: STORAGE = 512M
00: Storage cleared - system reset.
==> ipl cms
z/VM V5.4.0 2008-12-05 12:25