Chapter 3. Special Installation Procedures

Table of Contents

3.1. linuxrc
3.2. Installation with VNC
3.3. Text-Based Installation with YaST
3.4. Starting SUSE LINUX
3.5. Special Installation Procedures
3.6. Tips and Tricks
3.7. ATAPI CD-ROM Hangs while Reading
3.8. Assigning Permanent Device File Names to SCSI Devices
3.9. Partitioning for Experts
3.10. LVM Configuration
3.11. Soft RAID
3.12. Mass Storage via IP Networks — iSCSI

Abstract

SUSE LINUX can be installed in a number of ways. The possibilities range from a graphical quick installation to a text-based installation allowing numerous manual adaptions. The following sections cover various installation procedures and the use of diverse installation sources (CD-ROM, NFS). This chapter also features information about resolving problems encountered during the installation, a detailed section about partitioning, and an introduction to SUSE LINUX Server on iSCSI.

3.1. linuxrc

linuxrc is a program that runs in the start-up stage of the kernel prior to the actual boot process. This allows you to boot a small modularized kernel and to load the few drivers that are really needed as modules. linuxrc assists in loading relevant drivers manually. However, the automatic hardware detection performed by YaST is usually quite reliable. The use of linuxrc is not limited to the installation. You can also use it as a boot tool for an installed system and even for an independent RAM disk–based rescue system. Refer to Section 10.4. “The SUSE Rescue System” for more details.

The linuxrc program is a tool to define installation settings and to load hardware drivers (in the form of kernel modules). After doing so, linuxrc hands over control to YaST, which starts the actual installation of system software and applications.

Use and to select a menu item, as well as and to select an action, such as OK or Cancel. Perform the selected by pressing Enter. A more detailed description of linuxrc is available in Section 3.1. “linuxrc”.

After starting, linuxrc automatically prompts you to select your language and keyboard layout.

Figure 3.1. Selecting the Language

Selecting the Language

Select your desired installation language (such as English) and confirm with Enter. Next, select the layout of your keyboard (for example, English (US)).

3.1.1. Main Menu

After selecting the language and keyboard, continue to the main menu of linuxrc (see Figure 3.2. “The linuxrc Main Menu”). Normally, linuxrc is used to start Linux, in which case you should select Start Installation or System. You may be able to access this item directly, depending on the hardware and the installation procedure in general. Refer to Section 3.3. “Text-Based Installation with YaST” for more information.

Figure 3.2. The linuxrc Main Menu

The linuxrc Main Menu

3.1.2. System Information

With the System Information menu, shown in Figure 3.3. “System Information”, view kernel messages and other technical details. For example, check the I/O ports used by PCI cards and the memory size as detected by the Linux kernel.

Figure 3.3. System Information

System Information

The next lines show how a hard disk and a CD-ROM connected to an (E)IDE controller announce their start. In this case, you do not need to load additional modules:

hda: IC35L060AVER07-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: DV-516E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 120103200 sectors (61492 MB) w/1916KiB Cache, CHS=65535/16/63, UDMA(100)
hda: hda1 hda2 hda3

If you have booted a kernel with a SCSI driver already compiled into it, also skip loading a SCSI driver module. When detected, SCSI adapters and connected devices announce themselves like this:

SCSI subsystem initialized
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
        <Adaptec aic7890/91 Ultra2 SCSI adapter>
        aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs

(scsi0:A:0): 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
  Vendor: IBM       Model: DCAS-34330W       Rev: S65A
  Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled.  Depth 32
SCSI device sda: 8467200 512-byte hdwr sectors (4335 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:A:6): 20.000MB/s transfers (20.000MHz, offset 16)
  Vendor: TEAC      Model: CD-ROM CD-532S    Rev: 1.0A
  Type:   CD-ROM                             ANSI SCSI revision: 02

3.1.3. Loading Modules

Select the modules (drivers) needed. linuxrc offers the available drivers in a list. The name of the respective module is displayed to the left and a brief description of the hardware supported by the driver is displayed to the right. For some components, linuxrc offers several drivers or newer alpha versions of them.

Figure 3.4. Loading Modules

Loading Modules

Figure 3.5. Selecting SCSI Drivers

Selecting SCSI Drivers

3.1.4. Entering Parameters

Locate a suitable driver for your hardware and press Enter. This opens a dialog in which to enter additional parameters for the module. Separate multiple parameters for one module with spaces.

Figure 3.6. Entering Parameters for a Module

Entering Parameters for a Module

In many cases, it is not necessary to specify the hardware in detail, as most drivers find their components automatically. Only network cards and older CD-ROM drives with proprietary controller cards may require parameters. If unsure, try pressing Enter.

For some modules, the detection and initialization of the hardware can take some time. Switch to virtual console 4 (Alt-F4) to watch the kernel messages while loading. SCSI drivers especially take some time, as they wait until all attached devices respond.

If the module is loaded successfully, linuxrc displays the kernel messages, allowing you to verify that everything worked smoothly. In the event of a problem, the messages may indicate the reason.

[Tip]Tip

If it turns out that no driver is included for your installation device (proprietary or parallel port CD-ROM drive, network card, PCMCIA) among the standard modules, you may be able to use one of the drivers of an extra module disk (to learn how to make such a floppy, refer to Section 3.6. “Tips and Tricks”). To do so, scroll down to the end of the menu then select Other Modules. linuxrc then prompts you to insert the corresponding disk.

3.1.5. Start Installation or System

After setting up hardware support via modules, proceed to Start Installation or System. From this menu, a number of procedures can be started: Start Installation or Update, Boot Installed System (the root partition must be known), Start Rescue System (see Section 10.4. “The SUSE Rescue System”), and Eject CD.

Figure 3.7. The linuxrc Installation Menu

The linuxrc Installation Menu

Start LiveEval CD is only available if you booted a LiveEval CD. Download ISO images from the FTP server (live-cd-<VERSION>) at ftp://ftp.suse.com/pub/suse/i386/

[Tip]Tip

Start LiveEval CD is very useful for testing the compatibility of a computer or laptop without installing the system on the hard disk.

To begin the installation, select Start Installation or Update from the menu and press Enter. You are then prompted to select the installation source as shown in Figure 3.8. “Selecting the Source Medium in linuxrc”. In most cases, you can leave this at the preselected CD-ROM item. However, other sources can be select for installation and similarly for the rescue system (Figure 10.1. “Source Medium for the Rescue System”).

Figure 3.8. Selecting the Source Medium in linuxrc

Selecting the Source Medium in linuxrc

After pressing Enter, the installation environment loads from the selected medium. As soon as this process is completed, YaST starts and the installation begins.

3.1.6. Potential Problems

The desired keyboard layout is not offered by linuxrc.

To solve this, select an alternative, such as English (US). After the installation is completed, adjust this setting with YaST.

The SCSI adapter of your machine is not recognized.

Try loading the module of a compatible adapter. Also check whether a disk with a driver update for your adapter has been made available.

Your ATAPI CD-ROM drive hangs when the system tries to read from it.

See Section 3.7. “ATAPI CD-ROM Hangs while Reading”.

The system hangs when loading data into a RAM disk.

In some cases, there may be a problem loading the data into the RAM disk, making it impossible for YaST to start. If this happens, try the following steps, which should fix the error. From the linuxrc main menu, select Settings+Debug (Expert). In the dialog that opens, set Force Root Image to no. Then return to the main menu and try starting the installation again.

3.1.7. Passing Parameters to linuxrc

If linuxrc does not run in manual mode, it looks for an info file on a floppy disk or in the initrd in /info. Subsequently, linuxrc loads the parameters at the kernel prompt. You can edit the default values in the file /linuxrc.config. However, the recommended method is to implement changes in the info file.

An info file consists of keywords and values in the format key: value. These pairs of keys and values can also be entered at the boot prompt provided by the installation medium using the format key=value. A list of all keys is available in the file /usr/share/doc/packages/linuxrc/linuxrc.html. The following list shows some of the most important keys with example values:

Install: URL (nfs, ftp, hd, etc.)

Specifies the installation source as a URL. Possible protocols include cd, hd, nfs, smb, ftp, http, and tftp. The URL syntax corresponds to the common form as used in web browsers, for example:

  • nfs://<server>/<directory>

  • ftp://[user[:password]@]<server>/<directory>

Netdevice: eth0

The Netdevice: keyword specifies the interface linuxrc should use, if there are several ethernet interfaces available on the installation host.

HostIP: 10.10.0.2

Specifies the IP address of the host.

Gateway: 10.10.0.128

This specifies the gateway through which the installation server can be reached, if it is not located in the subnetwork of the host.

Proxy: 10.10.0.1

The Proxy: keyword defines a proxy for the FTP and HTTP protocols.

ProxyPort: 3128

This specifies the port used by the proxy, if it does not use the default port.

Textmode: 0|1

This keyword enables starting YaST in text mode.

AutoYast: ftp://autoyastfile

The AutoYast keyword can be used to initiate an automatic installation. The value must be a URL pointing to an AutoYaST installation file.

VNC: 0|1

The VNC parameter controls the installation process via VNC, which makes the installation more convenient for hosts that do not have a graphical console. If enabled, the corresponding service is activated on the installation host. Also see the VNCPassword keyword.

VNCPassword: password

This sets a password for a VNC installation to control access to the session.

UseSSH: 0|1

This keyword enables access to linuxrc via SSH when performing the installation with YaST in text mode.

SSHPassword: password

This sets the password for the user root to access linuxrc.

Insmod: module parameters

This specifies a module the kernel should load, together with any parameters needed for it. Module parameters must be separated by blank spaces.

AddSwap: 0|3|/dev/hda5

If set to 0, the system does not try to activate a swap partition. If set to a positive number, the partition corresponding to the number is activated as a swap partition. Alternatively, specify the full device name of a partition.