Table of Contents
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.
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 or . 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.
Select your desired installation language (such as Enter. Next, select the layout of your keyboard (for example, ).) and confirm with
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 . 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.
With the 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.menu, shown in Figure
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
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.
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.
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.
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 . linuxrc then prompts you to insert the corresponding disk.
After setting up hardware support via modules, proceed to 10.4. “The SUSE Rescue System”), and .. From this menu, a number of procedures can be started: , (the root partition must be known), (see Section
LiveEval CD. Download ISO images from the FTP server (live-cd-<VERSION>) at ftp://ftp.suse.com/pub/suse/i386/is only available if you booted a
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 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 item. However, other sources can be select for installation and similarly for the rescue system (Figure 10.1. “Source Medium for the Rescue System”).from the menu and press
After pressing Enter, the installation environment loads from the selected medium. As soon as this process is completed, YaST starts and the installation begins.
To solve this, select an alternative, such as. After the installation is completed, adjust this setting with YaST.
Try loading the module of a compatible adapter. Also check whether a disk with a driver update for your adapter has been made available.
See Section 3.7. “ATAPI CD-ROM Hangs while Reading”.
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 + . In the dialog that opens, set to . Then return to the main menu and try starting the installation again.
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:
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:
The Netdevice: keyword specifies the interface linuxrc should use, if there are several ethernet interfaces available on the installation host.
Specifies the IP address of the host.
This specifies the gateway through which the installation server can be reached, if it is not located in the subnetwork of the host.
The Proxy: keyword defines a proxy for the FTP and HTTP protocols.
This specifies the port used by the proxy, if it does not use the default port.
This keyword enables starting YaST in text mode.
The AutoYast keyword can be used to initiate an automatic installation. The value must be a URL pointing to an AutoYaST installation file.
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.
This sets a password for a VNC installation to control access to the session.
This keyword enables access to linuxrc via SSH when performing the installation with YaST in text mode.
This sets the password for the user root to access linuxrc.
This specifies a module the kernel should load, together with any parameters needed for it. Module parameters must be separated by blank spaces.
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.