Specifications
The table above shows the relation of device file names and the placing of devices on the IDE busses. The
device file name representing your CD−Writer has to be passed to the driver in the Linux kernel. Example:
hdb=ide−scsi. Such a setting should be added to lilo.conf or chos.conf if the driver is statically compiled into
your kernel, which seems to be the most common setup. If you need to pass more than one parameter to the
kernel, then seperate them with spaces (like shown in the chos example). The next two listings show example
configurations containing more lines than just the relevant append−line. Please note the append− and
cmdline−entries are image−specific (ie. don't add them immediatly at the top).
image=/boot/zImage−2.2.14
label=Linux
read−only
append="hdb=ide−scsi"
Listing: Example configuration for lilo (/etc/lilo.conf)
linux "Linux 2.1.14" {
image=/boot/zImage−2.0.37
cmdline= root=/dev/hda5 readonly hdb=ide−scsi
}
Listing: Example configuration for chos (/etc/chos.conf)
If the driver for IDE/ATAPI CD−ROMs is loaded as a module, then the above won't make any difference to
you, but make sure you include the options−line from the next listing. The last three lines of that listing are
generally suggested to further automate the loading of the required modules.
options ide−cd ignore=hdb # tell the ide−cd module to ignore hdb
alias scd0 sr_mod # load sr_mod upon access of scd0
#pre−install ide−scsi modprobe imm # uncomment for some ZIP drives only
pre−install sg modprobe ide−scsi # load ide−scsi before sg
pre−install sr_mod modprobe ide−scsi # load ide−scsi before sr_mod
pre−install ide−scsi modprobe ide−cd # load ide−cd before ide−scsi
Listing: Example configuration for /etc/modules.conf
If your CD−writer is the only CD−ROM attached to your machine, then remember you have to access the
CD−ROM in the writer through the device file /dev/scd× where ×=0,..,8. You may want to change the
symbolic name cdrom to point to the new device file name. The listing below shows the command to achieve
this with the example scd0.
cd /dev && rm cdrom && ln −s scd0 cdrom
Listing: Making cdrom a symbolic name for scd0
If your CD−writer and CD−ROM−drive are two different devices, then don't change the cdrom symlink.
CD−Writing HOWTO
2.1 Quickstart 11