Red Hat Linux 7.1: The Official Red Hat Linux zSeries Installation Guide | ||
---|---|---|
Prev | Chapter 2. Steps to Get You Started | Next |
Log onto VM as the user maintaining Linux installations. You can use x3270 or c3270 (from the x3270-text package in Red Hat Linux) to log in to VM from other Linux systems. Alternatively, use the OS/2 3270 terminal emulator on the s390 management console. If you are working from a Windows based machine, Jolly Giant (http://www.jollygiant.com) has a decent SSL enabled 3270 emulator.
If you aren't already in CMS mode, enter it now.
i cms |
FTP to the machine containing the Red Hat Linux boot images, log in, and execute the following commands:
Note | |
---|---|
If you are using the OCO driver modules, be sure to copy the initrd64.bin modified by the prepinitrd script from the RedHat/Drivers/ directory instead of the one in images/ to the host machine. |
cd /where/the/boot/images/are
locsite fix 80
bin
get vmkrnl64.bin (repl
get initrd64.bin (repl
ascii
mget *.parm redhat.* (repl
quit
You may now customize the parameter file (inst64.parm). See Appendix B for several examples of parm files. Below is an explanation of the parm file contents.
Note | |
---|---|
The limit on the parameters in the parm file is a max of 9 (nine). All others supplied parameters will not be set by the boot kernel, thus forcing a prompt during boot of the installation program. This count includes the basic root=/dev/ram0 ro ip=off which count as 3 (three) separate parameters leaving only 6 (six) more parameters that could be added. |
root=/dev/ram0 ro ip=off |
These values are given directly to the linux kernel and should be left as provided.
HOST=<...> |
Table 2-1.
Virtual Machine Network Device | Acceptable Values for HOST=<...> |
---|---|
Ethernet (eth0) | HOST=fqdn:device:ipaddr[:mtu] where, fqdn is the fully qualified domain name of the vitual machine; device is eth0; ipaddr is the fixed IP address for this virtual machine; mtu is number of maximum transfer units (optional, should be 1492 or 1500). For example: HOST=s390x.redhat.com:eth0:1.2.3.4:1500 |
CTC (ctc0) | HOST=fqdn:device:ipaddr:gateway[:mtu] where, fqdn is the fully qualified domain name of the vitual machine; device is ctc0; ipaddr is the fixed IP address for this virtual machine; gateway is the IP address of the gateway; mtu is number of maximum transfer units (optional, should be 1492 or 1500). For example: HOST=s390x.redhat.com:ctc0:1.2.3.4:1.2.3.3:1500 |
IUCV (iucv0) | HOST=fqdn:device:ipaddr:host:gateway[:mtu] where, fqdn is the fully qualified domain name of the vitual machine; device is iucv0; ipaddr is the fixed IP address for this virtual machine; host is the VM host name of the IUCV partner; gateway is the IP address of the IUCV partner; mtu is number of maximum transfer units (optional, should be 1492 or 1500). For example: HOST=s390x.redhat.com:iucv0:1.2.3.4:1.2.3.3:1.2.3.2:1500 |
DASD=x-y[,a-c...] |
DTZ=timezone |
LCS=lcs|qeth<dev_num>,<read>,<write>,<data (qeth only, ignored otherwise)>,<memory_usage>,<port_no/protocol_no>, <checksum_received_ip_pkts>,<use_hw_stats> |
Note | |
---|---|
The above LCS line values have been broken into segments for easier reading. Ideally, everything listed after LCS= should be included as one line. |
<dev_num> is the device number that is appended to qeth (values of -1 indicates driver chooses the value and leaving this field blank will change <read> and <write> to a probe range for non-qeth devices).
<read> is the read address.
<write> is the write address.
<memory_usage> is the amount of memory in kilobytes to allow the driver to use.
<port_no/protocol_no> allows a port number or protocol to be specified for use by the driver.
<check-sum_received_ip_pkts> performs error checking on the packets.
<use_hw_stats> makes the driver keep statistics on the hardware being used.
If one or more of the fields are not specified, the default values are used. For example:
LCS=lcs0,0x9a4,0x9a5,0,0 for OSA-2 with LCS, where read=0x9a4 and write=0x9a5. |
QETH=qethINCLUDE>,<read>,<write>,<data>, <memory_usage>,<port_no/protocol_no>,<checksum_received_ip_pkts>, <use_hw_stats> |
Note | |
---|---|
The above QETH line values have been broken into segments for easier reading. Ideally, everything listed after QETH= should be included as one line. |
<dev_num> is the device number that is appended to qeth (values of -1 indicates driver chooses the value and leaving this field blank will change <read> and <write> to a probe range for non-qeth devices).
<read> is the read address.
<write> is the write address.
<memory_usage> is the amount of memory in kilobytes to allow the driver to use.
<port_no/protocol_no> allows a port number or protocol to be specified for use by the driver.
<check-sum_received_ip_pkts> performs error checking on the packets.
<use_hw_stats> makes the driver keep statistics on the hardware being used.
For example:
QETH=qeth1,0x0fc00,0xfc01,0x7c02 for an OSA-Express with QDIO/QETH, where read=0x7c00, write=0x7c01, and data=0x7c02. |
NETWORK=IP:netmask:broadcast[:gw] |
DNS=list:of:dns:servers |
SEARCHDNS=list:of:search:domains |
RPMSERVER=ftp://your.ftp.server/your.s390x.rpm.dir |
RPMSERVER=http://your.http.server/your.s390x.rpm.path |
RPMSERVER=IP:/your.s390x.rpm.dir |
MOUNTS=dev:mountpoint,dev2:mountpoint2 |
SWAP=list:of:swap:devices |
DEBUG=<value> |
CTC=ctc0,<read_channel_address>,<write_channel_address> |
If any of the network parameters required to make the network operate correctly are omitted from the parm file, a prompt will be appear during the installation boot process.
Next, if the guest id under which you wish to install is under a different guest, then log out of the 3270 VM session.
#cp log |
If you logged off, reconnect and log in using the VM guest ID you configured earlier for the install. If you are not in CMS mode, enter it now.
i cms |
Run the inst64 script.
inst64 |
Answer any questions the script asks you (if you've set up the inst64.parm file, you shouldn't be asked anything). When the bootup process is complete, telnet to your S390 machine, if prompted, log in as root (any password will work), and run rhsetup. Refer to Chapter 3 for instructions on using the installation program.
When the installation is finished, set up your linux virtual machine to boot from the DASD (virtual harddisk) rather than entering CMS or CP. This is done by setting the IPL address to the address of the DASD, usually 200.
Once installation is complete and the installed system is running (after IPLing from 200 for example), disconnect from 3270 using
#cp disc |
To continue with the installation, refer to Chapter 3 for further instructions.