LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   mounting a cdrom drive (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/mounting-a-cdrom-drive-181719/)

gearoid 05-15-2004 07:55 AM

mounting a cdrom drive
 
hey,

I am having trouble mounting a cdrom drive. I am running red hat 9 on a dell laptop and when I type the command (as root of course)
Code:

mount /dev/cdrom /mnt/cdrom
I get the following message...

mount: block device /dev/cdrom is write-protected, mounting read only
mount: No medium found

But when I put in a cd and type
Code:

ls -l /mnt/cdrom
all I get is total 0. I have never had problems mounting my cdrom drive before. Is this because I am trying to read from a cd I burned from windows. The disc contains the source code of strace as a .tar.bz2 so this should surely open right? But the thing is audio cds won't even open with the cd player program... I am truely lost with this. Any help would be greatly appreciated.

Oh my /etc/fstab contains...

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 /swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

and my /etc/mtab contains....

/dev/hda2 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0

you might notice that there is no mention of a cdrom drive in my /etc/mtab file. Can anyone see anything from any of this. It is driving me mad! Pease help!!!....

Gearóid

MustangCSA 05-15-2004 08:05 AM

Do you have the CD in the drive before you mount it?

gearoid 05-15-2004 08:09 AM

either way I still get the same no media found message. DOes it matter if I have a cd in there first or not?

Aussie 05-15-2004 08:12 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 12:12 PM.