8.1. DisksThe Linux kernel supports a wide range of different disk types. This section shows how to configure the kernel so that it supports most of the more common types of disk controllers. 8.1.1. USB StorageTo use a USB storage device (commonly referred to as USB "flash" device, or an external USB disk drive) USB support must be first working properly. Refer to the recipe in the section called "USB" for how to do this. A USB storage device can be identified by using the lsusb program. If the following command sequence produces the results shown, a USB storage device is present on the system: $ /usr/sbin/lsusb -v | grep Storage bInterfaceClass 8 Mass Storage Enable it as follows.
A number of specific USB storage devices are listed as separate configuration items, as they do not follow the standard USB specification and require special code. If you have one of these devices, please enable support for them. 8.1.2. IDE DisksIDE disks are the most common type of PC disks. The device that enables them to work properly is an IDE disk controller. To determine whether you have a IDE disk controller on the system, use the lspci command in the following manner:[*]
$ which lspci /usr/sbin/lspci
$ /usr/sbin/lspci | grep IDE 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) Note that your response will probably not be identical; what is important is that the command shows some an IDE controller (the first device in the previous example.) If you find only SATA controllers, please see the next section "Serial ATA (SATA)." Now perform the following steps.
This opens up a lengthy submenu of the different IDE controller types. Select the proper one based on the name of the device you found in the lspci step. 8.1.3. Serial ATA (SATA)SATA is a type of disk controller that is the successor to the IDE disk controller. To determine if you have a SATA disk controller on the system, run the following command: $ /usr/sbin/lspci | grep SATA 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) Note that your response will probably not be identical; what is important is that the command shows some SATA devices. SATA disks use a kernel library called libata that handles most of the SATA-specific functionality. That library uses the SCSI layer to talk to the block layer, so several different kernel options need to be enabled in order for SATA disks to work properly.
8.1.4. Burning a CD-ROMBurning a CD-ROM is very simple on Linux. If your kernel can support reading from a CD-ROM, it can also support burning a CD-ROM. There are two ways to enable CD-ROM support in Linux, one for IDE drives and one for SCSI and SATA drives. 8.1.4.1. IDE CD-ROM drivesIDE CD-ROM drives are controlled by the same IDE controller as your main IDE disk drives. Make sure the IDE controller is properly supported as described earlier in "IDE Disks." If it is properly supported, only one other configuration item needs to be selected: Device Drivers [*] ATA/ATAPI/MFM/RLL support [*] Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support [M] Include IDE/ATAPI CDROM support 8.1.4.2. SCSI and SATA CD-ROM drivesSATA and SCSI CD-ROM drives are controlled by the same controller as your main disk drives. Make sure the SATA or SCSI controller is properly supported. For SATA disks, see the earlier section "Serial ATA (SATA)." To support SATA or SCSI CD-ROM drives, the SCSI CD-ROM driver must be enabled: Device Drivers SCSI Device Support [*] SCSI CDROM support Once that is enabled, the SATA or SCSI CD-ROM drive should work properly. |