Chapter 20. Booting (IPL) the Installer
The steps to perform the initial boot (IPL) of the installer depend on the environment (either z/VM or LPAR) in which Red Hat Enterprise Linux will run. For more information on booting, see the Booting Linux chapter in Linux on System z Device Drivers, Features, and Commands on Red Hat Enterprise Linux 6.
20.1. Installing Under z/VM Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
When installing under z/VM, you can boot from:
- the z/VM virtual reader
- a DASD or an FCP-attached SCSI device prepared with the zipl boot loader
- an FCP-attached SCSI DVD drive
Log on to the z/VM guest virtual machine chosen for the Linux installation. You can use x3270 or c3270 (from the x3270-text package in Red Hat Enterprise Linux) to log in to z/VM from other Linux systems. Alternatively, use the 3270 terminal emulator on the IBM System z Hardware Management Console (HMC). If you are working from a machine with a Windows operating system, Jolly Giant (http://www.jollygiant.com/) offers an SSL-enabled 3270 emulator. A free native Windows port of c3270 called wc3270 also exists.
Note
If your 3270 connection is interrupted and you cannot log in again because the previous session is still active, you can replace the old session with a new one by entering the following command on the z/VM logon screen:
logon user here
logon user herelogon user herelogon user here
Replace user with the name of the z/VM guest virtual machine. Depending on whether an external security manager, for example RACF, is used, the logon command might vary.
If you are not already running CMS (single user operating system shipped with z/VM) in your guest, boot it now by entering the command:
#cp ipl cms
#cp ipl cms
Be sure not to use CMS disks such as your A disk (often device number 0191) as installation targets. To find out which disks are in use by CMS use the following query:
query disk
query disk
You can use the following CP (z/VM Control Program, which is the z/VM hypervisor) query commands to find out about the device configuration of your z/VM guest virtual machine:
- Query the available main memory, which is called storage in System z terminology. Your guest should have at least 512 megabytes of main memory.
cp query virtual storage
cp query virtual storage
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Query available network devices of type:
osa
- OSA (CHPID type OSD, real or virtual (VSWITCH or GuestLAN type QDIO), both in QDIO mode)
hsi
- HiperSockets (CHPID type IQD, real or virtual (GuestLAN type Hipers))
lcs
- LCS (CHPID type OSE)
For example, to query all of the network device types mentioned above:cp query virtual osa
cp query virtual osa
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Query available DASDs. Only those that are flagged RW for read-write mode can be used as installation targets:
cp query virtual dasd
cp query virtual dasd
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Query available FCP channels:
cp query virtual fcp
cp query virtual fcp
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
20.1.1. Using the z/VM Reader Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Perform the following steps to boot from the z/VM reader:
- If necessary, add the device containing the z/VM TCP/IP tools to your CMS disk list. For example:
cp link tcpmaint 592 592 acc 592 fm
cp link tcpmaint 592 592 acc 592 fm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace fm with any FILEMODE letter. - Execute the command:
ftp host
ftp hostftp host
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Where host is the hostname or IP address of the FTP server that hosts the boot images (kernel.img
andinitrd.img
). - Log in and execute the following commands. Use the
(repl
option if you are overwriting existingkernel.img
,initrd.img
,generic.prm
, orredhat.exec
files:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Optionally check whether the files were transferred correctly by using the CMS command
filelist
to show the received files and their format. It is important thatkernel.img
andinitrd.img
have a fixed record length format denoted byF
in the Format column and a record length of 80 in theLrecl
column. For example:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Press PF3 to quitfilelist
and return to the CMS prompt. - Finally execute the REXX script
redhat.exec
to boot (IPL) the installer:redhat
redhat
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
20.1.2. Using a Prepared DASD Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Boot from the prepared DASD and select the zipl boot menu entry referring to the Red Hat Enterprise Linux installer. Use a command of the following form:
cp ipl DASD device number loadparm boot_entry_number
cp ipl DASD device number loadparm boot_entry_numbercp ipl DASD device number loadparm boot_entry_numbercp ipl DASD device number loadparm boot_entry_numbercp ipl DASD device number loadparm boot_entry_number
Replace DASD device number with the device number of the boot device, and boot_entry_number with the zipl configuration menu for this device. For example:
cp ipl eb1c loadparm 0
cp ipl eb1c loadparm 0
20.1.3. Using a Prepared FCP-attached SCSI Disk Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Perform the following steps to boot from a prepared FCP-attached SCSI disk:
- Configure the SCSI boot loader of z/VM to access the prepared SCSI disk in the FCP storage area network. Select the prepared zipl boot menu entry referring to the Red Hat Enterprise Linux installer. Use a command of the following form:
cp set loaddev portname WWPN lun LUN bootprog boot_entry_number
cp set loaddev portname WWPN lun LUN bootprog boot_entry_numbercp set loaddev portname WWPN lun LUN bootprog boot_entry_numbercp set loaddev portname WWPN lun LUN bootprog boot_entry_numbercp set loaddev portname WWPN lun LUN bootprog boot_entry_numbercp set loaddev portname WWPN lun LUN bootprog boot_entry_numbercp set loaddev portname WWPN lun LUN bootprog boot_entry_number
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace WWPN with the WWPN of the storage system and LUN with the LUN of the disk. The 16-digit hexadecimal numbers must be split into two pairs of eight digits each. For example:cp set loaddev portname 50050763 050b073d lun 40204011 00000000 bootprog 0
cp set loaddev portname 50050763 050b073d lun 40204011 00000000 bootprog 0
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Optionally, confirm your settings with the command:
query loaddev
query loaddev
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - IPL the FCP device connected with the storage system containing the disk with the command:
cp ipl FCP_device
cp ipl FCP_device cp ipl FCP_device cp ipl FCP_device
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:cp ipl fc00
cp ipl fc00
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
20.1.4. Using an FCP-attached SCSI DVD Drive Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
This requires a SCSI DVD drive attached to an FCP-to-SCSI bridge which is in turn connected to an FCP adapter in your System z. The FCP adapter must be configured and available under z/VM.
- Insert your Red Hat Enterprise Linux for System z DVD into the DVD drive.
- Configure the SCSI boot loader of z/VM to access the DVD drive in the FCP storage area network and specify
1
for the boot entry on the Red Hat Enterprise Linux for System z DVD. Use a command of the following form:cp set loaddev portname WWPN lun FCP_LUN bootprog 1
cp set loaddev portname WWPN lun FCP_LUN bootprog 1cp set loaddev portname WWPN lun FCP_LUN bootprog 1cp set loaddev portname WWPN lun FCP_LUN bootprog 1cp set loaddev portname WWPN lun FCP_LUN bootprog 1cp set loaddev portname WWPN lun FCP_LUN bootprog 1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace WWPN with the WWPN of the FCP-to-SCSI bridge and FCP_LUN with the LUN of the DVD drive. The 16-digit hexadecimal numbers must be split into two pairs of eight characters each. For example:cp set loaddev portname 20010060 eb1c0103 lun 00010000 00000000 bootprog 1
cp set loaddev portname 20010060 eb1c0103 lun 00010000 00000000 bootprog 1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Optionally, confirm your settings with the command:
cp query loaddev
cp query loaddev
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - IPL on the FCP device connected with the FCP-to-SCSI bridge.
cp ipl FCP_device
cp ipl FCP_devicecp ipl FCP_device
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:cp ipl fc00
cp ipl fc00
Copy to Clipboard Copied! Toggle word wrap Toggle overflow