Chapter 2. Installing Red Hat Enterprise Linux

This chapter explains how to perform a Red Hat Enterprise Linux installation from the CD-ROM, using the graphical, mouse-based installation program. The following topics are discussed:

2.1. The Graphical Installation Program User Interface

If you have used a graphical user interface (GUI) before, you are already familiar with this process; use your mouse to navigate the screens, click buttons, or enter text fields. You can also navigate through the installation using the [Tab] and [Enter] keys.

NoteNote
 

If you do not wish to use the GUI installation program, the text mode installation program is also available. To start the text mode installation program, use the following boot command:

linux text

Please refer to Section 2.2 The Text Mode Installation Program User Interface for a brief overview of text mode installation instructions.

It is highly recommended that installs be performed using the GUI installation program. The GUI installation program offers the full functunality of the Red Hat Enterprise Linux installation program, including LVM configuration which is not available during a text mode installation.

Users who must use the text mode installation program can easily follow the GUI installation instructions and obtain all needed information.

iSeries system users must remember to add boot options, as are listed in this manual (Appendix E Additional Boot Options) for other operating systems, by first logging into an OS/400 system as an iSeries user and then setting any IPL parameters within their OS/400 session.

2.1.1. Booting the iSeries Installation Program

Insert the installation CD into the CD-ROM drive. Determine the volume name by which OS/400 refers to the CD. This can be found by executing the command wrklnk '/qopt/*' at the OS/400 command line. WRKOPTVOL gives more information on the optical media. Unless there is another CD with the same label in another drive, the volume name is Red_Hat. Note, if the volume name includes a timestamp (as it does when there are name conflicts), ejecting and re-inserting the CD causes the volume name to change and you must determine what it is again.

If you are installing to SCSI disks, you must have a copy of the ibmsis driver CD-ROM. If you have multiple CD-ROM drives available to the target LPAR, you must determine which CD-ROM drive is the first CD-ROM drive (/dev/iseries/vcda/) for the LPAR. Refer to IBM documentation for information how to determine this. Place the driver media into the first CD-ROM drive when instructed by the installation program.

Ensure that your Network Server (NWS) is varied off using the OS/400 WRKCFGSTS (*nws) command.

Edit the Network Server Description (NWSD). Set the IPL source field to *STMF.

Set the IPL stream file field to /QOPT/RED_HAT/PPC/ISERIES/BOOT.IMG (case is not significant), where Red_Hat is the name of the CD volume as it appears under /QOPT.

Set the IPL parameters option to 'dd' (including quotes) if you are using a driver. Otherwise, set the option to *NONE.

NoteNote
 

Red Hat recommends using the vnc or display=<workstation> boot commands to begin a graphical installation. Otherwise, set the field to *NONE to perform a text mode installation. On your workstation, be sure to set the xhost+ command to the hostname of the system being installed. For more information on available boot commands, refer to Appendix E Additional Boot Options.

Use a Telnet client to connect to the virtual console of the OS/400 partition hosting your Linux partition using a command like telnet <hosting partition> 2301. Refer to Section 2.1.4 Using the iSeries Virtual Consoles for more details on using the virtual console.

Vary on the NWS. The boot sequence begins on the virtual console in a few seconds. The installation program begins automatically. If you are performing a VNC or X-Host based installation, network information can be configured via a virtual console.

2.1.2. Booting the pSeries Installation Program

To boot a pSeries system from a CD-ROM, you must specify the install boot device in the System Management Services (SMS) menu.

To enter the System Management Services GUI, press the [F1] key during the boot process when you hear the chime sound. This brings up a graphical interface similar to the one described in this section.

On a text console, press [1] when the self test is displaying the banner along with the tested components:

Figure 2-1. SMS console

Once in the SMS menu, select the option for Select Boot Options. In that menu, specify Select Install or Boot a Device. There, select CD/DVD, and then the bus type (in most cases SCSI). If you are uncertain, you can select to view all devices. This scans all available buses for boot devices, including network adapters and hard drives.

Finally, select the device containing the installation CD. YABOOT is loaded from this device and you are presented with a boot: prompt. Press [Enter] or wait for the timeout to expire for the installation to begin.

2.1.3. A Note about Virtual Consoles on pSeries

This information only applies to pSeries system users. Users of iSeries systems should skip to Section 2.1.4 Using the iSeries Virtual Consoles.

The Red Hat Enterprise Linux installation program offers more than the dialog boxes of the installation process. Several different kinds of diagnostic messages are available to you, in addition to providing a way to enter commands from a shell prompt. The installation program displays these messages on five virtual consoles, among which you can switch using a single keystroke combination.

A virtual console is a shell prompt in a non-graphical environment, accessed from the physical machine, not remotely. Multiple virtual consoles can be accessed simultaneously.

These virtual consoles can be helpful if you encounter a problem while installing Red Hat Enterprise Linux. Messages displayed on the installation or system consoles can help pinpoint a problem. Refer to Table 2-1 for a listing of the virtual consoles, keystrokes used to switch to them, and their contents.

Generally, there is no reason to leave the default console (virtual console #7 for graphical installations or virtual console #1 for text-based installations) unless you are attempting to diagnose installation problems.

Console Keystrokes Contents
1 [Ctrl]-[Alt]-[F1] installation dialog
2 [Ctrl]-[Alt]-[F2] shell prompt
3 [Ctrl]-[Alt]-[F3] install log (messages from installation program)
4 [Ctrl]-[Alt]-[F4] system-related messages
5 [Ctrl]-[Alt]-[F5] other messages
7 [Ctrl]-[Alt]-[F7] X graphical display

Table 2-1. Console, Keystrokes, and Contents

2.1.4. Using the iSeries Virtual Consoles

Before you can use the iSeries virtual console for installation, you must create a DST userid and give it authority to access the virtual console. In V5R2 you simply start SST (STRSST from the command line of the hosting OS/400 partition) and select option 8, Work with service tools user IDs. You cannot use the QSECOFR userid to access the virtual console, you must create a new userid. Once you have created your userid, give it Partition remote panel key access for your Linux partition.

To access the virtual console, use the command telnet <systemname> 2301 where <systemname> is the hostname of the OS/400 partition. When it connects, the virtual console lists the Linux partitions hosted by that OS/400 partition. Select the partition number and enter your DST userid and password as prompted.

The virtual console is usable from a variety of Telnet clients, but it works best when used either from Linux-based X terminals (or GNOME terminals) using the standard telnet client or the MS Windows PuTTY client. Other Telnet clients, such as the standard Windows Telnet client, have problems with the virtual console's rendering of the text based installation program or the control sequences in programs such as vi, so their use is not recommended.