Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 13. Updating drivers during installation


You can update drivers during the Red Hat Enterprise Linux installation process. Updating drivers is completely optional. Do not perform a driver update unless it is necessary. Ensure you have been notified by Red Hat, your hardware vendor, or a trusted third-party vendor that a driver update is required during Red Hat Enterprise Linux installation.

13.1. Overview

Red Hat Enterprise Linux supports drivers for many hardware devices but some newly-released drivers may not be supported. A driver update should only be performed if an unsupported driver prevents the installation from completing. Updating drivers during installation is typically only required to support a particular configuration. For example, installing drivers for a storage adapter card that provides access to your system’s storage devices.

Warning

Driver update disks may disable conflicting kernel drivers. In rare cases, unloading a kernel module may cause installation errors.

13.2. Types of driver update

Red Hat, your hardware vendor, or a trusted third party provides the driver update as an ISO image file. Once you receive the ISO image file, choose the type of driver update.

Types of driver update
  • Automatic: In this driver update method; a storage device (including a CD, DVD, or USB flash drive) labeled OEMDRV is physically connected to the system. If the OEMDRV storage device is present when the installation starts, it is treated as a driver update disk, and the installation program automatically loads its drivers.
  • Assisted: The installation program prompts you to locate a driver update. You can use any local storage device with a label other than OEMDRV. The inst.dd boot option is specified when starting the installation. If you use this option without any parameters, the installation program displays all of the storage devices connected to the system, and prompts you to select a device that contains a driver update.
  • Manual: Manually specify a path to a driver update image or an RPM package. You can use any local storage device with a label other than OEMDRV, or a network location accessible from the installation system. The inst.dd=location boot option is specified when starting the installation, where location is the path to a driver update disk or ISO image. When you specify this option, the installation program attempts to load any driver updates found at the specified location. With manual driver updates, you can specify local storage devices or a network location (HTTP, HTTPS or FTP server). You can use both inst.dd=location and inst.dd simultaneously, where location is the path to a driver update disk or ISO image. In this scenario, the installation program attempts to load any available driver updates from the location and also prompts you to select a device that contains the driver update.
Limitations
On UEFI systems with the Secure Boot technology enabled, all drivers must be signed with a valid certificate. Red Hat drivers are signed by one of Red Hat’s private keys and authenticated by its corresponding public key in the kernel. If you load additional, separate drivers, verify that they are signed.

13.3. Preparing a driver update CD or DVD

You can prepare a driver update on a CD or DVD to perform a driver update during installation.

Prerequisites

  • You have received the driver update ISO image from Red Hat, your hardware vendor, or a trusted third-party vendor.
  • You have burned the driver update ISO image to a CD or DVD.
Warning

If only a single ISO image file ending in .iso is available on the CD or DVD, the burn process has not been successful. See your system’s burning software documentation for instructions on how to burn ISO images to a CD or DVD.

Procedure

  1. Insert the driver update CD or DVD into your system’s CD/DVD drive, and browse it by using the system’s file manager tool.
  2. Verify that a single file rhdd3 is available. rhdd3 is a signature file that contains the driver description and a directory named rpms, which contains the RPM packages with the actual drivers for various architectures.

13.4. Preparing a driver update USB drive

You can prepare a driver update on a USB flash drive to perform a driver update during installation.

Prerequisites

  • You have received the driver update ISO image from Red Hat, your hardware vendor, or a trusted third-party vendor.
  • You have prepared a USB flash drive with a file system compatible with RHEL to place the driver update ISO on.

Procedure

  1. Connect the USB drive to your computer and find out what device it was assigned by the system. To find the assigned device, you can inspect the output of dmesg or lsblk -o +MOUNTPOINT command.
  2. Find out if the drive has been mounted and what the mount point is (based on the output of lsblk command). If it’s not mounted, mount it manually:

    1. Optional: Create a mount point directory:

      mkdir /path/to/mountpoint
    2. Mount the USB device’s partition in the mount point directory. The following example assumes that the device’s partition that will be used for storing the driver update ISO file is /dev/sdb1 and the mount point is /mnt/usbdrive:

      sudo mount /dev/sdb1 /mnt/usbdrive
  3. Copy the driver update ISO file on the USB drive.

    The following example assumes that the mount point is /mnt/usbdrive and the ISO file’s location is /home/user/driverdisk.iso:

    sudo cp /home/user/driverdisk.iso /mnt/usbdrive
  4. Unmount the USB device by using the umount command.

    sudo umount /mnt/usbdrive

13.5. Performing an automatic driver update

You can perform an automatic driver update during installation.

Prerequisites

  • You have placed the driver update image on a standard disk partition with an OEMDRV label or burnt the OEMDRV driver update image to a CD or DVD or written it to a USB drive. Advanced storage, such as RAID or LVM volumes, may not be accessible during the driver update process.
  • You have connected a block device with an OEMDRV volume label containing the driver update disk to your system, or inserted the prepared CD or DVD into your system’s CD/DVD drive or connected the prepared USB drive before starting the installation process.

Procedure

  • When you complete the prerequisite steps, the drivers load automatically when the installation program starts and installs during the system’s installation process.

13.6. Performing an assisted driver update

You can perform an assisted driver update during installation to install necessary drivers for new or existing hardware.

Prerequisites

  • You have connected a block device without an OEMDRV volume label to your system and copied the driver disk image to this device, or you have prepared a driver update CD or DVD and inserted it into your system’s CD or DVD drive or you have prepared a USB device with the driver disk and connected it to your computer before starting the installation process.
Note

If you burn an ISO image file to a CD or DVD or write an ISO image file to a USB drive but it does not have the OEMDRV volume label, you can use the inst.dd option with no arguments. The installation program provides an option to scan and select drivers from the CD, DVD or USB drive. In this scenario, the installation program does not prompt you to select a driver update ISO image. Another scenario is to use the CD, DVD or USB drive with the inst.dd=location boot option; this allows the installation program to automatically scan the CD, DVD or USB drive for driver updates. For more information, see Performing a driver update

Procedure

  1. From the boot menu window, press the E key on your keyboard to display the boot command line.
  2. Append the inst.dd boot option to the command line beginning with linux or linuxefi and press Ctrl+X to execute the boot process.
  3. From the menu, select a local disk partition or a CD, DVD, or USB device. The installation program scans for ISO files, or driver update RPM packages.
  4. Optional: Select the driver update ISO file.

    This step is not required if the selected device or partition contains driver update RPM packages rather than an ISO image file, for example, an optical drive containing a driver update CD, DVD or a USB drive that the ISO file has been written on.

  5. Select the required drivers.

    1. Use the number keys on your keyboard followed by Enter key to toggle the driver selection.
    2. Press c followed by Enter to install the selected driver. The selected driver is loaded and after pressing c and Enter again to exit the driver disk device selection, the installation process starts.

13.7. Performing a manual driver update

You can perform a manual driver update during installation to install necessary drivers for new or existing hardware.

Prerequisites

  • You have placed the driver update ISO image file on a USB flash drive or a web server and connected it to your computer.

Procedure

  1. From the boot menu window, press the E key on your keyboard to display the boot command line.
  2. Append the inst.dd=location boot option to the command line, where location is a path to the driver update. 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.
  3. Press Ctrl+X to execute the boot process. The drivers available at the specified location are automatically loaded and the installation process starts.

13.8. Disabling a driver

You can disable a malfunctioning driver during the installation process.

Prerequisites

  • You have booted into the installation media’s bootloader (GRUB) menu.

Procedure

  1. From the boot menu, press the E key on your keyboard to display the boot command line.
  2. Append the modprobe.blacklist=driver_name boot option to the command line.

    Replace driver_name with the name of the driver or drivers you want to disable, for example:

    modprobe.blacklist=ahci

    Drivers disabled by using the modprobe.blacklist= boot option remain disabled on the installed system and appear in the /etc/modprobe.d/anaconda-blacklist.conf file.

  3. Press Enter to execute the boot process.
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2026 Red Hat
Retour au début