Updating Drivers During Installation on IBM Power Systems
In most cases, CentOS 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 CentOS 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.
Driver updates should only be performed if a missing driver prevents you to complete the installation successfully. The drivers included in the kernel should always be preferred over drivers provided by other means.
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 such a situation, complete the installation and add support for the new hardware afterward - see Red Hat Enterprise Linux 7 System Administrator’s Guide 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 installation program 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:
place the ISO image file of the driver disc in a location accessible to the installation program, on a local hard drive, on a USB flash drive, or on a CD or DVD.
create a driver disc by extracting the image file onto a CD or a DVD, or a USB flash drive. See the instructions for making installation discs in Making an Installation CD or DVD for more information on burning ISO image files to a CD or DVD, and Making Installation USB Media for instructions on writing ISO images to USB drives.
If CentOS, 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. The presence of a driver on a system for which it was not intended can complicate support.
Driver update disks sometimes disable conflicting kernel drivers, where necessary. In rare cases, unloading a kernel module in this way can cause installation errors.
If a driver update is necessary and available for your hardware, CentOS, your hardware vendor, or another trusted third party will typically provide it in the form of an image file in ISO format. Once you obtain the ISO image, you must decide on the method you want to use to perform the driver update.
The available methods are:
- Automatic driver update
When starting the installation, the Anaconda installation program will attempt to detect all attached storage devices. If there is a storage device labeled
OEMDRVpresent when the installation begins, Anaconda will always treat it like a driver update disc and attempt to load drivers present on it.
- Assisted driver update
You can specify the
inst.ddboot option when starting the installation. If you use this option without any parameters, Anaconda will display a list of all storage devices connected to the system, and it will prompt you to select a device which contains a driver update.
- Manual driver update
You can specify the
inst.dd=locationboot option when starting the installation, where location is the path to a driver update disc or ISO image. When you specify this option, Anaconda will attempt to load any driver updates it finds at the specified location. With manual driver updates, you can specify either locally available storage devices, or a network location (an
You can also use both
If you want to use the automatic driver update method, you must create a storage device labeled
OEMDRV, and it must be physically connected to the installation system. To use the assisted method, you can use any local storage device any label other than
OEMDRV. To use the manual method, you can use any local storage with a different label, or a network location accessible from the installation system.
Make sure to initialize the network using the
If you use a local storage device to provide the ISO file, such as a hard drive or USB flash drive, you can make the installation program to recognize it automatically by properly labeling the device. Only if it is not possible, install the update manually as described below.
In order for the installation program to automatically recognize the driver disk, the volume label of the storage device must be
OEMDRV. Also, you will need to extract the contents of the ISO image file to the root directory of the storage device rather than copy the ISO image itself. See Automatic Driver Update (ppc). Note that installation of a driver from a device labeled
OEMDRVis always recommended and preferable to the manual installation.
For manual installation, simply copy the ISO image, as a single file, onto the storage device. You can rename the file if you find it helpful but you must not change the file name extension, which must remain
.iso, for example
dd.iso. See Assisted Driver Update (ppc) to learn how to select the driver update manually during installation.
You can create a driver update disc on a CD or DVD. See Making an Installation CD or DVD to learn more about burning discs from image files.
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, which is a signature file that contains the driver disc’s description, and a directory named
rpms, which contains the RPM packages with the actual drivers for various architectures.
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.
At the very beginning of the installation process, you can perform a driver update in the following ways:
let the installation program automatically find and offer a driver update for installation,
let the installation program prompt you to locate a driver update,
manually specify a path to a driver update image or an RPM package.
Always make sure to put your driver update discs on a standard disk partition. Advanced storage, such as RAID or LVM volumes, might not be accessible during the early stage of the installation when you perform driver updates.
To have the installation program automatically recognize a driver update disc, connect a block device with the
OEMDRV volume label to your computer before starting the installation process.
You can also use the
When the installation begins, the installation program detects all available storage connected to the system. If it finds a storage device labeled
OEMDRV, it will treat it as a driver update disc and attempt to load driver updates from this device. You will be prompted to select which drivers to load:
Use number keys to toggle selection on individual drivers. When ready, press c to install the selected drivers and proceed to the Anaconda graphical user interface.
It is always recommended to have a block device with the
OEMDRV volume label available to install a driver during installation. However, if no such device is detected and the
inst.dd option was specified at the boot command line, the installation program lets you find the driver disk in interactive mode. In the first step, select a local disk partition from the list for Anaconda to scan for ISO files. Then, select one of the detected ISO files. Finally, select one or more available drivers. The image below demonstrates the process in the text user interface with individual steps highlighted.
If you extracted your ISO image file and burned it on a CD or DVD but the media does not have the
Hit number keys to toggle selection on individual drivers. When ready, press c to install the selected drivers and proceed to the Anaconda graphical user interface.
For manual driver installation, prepare an ISO image file containing your drivers to an accessible location, such a USB flash drive or a web server, and connect it to your computer. At the welcome screen, hit Tab to display the boot command line and append the
inst.dd=location to it, where location is a path to the driver update disc:
Typically, the image file is located on a web server (for example, http://server.example.com/dd.iso) or on a USB flash drive (for example, /dev/sdb1). It is also possible to specify an RPM package containing the driver update (for example http://server.example.com/dd.rpm).
When ready, hit Enter to execute the boot command. Then, your selected drivers will be loaded and the installation process will proceed normally
A malfunctioning driver can prevent a system from booting normally during installation. When this happens, you can disable (or blacklist) the driver by customizing the boot command line. At the boot menu, display the boot command line by hitting the Tab key. Then, append the
modprobe.blacklist=driver_name option to it. Replace driver_name with names of a driver or drivers you want to disable, for example:
Note that the drivers blacklisted during installation using the
modprobe.blacklist= boot option will remain disabled on the installed system and appear in the
/etc/modprobe.d/anaconda-blacklist.conf file. See Boot Options for more information about blacklisting drivers and other boot options.