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.
1. 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"
| |
For
GRUB the file looks like this:
Code:
#boot=/dev/hda default=1 timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title 2.4.18 root (hd1,0) kernel
/boot2418/vmlinuz ro root=/dev/hdb1 hdd=ide-scsi
hdc=ide-scsi ide0=ata66 ide1=ata66 mem=nopentium
initrd /boot2418/initrd-2.4.18.img
| |
2.
in the directory /dev/ delete any links to cdrom and create links to
the drives files
(which will be scsi) i.e.
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
| |
3.
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.
4. install xcdroast - this is trival in debain and redhat
systems because the package systems will tell you what you need. 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
5. reboot. This is
needed to have the LILO changes take effect.
6. insert
modules for scsi emulation. These are ide-scsi and sg.
modprobe ide-scsi modprobe sg 7. 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.