PDA

View Full Version : Cannot mount cdrom



syamarupa
05-07-2007, 02:51 AM
Hi all ! biggest noob ever so forgive me, have searched everywhere for answer before coming here. I have just installed Knoppix on my hard drive, only problem is I cannot access my cdrom, when I try to mount it, I get error- mount: can't find /dev/hdc in /ect/fstab or /etc/mtab. Any ideas ? plz help.
Thanks in advance,
Syamarupa...

maxIT
05-07-2007, 06:09 PM
Put the entry in '/etc/fstab'.
Mine is:


/dev/cdrom /cdrom auto defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /cdrw auto defaults,ro,user,noexec,noauto 0 0


You can notice I've two drives, a 'read-only' one and a 'read&write' one.
Replace '/dev/cdrom' with '/dev/hdc'. As mount directory put one of your choice (es. /media/cdrom /cdrom etc.).
A detail that matter:


root@box:/home/max# ll /dev/cdrom /dev/cdrom1
lrwxrwxrwx 1 root root 9 Feb 17 12:12 /dev/cdrom -> /dev/scd0
lrwxrwxrwx 1 root root 9 Feb 17 12:12 /dev/cdrom1 -> /dev/scd1
root@box:/home/max# ll /dev/scd[01]
brw-rw---- 1 root cdrom 11, 0 May 31 2001 /dev/scd0
brw-rw---- 1 root cdrom 11, 1 May 31 2001 /dev/scd1

You can notice that '/dev/cdroms' are symlinks to '/dev/scd[01]', which are in 'cdrom' group. In case type 'chgrp cdrom /dev/scd[01]'.

captaininseino
05-20-2007, 01:12 PM
Hi,
make sure your are not trying to mount audiocd. I got this problem once.

http://www.linuxconfig.org/index.php/HowTo_mount_cdrom_in_linux