LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2004, 10:21 AM   #1
lrt2003
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 182

Rep: Reputation: 30
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.
 
Old 05-16-2004, 10:55 AM   #2
wrongman
Member
 
Registered: May 2004
Location: Italy
Distribution: Debian Unstable 64bit
Posts: 99

Rep: Reputation: 15
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
 
Old 05-16-2004, 10:58 AM   #3
wrongman
Member
 
Registered: May 2004
Location: Italy
Distribution: Debian Unstable 64bit
Posts: 99

Rep: Reputation: 15
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
 
Old 05-16-2004, 04:03 PM   #4
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
Can you post your /etc/fstab ?
It could tell something...
Ciao
 
Old 05-16-2004, 04:51 PM   #5
lrt2003
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 182

Original Poster
Rep: Reputation: 30
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
 
Old 05-16-2004, 05:23 PM   #6
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
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
 
Old 05-16-2004, 08:58 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
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.
 
Old 05-16-2004, 09:17 PM   #8
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
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
 
Old 05-16-2004, 11:04 PM   #9
lrt2003
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 182

Original Poster
Rep: Reputation: 30
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...
 
Old 05-16-2004, 11:57 PM   #10
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
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?
 
Old 05-17-2004, 05:25 AM   #11
lrt2003
Member
 
Registered: Mar 2004
Distribution: Fedora 10
Posts: 182

Original Poster
Rep: Reputation: 30
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
 
Old 05-17-2004, 07:01 AM   #12
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Cool!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
chrooted user: "write" and "talk" don't work. ldp Linux - Software 2 04-12-2005 02:05 AM
"depmod" and "modprobe" commands don't work The1PatO Fedora 7 06-10-2004 12:10 PM
"<" ">" Keyboard keys on Toshiba Satellite 1005-s157 dont work RodCas Linux - Laptop and Netbook 1 05-08-2004 04:22 PM
Why do scripts like "./install" and "./configure" not work for me? engineerwell Linux - Newbie 2 02-05-2004 07:09 AM
<input type="button" disabled="true" > does not work in ns4.7 or 4.9 cybercop12us Programming 2 11-29-2002 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration