Driver Disk: Difference between revisions
Added information on using a driver disk |
m Leo moved page Creating a Driver Disk to Driver Disk |
||
(No difference)
| |||
Revision as of 19:06, 31 January 2022
Red Hat allows for 'driver disks' to be loaded during an install in case there is no out-of-the-box driver support for a specific piece of hardware.
Using a driver disk
Locating an appropriate driver
If you have an older server that requires a driver that's been dropped, you can most likely find it from ElRepo's DUD repo that is appropriate for your distro version. For example, for RHEL8: https://elrepo.org/linux/dud/el8/x86_64/.
Using a driver disk with Anaconda
To use a driver disk, append inst.dd=location to the kernel arguments by hitting tab while on the grub menu. inst.dd supports network locations via HTTP, FTP, or NFS, and also a local device. For example: inst.dd=http://url/driver.iso, inst.dd=nfs:server/export, inst.dd=/dev/sdb
If you intend to use a removeable device such as a USB stick, floppy, or an iDRAC virtual device, you will need copy the contents of the ISO file into a vfat formatted partition. Eg:
# dd if=/dev/zero of=driver.img bs=1M count=1
# mkfs.vfat driver.img # Note: mkfs.vfat is provided by dosfstools
# mount -o loop driver.img /mnt
# cp -r /iso-contents/* /mnt
# umount /mnt
Debugging issues
If for some reason Anaconda doesn't start after specifying a driver disk, you can have systemd log to the console to help troubleshoot the issue by appending the following to the kernel arguments:
systemd.log_target=console systemd.log_level=debug
Creating a driver disk
Using DKMS
You can use dkms mkdriverdisk to build a driver disk.
For example: dkms mkdriverdisk -d redhat -m qla2x00
Manually creating a disk
## Create a blank, 20MB image
# dd if=/dev/zero of=driverdisk.img bs=1M count=20
## Format the image with ext2
# mkfs -t ext2 -q driverdisk.img
## mount it and copy the files over
# mount -o loop driverdisk.img /mnt/driverdisk
## copy drivers to /mnt/driverdisk, then run
# umount /mnt/tmp
Once you have the driver disk created, you will need to tell the installer to load it by booting into linux expert or linux dd from the boot loader.
See also
- http://archive.download.redhat.com/pub/redhat/linux/8.0/it/doc/RH-DOCS/rhl-ig-x86-en-8.0/ch-driverdisk.html
- How to boot Rocky Linux 8 on a Dell R710