Click to See Complete Forum and Search --> : Cannot access Cdrom from desktop


tzb1
08-14-2002, 06:32 PM
I am a new user to linux and tried to access a data cd from the drive that installed linux.

I keep getting and error

"unable to run the command specified. The file or directory File:/auto/cdrom does not exist."

If I try to mount the cdrom manually with the following command

mount -t iso9660 /dev/cdrom /mnt/cdrom

I get the following message
"unable to identify cd-rom format Mount: wrong fs type, bad option, bad super block on /dev/cdrom or too many mounted file systems"

I am not sure what to do and am getting frustrated.

afterthefall
08-15-2002, 03:42 AM
"mount /dev/cdrom" should mount the cdrom to /mnt/cdrom no problem. If you don't specify the type, then mount will guess the filesystem and take care of it from there.

Just don't forget to "umount /mnt/cdrom" before you eject it from the tray.

:D Brian

mdwatts
08-15-2002, 08:23 AM
Try mounting using the actual device instead of /dev/cdrom.

mount -t iso9660 /dev/hdc /mnt/cdrom

Change hdc to whatever device your cdrom is.

I know either Mandrake or Redhat has a known problem with the cdrom modules.

cd /lib/modules/<kernel version>

depmod -ae

Then try mounting again.

JohnT
08-15-2002, 09:28 AM
My MDK 8.2 mounts with

/mnt/cdrom

from the desktop icon.

tzb1
08-15-2002, 03:08 PM
Thanks for the suggestion MDWATTS, That worked. I can see the data on the cd from command line. I cannot from icon, but I will look at that later.

mdwatts
08-15-2002, 03:27 PM
mount -t iso9660 /dev/hdc /mnt/cdrom will actually bypass whatever you have defined in /etc/fstab for you cdrom.

Next thing to try is first umount your cdrom

umount /mnt/cdrom

and with a data cd still in the drive, try

mount /mnt/cdrom

which will look to /etc/fstab to get the rest of what it needs.

If that works, then you know something is wrong with the desktop icon.

JohnT
08-15-2002, 06:07 PM
My MDK 8.2 /etc/fstab

/mnt/cdrom /mnt/cdrom supermount dev=/dev/hdb,fs=iso9660,ro,--,iocharset=iso8859-1 0 0

Indicate proper device for your setup. eg:/hdb