[lug] Ca;n't access CDROM

Doug Shaw shawd at hex.net
Tue Oct 26 15:23:40 MDT 1999

'/sbin/lsmod' to make sure that your CDROM-related modules are loading, if
you're using modules.  If you're running a stock redhat-6 install, you 
probably are.  '/sbin/lsmod' should show iso9660, and perhaps others 
(although I cannot recall them from memory and don't have a module-using
system handy).

Have you checked to make sure there IS a /dev/cdrom?  It should be a
symbolic link to a hd?? device, and this latter piece of information is
dependent on where your CDROM drive is on your IDE controller.  If you know
this latter piece of information and there is no /dev/cdrom, you can set it
up with:

	ln -s /dev/hd?? /dev/cdrom

(Of course you'll fill in hd?? with the proper name).

Try a specific mount command:
	mount -t iso9660 /dev/cdrom /mnt/cdrom
	mount -t iso9660 /dev/hd?? /mnt/cdrom

Rule number one in troubleshooting: trust nothing to be working as it
should.  To wit: in the above examples, mount should pull out the '-t
iso9660' information, and more, from /etc/fstab.  If, for some reason, it
is failing to do so (malformed syntax in /etc/fstab?) this will provide a
workaround as well as a clue.

You said you had been using things like:
	mount /mnt/cdrom
	mount /mnt/cdrom /dev/cdrom

mount's parameters should be <device> <mount point>, so in this latter
situation you'd be trying to mount the directory /mnt/cdrom on the hardware
device /dev/cdrom.  That won't work.

More information about the LUG mailing list