These instructions assume you have only one CD device, and that it is your burner, and that it is known by a symbolic link of /dev/cdrom. If you have more devices, it should not be too hard to determine how to modify these instructions. For instance, I have two on the machine where I tested these instructions, they are known by the symbolic links /dev/cdrom and /dev/cdrw. I simply replaced /dev/cdrom with /dev/cdrw.
First, make sure your drive is working as an IDE device. This means you can mount the device when there is a cd in it.
Second, edit your boot configuratino file. This will either by /etc/lilo.conf or menu.lst depending on whether your use LILO, or Grub (respectively) to boot. If you use LILO, insert the following under your present boot section:
append = "hd?=ide-scsi"/sbin/liloOn the other hand, if you use Grub, you simply add:
hd?=ide-scsi
Now, you reboot. And after the system comes up, your burner is treated as a SCSI device. There are some configuration files that need to be edited to see the device now that it is SCSI. Some systems (Caldera) and most cd-burning apps (xcdroast, etc) expect your device to now be a /dev/sr? device. A few distros (Red Hat) list the device as /dev/scd?. In any case, these instructions will use /dev/sr? as that's what the burning program(s) want.
Whatever your system uses, you'll find that the device number (shown by ls -lad /dev) is 11,0. If you're on a Red Hat system simply create the correct device:
mknod /dev/sr0 11 0cd /dev/[ -f loop0 ] || for i in 0 `seq 7`; do mknod loop$i b 7 $i;done[-f sg0 -o -f sga ] || for i in 0 `seq 7`; do mknod sg$i c 21 $i; done
Examine your
Now, make sure the following modules are either built into the kernel, or loaded at boot:
Assuming you've rebooted to load the correct modules, put a cd in the burner and try to mount it. If it mounts, you're well on your way to completion. Load up your favorite burning program (xcdroast, gcombust, etc, read the program's docs, and try it out.
If you'd like to create a desktop icon so the burner can be auto-mounted, follow these instruction. Edit /etc/fstab/CODE> file and find the line for /mnt/cdrom. If this line contains /dev/hd?, change this to sr?. If, instead, the line contains /dev/cdrom, then /dev/cdrom is probably a symbolic link to the IDE device.Correct the symbolic link in /dev :
cd /devrm cdromln -s sr0 cdrom
You might need to edit /etc/modules/default or /etc/rc.d/rc.modules or /etc/rc.modules or /etc/modules.default or /etc/default.modules or /etc/modules.conf or maybe even /etc/conf.modules.
/etc/am.d/localdev/CODE> and insert: