Cari di RHE Linux 
    RHE Linux Modules Manual
Daftar Isi
(Sebelumnya) 1 : Preface - Installation Guide1 : Chapter 7. Booting the Ins ... (Berikutnya)

Installation Guide

Part I.
x86, AMD64, and Intel 64 - Installation and Booting

The Red Hat Enterprise Linux Installation Guide for Intel and AMD 32-bit and 64-bit systems discusses the installation of Red Hat Enterprise Linux and some basic post-installation troubleshooting. For advanced installation options, refer to Part IV, "Advanced installation options".

Daftar Isi

3. Planning for Installation on the x86 Architecture
3.1. Upgrade or Install?
3.2. Is Your Hardware Compatible?
3.3. Supported Installation Hardware
3.4. RAID and Other Disk Devices
3.4.1. Hardware RAID
3.4.2. Software RAID
3.4.3. FireWire and USB Disks
3.5. Do You Have Enough Disk Space?
3.6. Selecting an Installation Method
3.7. Choose a boot method
4. Preparing for Installation
4.1. Preparing for a Network Installation
4.1.1. Preparing for FTP, HTTP, and HTTPS installation
4.1.2. Preparing for an NFS installation
4.2. Preparing for a Hard Drive Installation
5. System Specifications List
6. Updating drivers during installation on Intel and AMD systems
6.1. Limitations of driver updates during installation
6.2. Preparing for a driver update during installation
6.2.1. Preparing to use a driver update image file
6.2.2. Preparing a driver disc
6.2.3. Preparing an initial RAM disk update
6.3. Performing a driver update during installation
6.3.1. Let the installer automatically find a driver update disk
6.3.2. Let the installer prompt you for a driver update
6.3.3. Use a boot option to specify a driver update disk
6.3.4. Select a PXE target that includes a driver update
6.4. Specifying the location of a driver update image file or driver update disk
7. Booting the Installer
7.1. Starting the Installation Program
7.1.1. Booting the Installation Program on x86, AMD64, and Intel 64 Systems
7.1.2. The Boot Menu
7.1.3. Additional Boot Options
7.2. Installing from a Different Source
7.3. Booting from the Network using PXE
8. Configuring Language and Installation Source
8.1. The Text Mode Installation Program User Interface
8.1.1. Using the Keyboard to Navigate
8.2. Language Selection
8.3. Installation Method
8.3.1. Installing from DVD
8.3.2. Installing from a Hard Drive
8.3.3. Performing a Network Installation
8.3.4. Installing via NFS
8.3.5. Installing via FTP, HTTP, or HTTPS
8.4. Verifying Media
9. Installing using anaconda
9.1. The Text Mode Installation Program User Interface
9.2. The Graphical Installation Program User Interface
9.2.1. Screenshots during installation
9.2.2. A Note about Virtual Consoles
9.3. Welcome to Red Hat Enterprise Linux
9.4. Language Selection
9.5. Keyboard Configuration
9.6. Storage Devices
9.6.1. The Storage Devices Selection Screen
9.7. Setting the Hostname
9.7.1. Edit Network Connections
9.8. Time Zone Configuration
9.9. Set the Root Password
9.10. Assign Storage Devices
9.11. Initializing the Hard Disk
9.12. Upgrading an Existing System
9.12.1. The Upgrade Dialog
9.12.2. Upgrading Using the Installer
9.12.3. Upgrading Boot Loader Configuration
9.13. Disk Partitioning Setup
9.14. Encrypt Partitions
9.15. Creating a Custom Layout or Modifying the Default Layout
9.15.1. Create Storage
9.15.2. Adding Partitions
9.15.3. Create Software RAID
9.15.4. Create LVM Logical Volume
9.15.5. Recommended Partitioning Scheme
9.16. Write changes to disk
9.17. x86, AMD64, and Intel 64 Boot Loader Configuration
9.17.1. Advanced Boot Loader Configuration
9.17.2. Rescue Mode
9.17.3. Alternative Boot Loaders
9.18. Package Group Selection
9.18.1. Installing from Additional Repositories
9.18.2. Customizing the Software Selection
9.19. Installing Packages
9.20. Installation Complete
10. Troubleshooting Installation on an Intel or AMD System
10.1. You are unable to boot Red Hat Enterprise Linux
10.1.1. Are You Unable to Boot With Your RAID Card?
10.1.2. Is Your System Displaying Signal 11 Errors?
10.2. Trouble Beginning the Installation
10.2.1. Problems with Booting into the Graphical Installation
10.3. Trouble During the Installation
10.3.1. No devices found to install Red Hat Enterprise Linux Error Message
10.3.2. Saving traceback messages
10.3.3. Trouble with Partition Tables
10.3.4. Using Remaining Space
10.3.5. Other Partitioning Problems
10.4. Problems After Installation
10.4.1. Trouble With the Graphical GRUB Screen on an x86-based System?
10.4.2. Booting into a Graphical Environment
10.4.3. Problems with the X Window System (GUI)
10.4.4. Problems with the X Server Crashing and Non-Root Users
10.4.5. Problems When You Try to Log In
10.4.6. Is Your RAM Not Being Recognized?
10.4.7. Your Printer Does Not Work
10.4.8. Apache HTTP Server or Sendmail stops responding during startup

Chapter 3. Planning for Installation on the x86 Architecture

3.1. Upgrade or Install?

For information to help you determine whether to perform an upgrade or an installation refer to Chapter 37, Upgrading Your Current System.

3.2. Is Your Hardware Compatible?

Hardware compatibility is particularly important if you have an older system or a system that you built yourself. Red Hat Enterprise Linux 6 should be compatible with most hardware in systems that were factory built within the last two years.
However, hardware specifications change almost daily, so it is difficult to guarantee that your hardware is 100% compatible.
One consistent requirement is your processor. Red Hat Enterprise Linux 6 supports, at minimum, all 32-bit and 64-bit implementations of Intel microarchitecture from P6 and onwards and AMD microarchitecture from Athlon and onwards.
The most recent list of supported hardware can be found at:
http://hardware.redhat.com/hcl/

3.3. Supported Installation Hardware

For installation of Red Hat Enterprise Linux on x86, AMD64, and Intel 64 systems, Red Hat supports the following installation targets:
  • Hard drives connected by a standard internal interface, such as SCSI, SATA, or SAS
  • BIOS/firmware RAID devices
Fibre Channel Host Bus Adapters and multipath devices are also supported. Vendor-provided drivers may be required for certain hardware.
Red Hat does not support installation to USB drives or SD memory cards.
Red Hat also supports installations that use the following virtualization technologies:
  • Xen block devices on Intel processors in Xen virtual machines.
  • VirtIO block devices on Intel processors in KVM virtual machines.

3.4.  RAID and Other Disk Devices

Important - Systems with Intel BIOS RAID sets

Red Hat Enterprise Linux 6 uses mdraid instead of dmraid for installation onto Intel BIOS RAID sets. These sets are detected automatically, and devices with Intel ISW metadata are recognized as mdraid instead of dmraid. Note that the device node names of any such devices under mdraid are different from their device node names under dmraid. Therefore, special precautions are necessary when you migrate systems with Intel BIOS RAID sets.
Local modifications to /etc/fstab, /etc/crypttab or other configuration files which refer to devices by their device node names will not work in Red Hat Enterprise Linux 6. Before migrating these files, you must therefore edit them to replace device node paths with device UUIDs instead. You can find the UUIDs of devices with the blkid command.

3.4.1.  Hardware RAID

RAID, or Redundant Array of Independent Disks, allows a group, or array, of drives to act as a single device. Configure any RAID functions provided by the mainboard of your computer, or attached controller cards, before you begin the installation process. Each active RAID array appears as one drive within Red Hat Enterprise Linux.
On systems with more than one hard drive you may configure Red Hat Enterprise Linux to operate several of the drives as a Linux RAID array without requiring any additional hardware.

3.4.2.  Software RAID

You can use the Red Hat Enterprise Linux installation program to create Linux software RAID arrays, where RAID functions are controlled by the operating system rather than dedicated hardware. These functions are explained in detail in Section 9.15, " Creating a Custom Layout or Modifying the Default Layout ".

3.4.3.  FireWire and USB Disks

Some FireWire and USB hard disks may not be recognized by the Red Hat Enterprise Linux installation system. If configuration of these disks at installation time is not vital, disconnect them to avoid any confusion.

Post-installation Usage

You can connect and configure external FireWire and USB hard disks after installation. Most such devices are recognized by the kernel and available for use at that time.

3.5. Do You Have Enough Disk Space?

Nearly every modern-day operating system (OS) uses disk partitions, and Red Hat Enterprise Linux is no exception. When you install Red Hat Enterprise Linux, you may have to work with disk partitions. If you have not worked with disk partitions before (or need a quick review of the basic concepts), refer to Appendix A, An Introduction to Disk Partitions before proceeding.
The disk space used by Red Hat Enterprise Linux must be separate from the disk space used by other OSes you may have installed on your system, such as Windows, OS/2, or even a different version of Linux. For x86, AMD64, and Intel 64 systems, at least two partitions (/ and swap) must be dedicated to Red Hat Enterprise Linux.
Before you start the installation process, you must
  • have enough unpartitioned[1] disk space for the installation of Red Hat Enterprise Linux, or
  • have one or more partitions that may be deleted, thereby freeing up enough disk space to install Red Hat Enterprise Linux.
To gain a better sense of how much space you really need, refer to the recommended partitioning sizes discussed in Section 9.15.5, "Recommended Partitioning Scheme".
If you are not sure that you meet these conditions, or if you want to know how to create free disk space for your Red Hat Enterprise Linux installation, refer to Appendix A, An Introduction to Disk Partitions.

3.6. Selecting an Installation Method

What type of installation method do you wish to use? The following installation methods are available:
DVD
If you have a DVD drive and the Red Hat Enterprise Linux DVD you can use this method. Refer to Section 8.3.1, "Installing from DVD", for DVD installation instructions.
If you booted the installation from a piece of media other than the installation DVD, you can specify the DVD as the installation source with the linux askmethod or linux repo=cdrom:device:/device boot option, or by selecting Local CD/DVD on the Installation Method menu (refer to Section 8.3, "Installation Method").
Hard Drive
If you have copied the Red Hat Enterprise Linux ISO images to a local hard drive, you can use this method. You need a boot CD-ROM (use the linux askmethod or linux repo=hd:device:/path boot option), or by selecting Hard drive on the Installation Method menu (refer to Section 8.3, "Installation Method"). Refer to Section 8.3.2, "Installing from a Hard Drive", for hard drive installation instructions.
NFS
If you are installing from an NFS server using ISO images or a mirror image of Red Hat Enterprise Linux, you can use this method. You need a boot CD-ROM (use the linux askmethod or linux repo=nfs:server :options:/path boot option, or the NFS directory option on the Installation Method menu described in Section 8.3, "Installation Method"). Refer to Section 8.3.4, "Installing via NFS" for network installation instructions. Note that NFS installations may also be performed in GUI mode.
URL
If you are installing directly from an HTTP or HTTPS (Web) server or an FTP server, use this method. You need a boot CD-ROM (use the linux askmethod, linux repo=ftp://user:password@host/path, or linux repo=http://host/path boot option, or linux repo=https://host/path boot option,or the URL option on the Installation Method menu described in Section 8.3, "Installation Method"). Refer to Section 8.3.5, "Installing via FTP, HTTP, or HTTPS", for FTP, HTTP, and HTTPS installation instructions.
If you booted the distribution DVD and did not use the alternate installation source option askmethod, the next stage loads automatically from the DVD. Proceed to Section 8.2, "Language Selection".

DVD Activity

If you boot from a Red Hat Enterprise Linux installation DVD, the installation program loads its next stage from that disc. This happens regardless of which installation method you choose, unless you eject the disc before you proceed. The installation program still downloads package data from the source you choose.

3.7. Choose a boot method

You can use several methods to boot Red Hat Enterprise Linux.
Installing from a DVD requires that you have purchased a Red Hat Enterprise Linux product, you have a Red Hat Enterprise Linux 6 DVD, and you have a DVD drive on a system that supports booting from it. Refer to Chapter 2, Making Media for instructions to make an installation DVD.
Your BIOS may need to be changed to allow booting from your DVD/CD-ROM drive. For more information about changing your BIOS, refer to Section 7.1.1, "Booting the Installation Program on x86, AMD64, and Intel 64 Systems".
Other than booting from an installation DVD, you can also boot the Red Hat Enterprise Linux installation program from minimal boot media in the form of a bootable CD or USB flash drive. After you boot the system with a piece of minimal boot media, you complete the installation from a different installation source, such as a local hard drive or a location on a network. Refer to Section 2.2, "Making Minimal Boot Media" for instructions on making boot CDs and USB flash drives.
Finally, you can boot the installer over the network from a preboot execution environment (PXE) server. Refer to Chapter 30, Setting Up an Installation Server. Again, after you boot the system, you complete the installation from a different installation source, such as a local hard drive or a location on a network.


[1] Unpartitioned disk space means that available disk space on the hard drives you are installing to has not been divided into sections for data. When you partition a disk, each partition behaves like a separate disk drive.

Chapter 4. Preparing for Installation

4.1. Preparing for a Network Installation

Note

Make sure no installation DVD (or any other type of DVD or CD) is in your system's CD or DVD drive if you are performing a network-based installation. Having a DVD or CD in the drive might cause unexpected errors.
Ensure that you have boot media available on CD, DVD, or a USB storage device such as a flash drive.
The Red Hat Enterprise Linux installation medium must be available for either a network installation (via NFS, FTP, HTTP, or HTTPS) or installation via local storage. Use the following steps if you are performing an NFS, FTP, HTTP, or HTTPS installation.
The NFS, FTP, HTTP, or HTTPS server to be used for installation over the network must be a separate, network-accessible server. It must provide the complete contents of the installation DVD-ROM.

Note

anaconda has the ability to test the integrity of the installation media. It works with the DVD, hard drive ISO, and NFS ISO installation methods. We recommend that you test all installation media before starting the installation process, and before reporting any installation-related bugs (many of the bugs reported are actually due to improperly-burned DVDs). To use this test, type the following command at the boot: prompt:
linux mediacheck

Note

The public directory used to access the installation files over FTP, NFS, HTTP, or HTTPS is mapped to local storage on the network server. For example, the local directory /var/www/inst/rhel6 on the network server can be accessed as http://network.server.com/inst/rhel6.
In the following examples, the directory on the installation staging server that will contain the installation files will be specified as /location/of/disk/space. The directory that will be made publicly available via FTP, NFS, HTTP, or HTTPS will be specified as /publicly_available_directory. For example, /location/of/disk/space may be a directory you create called /var/isos. /publicly_available_directory might be /var/www/html/rhel6, for an HTTP install.
In the following, you will require an ISO image. An ISO image is a file containing an exact copy of the content of a DVD. To create an ISO image from a DVD use the following command:
dd if=/dev/dvd of=/path_to_image/name_of_image.iso
where dvd is your DVD drive device, name_of_image is the name you give to the resulting ISO image file, and path_to_image is the path to the location on your system where the resulting ISO image will be stored.
To copy the files from the installation DVD to a Linux instance, which acts as an installation staging server, continue with either Section 4.1.1, "Preparing for FTP, HTTP, and HTTPS installation" or Section 4.1.2, "Preparing for an NFS installation".

4.1.1. Preparing for FTP, HTTP, and HTTPS installation

Extract the files from the ISO image of the installation DVD and place them in a directory that is shared over FTP, HTTP, or HTTPS.
Next, make sure that the directory is shared via FTP, HTTP, or HTTPS, and verify client access. Test to see whether the directory is accessible from the server itself, and then from another machine on the same subnet to which you will be installing.

4.1.2. Preparing for an NFS installation

For NFS installation it is not necessary to extract all the files from the ISO image. It is sufficient to make the ISO image itself, the install.img file, and optionally the product.img file available on the network server via NFS.
  1. Transfer the ISO image to the NFS exported directory. On a Linux system, run:
    mv /path_to_image/name_of_image.iso /publicly_available_directory/
    where path_to_image is the path to the ISO image file, name_of_image is the name of the ISO image file, and publicly_available_directory is a directory that is available over NFS or that you intend to make available over NFS.
  2. Use a SHA256 checksum program to verify that the ISO image that you copied is intact. Many SHA256 checksum programs are available for various operating systems. On a Linux system, run:
    $ sha256sum name_of_image.iso
    where name_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
  3. Copy the images/ directory from inside the ISO image to the same directory in which you stored the ISO image file itself. Enter the following commands:
    mount -t iso9660 /path_to_image/name_of_image.iso /mount_point -o loop,rocp -pr /mount_point/images /publicly_available_directory/umount /mount_point
    where path_to_image is the path to the ISO image file, name_of_image is the name of the ISO image file, and mount_point is a mount point on which to mount the image while you copy files from the image. For example:
    mount -t iso9660 /var/isos/RHEL6.iso /mnt/tmp -o loop,rocp -pr /mnt/tmp/images /var/isos/umount /mnt/tmp
    The ISO image file and an images/ directory are now present, side-by-side, in the same directory.
  4. Verify that the images/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 9.18, "Package Group Selection").

    Important - content of the images/ directory

    install.img and product.img must be the only files in the images/ directory.
  5. Ensure that an entry for the publicly available directory exists in the /etc/exports file on the network server so that the directory is available via NFS.
    To export a directory read-only to a specific system, use:
    /publicly_available_directory client.ip.address (ro)
    To export a directory read-only to all systems, use:
    /publicly_available_directory * (ro)
  6. On the network server, start the NFS daemon (on a Red Hat Enterprise Linux system, use /sbin/service nfs start). If NFS is already running, reload the configuration file (on a Red Hat Enterprise Linux system use /sbin/service nfs reload).
  7. Be sure to test the NFS share following the directions in the Red Hat Enterprise Linux Deployment Guide. Refer to your NFS documentation for details on starting and stopping the NFS server.

Note

anaconda has the ability to test the integrity of the installation media. It works with the DVD, hard drive ISO, and NFS ISO installation methods. We recommend that you test all installation media before starting the installation process, and before reporting any installation-related bugs (many of the bugs reported are actually due to improperly-burned DVDs). To use this test, type the following command at the boot: prompt:
linux mediacheck

4.2. Preparing for a Hard Drive Installation

Note - Not all file systems supported

Hard drive installations only work from ext2, ext3, ext4, or FAT file systems. You cannot use a hard drives formatted for any other file system as an installation source for Red Hat Enterprise Linux.
To check the file system of a hard drive partition on a Windows operating system, use the Disk Management tool. To check the file system of a hard drive partition on a Linux operating system, use the fdisk tool.

Cannot Install from LVM Partitions

You cannot use ISO files on partitions controlled by LVM (Logical Volume Management).
Use this option to install Red Hat Enterprise Linux on systems without a DVD drive or network connection.
Hard drive installations use the following files:
  • an ISO image of the installation DVD. An ISO image is a file that contains an exact copy of the content of a DVD.
  • an install.img file extracted from the ISO image.
  • optionally, a product.img file extracted from the ISO image.
With these files present on a hard drive, you can choose Hard drive as the installation source when you boot the installation program (refer to Section 8.3, "Installation Method").
Ensure that you have boot media available on CD, DVD, or a USB storage device such as a flash drive.
To prepare a hard drive as an installation source, follow these steps:
  1. Obtain an ISO image of the Red Hat Enterprise Linux installation DVD (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). Alternatively, if you have the DVD on physical media, you can create an image of it with the following command on a Linux system:
    dd if=/dev/dvd of=/path_to_image/name_of_image.iso
    where dvd is your DVD drive device, name_of_image is the name you give to the resulting ISO image file, and path_to_image is the path to the location on your system where the resulting ISO image will be stored.
  2. Transfer the ISO image to the hard drive.
    The ISO image must be located on a hard drive that is either internal to the computer on which you will install Red Hat Enterprise Linux, or on a hard drive that is attached to that computer by USB.
  3. Use a SHA256 checksum program to verify that the ISO image that you copied is intact. Many SHA256 checksum programs are available for various operating systems. On a Linux system, run:
    $ sha256sum name_of_image.iso
    where name_of_image is the name of the ISO image file. The SHA256 checksum program displays a string of 64 characters called a hash. Compare this hash to the hash displayed for this particular image on the Download Software page on the Red Hat Network (refer to Chapter 1, Obtaining Red Hat Enterprise Linux). The two hashes should be identical.
  4. Copy the images/ directory from inside the ISO image to the same directory in which you stored the ISO image file itself. Enter the following commands:
    mount -t iso9660 /path_to_image/name_of_image.iso /mount_point -o loop,rocp -pr /mount_point/images /publicly_available_directory/umount /mount_point
    where path_to_image is the path to the ISO image file, name_of_image is the name of the ISO image file, and mount_point is a mount point on which to mount the image while you copy files from the image. For example:
    mount -t iso9660 /var/isos/RHEL6.iso /mnt/tmp -o loop,rocp -pr /mnt/tmp/images /var/isos/umount /mnt/tmp
    The ISO image file and an images/ directory are now present, side-by-side, in the same directory.
  5. Verify that the images/ directory contains at least the install.img file, without which installation cannot proceed. Optionally, the images/ directory should contain the product.img file, without which only the packages for a Minimal installation will be available during the package group selection stage (refer to Section 9.18, "Package Group Selection").

    Important - content of the images/ directory

    install.img and product.img must be the only files in the images/ directory.

Note

anaconda has the ability to test the integrity of the installation media. It works with the DVD, hard drive ISO, and NFS ISO installation methods. We recommend that you test all installation media before starting the installation process, and before reporting any installation-related bugs (many of the bugs reported are actually due to improperly-burned DVDs). To use this test, type the following command at the boot: prompt:
linux mediacheck

Chapter 5. System Specifications List

The most recent list of supported hardware can be found at http://hardware.redhat.com/hcl/.
The installation program automatically detects and installs your computer's hardware. Although you should make sure that your hardware meets the minimum requirements to install Red Hat Enterprise Linux (refer to Section 3.2, "Is Your Hardware Compatible?") you do not usually need to supply the installation program with any specific details about your system.
However, when performing certain types of installation, some specific details might be useful or even essential.
  • If you plan to use a customized partition layout, record:
    • The model numbers, sizes, types, and interfaces of the hard drives attached to the system. For example, Seagate ST3320613AS 320 GB on SATA0, Western Digital WD7500AAKS 750 GB on SATA1. This will allow you to identify specific hard drives during the partitioning process.
  • If you are installing Red Hat Enterprise Linux as an additional operating system on an existing system, record:
    • The mount points of the existing partitions on the system. For example, /boot on sda1, / on sda2, and /home on sdb1. This will allow you to identify specific partitions during the partitioning process.
  • If you plan to install from an image on a local hard drive:
    • The hard drive and directory that holds the image.
  • If you plan to install from a network location, or install on an iSCSI target:
    • The make and model numbers of the network adapters on your system. For example, Netgear GA311. This will allow you to identify adapters when manually configuring the network.
    • IP, DHCP, and BOOTP addresses
    • Netmask
    • Gateway IP address
    • One or more name server IP addresses (DNS)
    If any of these networking requirements or terms are unfamiliar to you, contact your network administrator for assistance.
  • If you plan to install from a network location:
  • If you plan to install on an iSCSI target:
  • If your computer is part of a domain:
    • You should verify that the domain name will be supplied by the DHCP server. If not, you will need to input the domain name manually during installation.

Chapter 6. Updating drivers during installation on Intel and AMD systems

In most cases, Red Hat Enterprise Linux already includes drivers for the devices that make up your system. However, if your system contains hardware that has been released very recently, drivers for this hardware might not yet be included. Sometimes, a driver update that provides support for a new device might be available from Red Hat or your hardware vendor on a driver disc that contains rpm packages. Typically, the driver disc is available for download as an ISO image file.
Often, you do not need the new hardware during the installation process. For example, if you use a DVD to install to a local hard drive, the installation will succeed even if drivers for your network card are not available. In situations like this, complete the installation and add support for the piece of hardware afterward - refer to Section 35.1.1, "Driver update rpm packages" for details of adding this support.
In other situations, you might want to add drivers for a device during the installation process to support a particular configuration. For example, you might want to install drivers for a network device or a storage adapter card to give the installer access to the storage devices that your system uses. You can use a driver disc to add this support during installation in one of two ways:
  1. place the ISO image file of the driver disc in a location accessible to the installer:
    1. on a local hard drive
    2. a USB flash drive
  2. create a driver disc by extracting the image file onto:
    1. a CD
    2. a DVD
    Refer to the instructions for making installation discs in Section 2.1, "Making an installation DVD" for more information on burning ISO image files to CD or DVD.
If Red Hat, your hardware vendor, or a trusted third party told you that you will require a driver update during the installation process, choose a method to supply the update from the methods described in this chapter and test it before beginning the installation. Conversely, do not perform a driver update during installation unless you are certain that your system requires it. Although installing an unnecessary driver update will not cause harm, the presence of a driver on a system for which it was not intended can complicate support.

6.1. Limitations of driver updates during installation

Unfortunately, some situations persist in which you cannot use a driver update to provide drivers during installation:
Devices already in use
You cannot use a driver update to replace drivers that the installation program has already loaded. Instead, you must complete the installation with the drivers that the installation program loaded and update to the new drivers after installation, or, if you need the new drivers for the installation process, consider performing an initial RAM disk driver update - refer to Section 6.2.3, "Preparing an initial RAM disk update".
Devices with an equivalent device available
Because all devices of the same type are initialized together, you cannot update drivers for a device if the installation program has loaded drivers for a similar device. For example, consider a system that has two different network adapters, one of which has a driver update available. The installation program will initialize both adapters at the same time, and therefore, you will not be able to use this driver update. Again, complete the installation with the drivers loaded by the installation program and update to the new drivers after installation, or use an initial RAM disk driver update.

6.2. Preparing for a driver update during installation

If a driver update is necessary and available for your hardware, Red Hat or a trusted third party such as the hardware vendor will typically provide it in the form of an image file in ISO format. Some methods of performing a driver update require you to make the image file available to the installation program, while others require you to use the image file to make a driver update disk:
Methods that use the image file itself
  • local hard drive
  • USB flash drive
Methods that use a driver update disk produced from an image file
  • CD
  • DVD
Choose a method to provide the driver update, and refer to Section 6.2.1, "Preparing to use a driver update image file", Section 6.2.2, "Preparing a driver disc" or Section 6.2.3, "Preparing an initial RAM disk update". Note that you can use a USB storage device either to provide an image file, or as a driver update disk.

6.2.1. Preparing to use a driver update image file

6.2.1.1. Preparing to use an image file on local storage

To make the ISO image file available on local storage, such as a hard drive or USB flash drive, you must first determine whether you want to install the updates automatically or select them manually.
For manual installations, copy the file onto the storage device. You can rename the file if you find it helpful to do so, but you must not change the filename extension, which must remain .iso. In the following example, the file is named dd.iso:
Content of a USB flash drive holding a driver update image file
File browser window displaying a single file, named dd.iso

Figure 6.1. Content of a USB flash drive holding a driver update image file


Note that if you use this method, the storage device will contain only a single file. This differs from driver discs on formats such as CD and DVD, which contain many files. The ISO image file contains all of the files that would normally be on a driver disc.
For automatic installations, you will need to extract the ISO to the root directory of the storage device rather than copy it. Copying the ISO is only effective for manual installations. You must also change the file system label of the device to OEMDRV.
The installation program will then automatically examine the extracted ISO for driver updates and load any that it detects. This behavior is controlled by the dlabel=on boot option, which is enabled by default. Refer to Section 6.3.1, "Let the installer automatically find a driver update disk".

6.2.2. Preparing a driver disc

You can create a driver update disc on CD or DVD.

6.2.2.1. Creating a driver update disc on CD or DVD

These instructions assume that you use the GNOME desktop

CD/DVD Creator is part of the GNOME desktop. If you use a different Linux desktop, or a different operating system altogether, you will need to use another piece of software to create the CD or DVD. The steps will be generally similar.
Make sure that the software that you choose can create CDs or DVDs from image files. While this is true of most CD and DVD burning software, exceptions exist. Look for a button or menu entry labeled burn from image or similar. If your software lacks this feature, or you do not select it, the resulting disc will hold only the image file itself, instead of the contents of the image file.
  1. Use the desktop file manager to locate the ISO image file of the driver disc, supplied to you by Red Hat or your hardware vendor.
    A typical .iso file displayed in a file manager window
    The file manager window shows a single image file, named dd.iso.

    Figure 6.2. A typical .iso file displayed in a file manager window


  2. Right-click on this file and choose Write to disc. You will see a window similar to the following:
    CD/DVD Creator's Write to Disc dialog
    CD/DVD Creator's Write to Disc dialog

    Figure 6.3. CD/DVD Creator's Write to Disc dialog


  3. Click the Write button. If a blank disc is not already in the drive, CD/DVD Creator will prompt you to insert one.
After you burn a driver update disc CD or DVD, verify that the disc was created successfully by inserting it into your system and browsing to it using the file manager. You should see a single file named rhdd3 and a directory named rpms:
Contents of a typical driver update disc on CD or DVD
After you burn a driver update disc CD or DVD, verify that the disc was created successfully by inserting it into your system and browsing to it using the file manager. You should see a single file named rhdd3 and a directory named rpms:

Figure 6.4. Contents of a typical driver update disc on CD or DVD


If you see only a single file ending in .iso, then you have not created the disc correctly and should try again. Ensure that you choose an option similar to burn from image if you use a Linux desktop other than GNOME or if you use a different operating system.

6.2.3. Preparing an initial RAM disk update

Advanced procedure

This is an advanced procedure that you should consider only if you cannot perform a driver update with any other method.
The Red Hat Enterprise Linux installation program can load updates for itself early in the installation process from a RAM disk - an area of your computer's memory that temporarily behaves as if it were a disk. You can use this same capability to load driver updates. To perform a driver update during installation, your computer must be able to boot from a preboot execution environment (PXE) server, and you must have a PXE server available on your network. Refer to Chapter 30, Setting Up an Installation Server for instructions on using PXE during installation.
To make the driver update available on your PXE server:
  1. Place the driver update image file on your installation server. Usually, you would do this by downloading it to the server from a location on the Internet specified by Red Hat or your hardware vendor. Names of driver update image files end in .iso.
  2. Copy the driver update image file into the /tmp/initrd_update directory.
  3. Rename the driver update image file to dd.img.
  4. At the command line, change into the /tmp/initrd_update directory, type the following command, and press Enter:
    find . | cpio --quiet -o -H newc | gzip -9 >/tmp/initrd_update.img
  5. Copy the file /tmp/initrd_update.img into the directory the holds the target that you want to use for installation. This directory is placed under the /var/lib/tftpboot/pxelinux/ directory. For example, /var/lib/tftpboot/pxelinux/rhel6/ might hold the PXE target for Red Hat Enterprise Linux 6.
  6. Edit the /var/lib/tftpboot/pxelinux/pxelinux.cfg/default file to include an entry that includes the initial RAM disk update that you just created, in the following format:
    label target-ddkernel target/vmlinuzappend initrd=target/initrd.img,target/dd.img
    Where target is the target that you want to use for installation.
Refer to Section 6.3.4, "Select a PXE target that includes a driver update" to learn how to use an initial RAM disk update during installation.

Example 6.1. Preparing an initial RAM disk update from a driver update image file

In this example, driver_update.iso is a driver update image file that you downloaded from the Internet to a directory on your PXE server. The target that you want to PXE boot from is located in /var/lib/tftpboot/pxelinux/rhel6/
At the command line, change to the directory that holds the file and enter the following commands:
$ cp driver_update.iso /tmp/initrd_update/dd.img$ cd /tmp/initrd_update$ find . | cpio --quiet -c -o -H newc | gzip -9 >/tmp/initrd_update.img$ cp /tmp/initrd_update.img /var/lib/tftpboot/pxelinux/rhel6/dd.img
Edit the /var/lib/tftpboot/pxelinux/pxelinux.cfg/default file and include the following entry:
label rhel6-ddkernel rhel6/vmlinuzappend initrd=rhe6/initrd.img,rhel6/dd.img

6.3. Performing a driver update during installation

You can perform a driver update during installation in the following ways:
  • let the installer automatically find a driver update disk.
  • let the installer prompt you for a driver update.
  • use a boot option to specify a driver update disk.

6.3.1. Let the installer automatically find a driver update disk

Attach a block device with the filesystem label OEMDRV before starting the installation process. The installer will automatically examine the device and load any driver updates that it detects and will not prompt you during the process. Refer to Section 6.2.1.1, "Preparing to use an image file on local storage" to prepare a storage device for the installer to find.

6.3.2. Let the installer prompt you for a driver update

  1. Begin the installation normally for whatever method you have chosen. If the installer cannot load drivers for a piece of hardware that is essential for the installation process (for example, if it cannot detect any network or storage controllers), it prompts you to insert a driver update disk:
    The no driver found dialog
    The dialog reports that the installer did not find the devices needed for this installation type, and asks you to select a driver, use a driver disk, or go back.

    Figure 6.5. The no driver found dialog


6.3.3. Use a boot option to specify a driver update disk

Choose this method only for completely new drivers

This method only works to introduce completely new drivers, not to update existing drivers.
  1. Type linux dd at the boot prompt at the start of the installation process and press Enter. The installer prompts you to confirm that you have a driver disk:
    The driver disk prompt
    The driver disk prompt

    Figure 6.6. The driver disk prompt


  2. Insert the driver update disk that you created on CD, DVD, or USB flash drive and select Yes. The installer examines the storage devices that it can detect. If there is only one possible location that could hold a driver disk (for example, the installer detects the presence of a DVD drive, but no other storage devices) it will automatically load any driver updates that it finds at this location.
    If the installer finds more than one location that could hold a driver update, it prompts you to specify the location of the update. Refer to to Section 6.4, "Specifying the location of a driver update image file or driver update disk" .

6.3.4. Select a PXE target that includes a driver update

  1. Select network boot in your computer's BIOS or boot menu. The procedure to specify this option varies widely among different computers. Consult your hardware documentation or the hardware vendor for specifics relevant to your computer.
  2. In the preboot execution environment (PXE), choose the boot target that you prepared on your PXE server. For example, if you labeled this environment rhel6-dd in the /var/lib/tftpboot/pxelinux/pxelinux.cfg/default file on your PXE server, type rhel6-dd at the prompt and press Enter.
Refer to Section 6.2.3, "Preparing an initial RAM disk update" and Chapter 30, Setting Up an Installation Server for instructions on using PXE to perform an update during installation. Note that this is an advanced procedure - do not attempt it unless other methods of performing a driver update fail.

6.4. Specifying the location of a driver update image file or driver update disk

If the installer detects more than one possible device that could hold a driver update, it prompts you to select the correct device. If you are not sure which option represents the device on which the driver update is stored, try the various options in order until you find the correct one.
Selecting a driver disk source
The screen shows three devices that could hold a driver update

Figure 6.7. Selecting a driver disk source


If the device that you choose contains no suitable update media, the installer will prompt you to make another choice.
If you made a driver update disk on CD, DVD, or USB flash drive, the installer now loads the driver update. However, if the device that you selected is a type of device that could contain more than one partition (whether the device currently has more than one partition or not), the installer might prompt you to select the partition that holds the driver update.
Selecting a driver disk partition
The screen prompts you to select a partition. In this example, there is only one to choose from, /dev/sda1.

Figure 6.8. Selecting a driver disk partition


The installer prompts you to specify which file contains the driver update:
Selecting an ISO image
The screen prompts you to choose a file. In this example, the driver update image is dd.iso

Figure 6.9. Selecting an ISO image


Expect to see these screens if you stored the driver update on an internal hard drive or on a USB storage device. You should not see them if the driver update is on a CD or DVD.
Regardless of whether you are providing a driver update in the form of an image file or with a driver update disk, the installer now copies the appropriate update files into a temporary storage area (located in system RAM and not on disk). The installer might ask whether you would like to use additional driver updates. If you select Yes, you can load additional updates in turn. When you have no further driver updates to load, select No. If you stored the driver update on removable media, you can now safely eject or disconnect the disk or device. The installer no longer requires the driver update, and you can re-use the media for other purposes.
(Sebelumnya) 1 : Preface - Installation Guide1 : Chapter 7. Booting the Ins ... (Berikutnya)