Click to See Complete Forum and Search --> : cdrom is not working


ecstasy
11-30-2001, 08:58 AM
When i try to mount cdrom, it says it can't find cdrom device file or someting in /etc/fstab or in /etc/mtab?
What to do?
Thanx

dgcartel
11-30-2001, 09:13 AM
do a cat /etc/fstab paste your output here.. Thanks.

David Dorward
11-30-2001, 10:08 AM
In a mount command you need to provide two things, the DEVICE to mount and the LOCATION to mount it to. (Everything else it can guess).

To save time, and let non-root users mount stuff) the file /etc/fstab contains a list of devices and the locations they should be mounted.

The man page for fstab is pretty comprehensive, but check the file - you might be trying to mount /cdrom or ./cdrom when you want /mnt/cdrom.

crokett
11-30-2001, 12:50 PM
your /etc/fstab needs to have a line in it that looks something like this:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner 0 0

this tells linux to mount /dev/cdrom to /mnt/cdrom and use filesystem type iso9660. noauto means it will not automount (be mounted when the machine boots)