LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-15-2004, 07:50 AM   #1
gearoid
Member
 
Registered: Nov 2003
Location: Ireland
Distribution: Red Hat 9
Posts: 49

Rep: Reputation: 15
Angry 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
 
Old 05-15-2004, 08:04 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What do you have in the CD drive?
 
Old 05-15-2004, 08:08 AM   #3
gearoid
Member
 
Registered: Nov 2003
Location: Ireland
Distribution: Red Hat 9
Posts: 49

Original Poster
Rep: Reputation: 15
it never seems to matter. Whether I mount it with no cd in the drive or with a cd in the drive I still get the same mount: no media found message...
 
Old 05-15-2004, 08:12 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You need to have a CD in the drive and make sure it is a data CD and not a music CD.
 
Old 05-15-2004, 08:15 AM   #5
gearoid
Member
 
Registered: Nov 2003
Location: Ireland
Distribution: Red Hat 9
Posts: 49

Original Poster
Rep: Reputation: 15
but would the fact that I burned the cd in windows make a difference? Would it configure the cd in such a way that Linux couldn't read it?
 
Old 05-15-2004, 08:16 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It depends - what format did you burn it in? If you used the iso standard then there shouldn't be a problem.
 
Old 05-15-2004, 08:45 AM   #7
gearoid
Member
 
Registered: Nov 2003
Location: Ireland
Distribution: Red Hat 9
Posts: 49

Original Poster
Rep: Reputation: 15
oh, I dunno. I am having other problems too. It seems to hang forever at the boot screen even before grub loads (at the Press F2 to enter setup stage) and even when I try to eject a cd (either by pressing the button on the door or by typing eject -r) it takes all day. Would you recommend I just install slackware 9.1 and start over?? I know there is always a huge debate over this "what's the best distro" topic, but what do you think? I don't know enough about Linux to try and start trying to figure all of these problems out....
 
Old 05-15-2004, 08:59 AM   #8
gearoid
Member
 
Registered: Nov 2003
Location: Ireland
Distribution: Red Hat 9
Posts: 49

Original Poster
Rep: Reputation: 15
ok, last post about this I swear!!..... But just to say that I swapped the cdrom drive for a cdr drive and now it works. So it must just have been a hardware problem afterall...
 
Old 05-16-2004, 04:01 AM   #9
MustangCSA
Member
 
Registered: Feb 2004
Location: Seattle, WA
Distribution: Debian Sid
Posts: 85

Rep: Reputation: 15
But yes you do need a cd in the drive
 
Old 05-16-2004, 06:59 AM   #10
Rolf68
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
when you burned your CD in Windows you did not close the session of the cd.
So your problem was solved by installing a CDR driver because CDR-Drives can read not closed cd's.

When you want to read a cd in a regular cdrom you must have closed the sessions of the cd.
 
Old 05-16-2004, 03:04 PM   #11
karatedog
LQ Newbie
 
Registered: May 2004
Location: Hungary
Distribution: Ubuntu 9.10
Posts: 13

Rep: Reputation: 0
I too have the /dev/cdrom but instead of that I have to mount /dev/sr0 to get my cd-rom work properly. Because my CD-ROM is registered as an scsi device, it must be mounted so...
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 04:46 PM
mounting a cdrom drive gearoid Linux - Laptop and Netbook 3 05-15-2004 08:12 AM
Problem mounting Cdrom drive (Slackware 9.1) chutsu Slackware 1 11-27-2003 04:12 AM
Mounting the CDRom drive for setup lorengd Slackware 14 09-18-2003 05:26 PM
mounting floppy and cdrom drive jcb_dreamvsat Linux - Newbie 8 06-22-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:24 AM.

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