by pbharris
Last Updated September 7, 2002
(Transferred from the wiki by Peter)

Typically there is no need to compile kernel (every distribution I have used has the modules already installed, these are RedHat, Slackware and Debian) , just load proper modules, edit your lilo.conf file. here is how i did it.

Any atapi/mmc compliant cdrw should work.I have one cdrom(hdc), one cd writer (the hp 8100, aka hdd). i use xcdroast for toasting software. I use hdc to rip music, to do this with xcdroast scsi emulation needs to be on for it too, if the drive is atapi/mmc compliant then there are no problems. i could use the burner to rip music, but it is slower and much more expensive than the plain old cd-rom.

  • Edit lilo.conf or your grub.conf file so there is a line which says append=" hdc=ide-scsi hdd=ide-scsi" for lilo or hdd=ide-scsi hdc=ide-scsi for GRUB. this needs to be done in the section under image=/boot/vlinuz Here is a small example:

Code:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=150
message=/boot/message
linear
default=linux

image=/boot249/vmlinu
label=linux
read-only
root=/dev/hdb1
append="hdc=ide-scsi hdd=ide-scsi"
  • In the directory /dev/ delete any links to cdrom and create links to the drives files (which will be scsi) i.e.

Code:
rm /dev/cdrom*
ln -s /dev/scd0 /dev/cdrom
ln -s /dev/scd1 /dev/cdrom1
You will want the file /etc/fstab to map to these correctly, the nice thing about symbolic links is that they work with any device file. My /etc/fstab has these entries:
Code:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro,unhide 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,ro 0 0
  • Run /sbin/lilo - this will make the chahges in lilo take effect, if you are using GRUB there is no ned to re-run this.


  • Install xcdroast - this is trival in debain and redhat systems because the package systems will tell you what you ned. but in slackware you will need to also make sure mkisofs and cdrecord are installed plus the loop devices for the cdrom filesystem to be created. But if you are using slackware you are probably writing how-tos, not reading them


  • Reboot. This is needed to have the LILO changes take effect.


  • Insert modules for scsi emulation. These are ide-scsi and sg.

Code:
modprobe ide-scsi
modprobe sg
  • Use the xcdroast setup program and burn CDs, or use the command line! This command should work cdrecord -dev 0,1,0 speed=4 discname.iso. The speed of the burner is 4 and it will use device 0,1,0. This device was obtained by issuing the command cdrecord -scanbus.

Many thanks to Fancy Piper and the CD writing how-to for helping me make this hopefully succinct and simple.