I also have a DVD and a CDRW.
Here's my fstab:
/dev/hda6 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 1 1
/dev/hda7 /home ext3 defaults 1 2
/dev/hda1 /winduhs vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/scd0 /mnt/scd0 iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
As you can see my DVD (hdc) is /dev/cdrom and gets mounted at /mnt/cdrom.
This is fine as I believe Slack will automatically symlink /dev/cdrom to /dev/dvd
during install. If it doesn't you can do this yourself.
/dev/scd0 is my CDRW (hdd)
It is an ide burner that is run with scsi emulation, which is required with kernel 2.4.x.
I had to add the /dev/scd0 line to fstab myself.
I also added the directory /scd0 to /mnt.
You will also need to append /etc/lilo.conf as follows:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdd=ide-scsi"
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
blah, blah, blah.
This is assuming of course that your CDRW is hdd. Adjust to suit.
After editing /etc/lilo.conf you must run:
/sbin/lilo as root, then reboot.
Also you will see I have changed all removable media drives in
fstab to user instead of owner
(/dev/scd0 /mnt/scd0 iso9660 noauto,user 0 0)
I then added myself to the disk and floppy group, then did a
chmod 660
for /dev/cdrom, /mnt/cdrom, /dev/scd0, /mnt/scd0, /dev/fd0, and /mnt/floppy .
so I can use them as a regular user.
That should do it.
Last edited by auditek747; 07-12-2004 at 04:04 PM.
|