Driver Disk: Difference between revisions

From Leo's Notes
This page was last edited on 4 January 2022, at 04:48.
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux"
No edit summary
Line 1: Line 1:
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. Basically, a driver disk is an ext2 disk image which can be created in the following steps:
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.


== Create Driver Disk ==
== DKMS ==
<syntaxhighlight lang="bash" line enclose="div">
You can use <code>dkms mkdriverdisk</code> to build a driver disk.
# Create a blank, 20MB image
 
dd if=/dev/zero of=driverdisk.img bs=1M count=20
For example: <code>dkms mkdriverdisk -d redhat -m qla2x00</code>
 
== Manually ==
{{Highlight
| code = ## 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
   
   
# Format the image with ext2
## mount it and copy the files over
mkfs -t ext2 -q driverdisk.img
# mount -o loop driverdisk.img /mnt/driverdisk
   
   
# mount it and copy the files over
## copy drivers to /mnt/driverdisk, then run
mount -o loop driverdisk.img /mnt/driverdisk
# umount /mnt/tmp
| lang = terminal
# 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 {{code|linux expert}} or {{code|linux dd}} from the boot loader.
</syntaxhighlight>


Once you have the driver disk created, you will need to tell the installer to load it by booting into {{code|linux expert}} or {{code|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
*
{{Navbox Linux}}[[Category:Linux]]
{{Navbox Linux}}[[Category:Linux]]

Revision as of 04:48, 4 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.

DKMS

You can use dkms mkdriverdisk to build a driver disk.

For example: dkms mkdriverdisk -d redhat -m qla2x00

Manually

## 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