LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cdrom drive won't work - been through "obvious" (https://www.linuxquestions.org/questions/linux-newbie-8/cdrom-drive-wont-work-been-through-obvious-182054/)

lrt2003 05-16-2004 10:21 AM

Cdrom drive won't work - been through "obvious"
 
Hello..

I am trying to get my cdrom drive to work on a fresh install of Fedora Core 1. It installed with the cdrom, so I know the cdrom drive works...

I tried... as root..(there is a /mnt/cdrom directory btw)

mount /mnt/cdrom - I get- mount: not a directory

then

mount /dev/cdrom /mnt/cdrom - mount: block device /dev/cdrom is write-protected, mounting read-only
mount: Not a directory

then mount -t iso9660 (and above commands..) nothing

then mount /dev/sr0 /mnt/cdrom- mount: special device /dev/sr0 does not exist (same as sr1)

then mount /dev/srnd0 /mnt/cdrom - mount: /dev/srnd0 is not a block device

- I'm stuck.

wrongman 05-16-2004 10:55 AM

i've debian, so i don't know, but my cdrom is under /dev/hdd
so i do
mount -t iso9660 /dev/hdd /mnt/cdrom

wrongman 05-16-2004 10:58 AM

the strange thing is this:
mount /dev/cdrom /mnt/cdrom - mount: block device /dev/cdrom is write-protected, mounting read-only
mount: Not a directory

usually when it says
mount: block device /dev/cdrom is write-protected, mounting read-only
it means that it mounted the cd... have no clue sorry

urka58 05-16-2004 04:03 PM

Can you post your /etc/fstab ?
It could tell something...
Ciao

lrt2003 05-16-2004 04:51 PM

mount -t iso9660 /dev/hdd /mnt/cdrom
mount: /dev/hdd is not a valid block device

fstab:

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


this is really weird...

thx for any help

urka58 05-16-2004 05:23 PM

try a couple of commands
ls -l /dev/cdrom
ls -l /mnt/cdrom

this should tell you about permissions of such device/directory
then post it the output
Ciao

J.W. 05-16-2004 08:58 PM

First of all, what are you trying to do? If it's just to play an audio CD, you don't need to mount it. I think you are on the right path, but you are either misclassifying the file type, or passing in parameters you don't need to. If you can give some more specifics about what is on the CD, that would be helpful. -- J.W.

detpenguin 05-16-2004 09:17 PM

i'm gonna take a wild guess here, so if i'm wrong, i apologize for wasting space, but is it possible you have a samsung cd-rom? i know with red hat and fedora, for some reason, they don't recognize certain samsung cdroms...there is a work around for this, but i can't find the post at the moment...if i find it, i'll post back to you...but i know it was in the red hat distro section here, so you might do a search here about cdroms and redhat/fedora

lrt2003 05-16-2004 11:04 PM

It's an old HP cdrom (from the 233mhz setup)... I am not at home now but I can find out the model number when I get home (I think)

I'll also do these
ls -l /dev/cdrom
ls -l /mnt/cdrom

(but I was trying the commands from root though- heck, I even did it from user also to check)

Few hours till I get home though...

bruno buys 05-16-2004 11:57 PM

Your cdrom device is /dev/cdrom (by your fstab). The right command should be:

mount /dev/cdrom /mnt/cdrom
If it mounts read-only this is irrelevant, cause the cd is already read-only.
what is the "udf" doing in the fstab? Did you try to remove it and check?

lrt2003 05-17-2004 05:25 AM

ah, ls -l /dev/cdrom did it...!

default]$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 8 May 16 22:08 /dev/cdrom -> /dev/hdc
default]$ ls -l /mnt/cdrom
total 0
mount /dev/hdc /mnt/cdrom
mount: block device /dev/hdc is write-protected, mounting read-only
default]# cd /mnt/cdrom
cdrom]# ls
success!!

thanks

bruno buys 05-17-2004 07:01 AM

Cool!


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