LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-17-2004, 09:21 AM   #1
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Rep: Reputation: 15
Mounting CDRom


I have trouble using my CD Rom. It has worked in the past (mounting automatically when I pop in a CD) but now when I attempt to mount, I get this error: "can't find /mnt/cdrom in /etc/fstab or /etc/mtab". It looks like the mount point is no longer recognized. How do I fix this?
 
Old 03-17-2004, 10:43 AM   #2
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
The first question is where do is it hooked up in your system. One way to check is to use the eject command.
For instance, type
eject /dev/cdrom
eject /dev/cdrom2
Then you know where it is, and then you can edit /etc/fstab to make sure that it's mounted at startup.
 
Old 03-18-2004, 03:17 AM   #3
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Original Poster
Rep: Reputation: 15
Neither of these turn anything. Looks like the cd rom is not recognized at all! Did a search for cdrom and all I find is /etc/makedev.d/cdrom and the rest are drivers.
 
Old 03-18-2004, 04:48 AM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
What do you mean "in the past"(did you do something). Check if there is a file cdrom or cdrom0 etc. if there is none it means that the OS probably doesn't know that the cdrom drive there.
I can't with the detecting hardware part of it as I use Mandrake and have never used redhat. I always detect devices by entering hardrake, maybe there is an equivalent for Rehat?
 
Old 03-18-2004, 06:20 AM   #5
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Original Poster
Rep: Reputation: 15
Actually, I have gone through my command history and looks like i run 'umount /mnt/cdrom' could this have totally removed the cdrom for the system? I need to find out how to install it. Hope the Red Hat folks out there could come to my resque.
 
Old 03-18-2004, 08:43 AM   #6
Marc A
Member
 
Registered: Mar 2004
Location: Bxl Europe
Distribution: Debian/Ubuntu
Posts: 84

Rep: Reputation: 15
Hi,

You say that you tried to mount you cdrom so you typed as root
# mount cdrom
and it says it doesn't exist?
sometimes you can find /floppy and/or /cdrom, i mean directly in the / directory.

Good luck. Marc A
 
Old 03-18-2004, 10:01 AM   #7
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Original Poster
Rep: Reputation: 15
Yes whenever I try that, I get the message that it cant be found in /etc/fstab or /etc/mtab Cant find it at / either.
 
Old 03-18-2004, 02:08 PM   #8
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Hey, redhat gurus isn't there some way to redetect the hardware as there is in Mandrake. The reason why I ask is because something similar to this case has happened to me before.
 
Old 03-18-2004, 02:34 PM   #9
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
in redhat the program kudzu checks for new hardware.. it should run at boot time but if you run kudzu from the command line as root it should search for new hardware
 
Old 03-18-2004, 05:20 PM   #10
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
jgnasser, run kudzu.
 
Old 04-01-2004, 10:26 AM   #11
sgtbob
Member
 
Registered: Jan 2004
Location: Kansas
Distribution: Windows 7, iMAC Lion 8.5, Ubuntu
Posts: 92

Rep: Reputation: 15
Having same problem - RH WS does not recognize CD-rom, which may account for the no sound problem I also have. On occasion, earphones plugged directly into the CD-device work, but on re-boot, goes to same no CD-rom problem. Please explain how to start kudzu once boot has completed?
 
Old 04-01-2004, 10:33 AM   #12
Nytehawk
LQ Newbie
 
Registered: Mar 2004
Location: Northern Virginia
Distribution: Fedora Core 2
Posts: 29

Rep: Reputation: 15
Maybe it's different for some others, but if I need to run kudzu, I just type kudzu at the prompt, and wait for it to finish.
 
Old 04-01-2004, 10:36 AM   #13
sgtbob
Member
 
Registered: Jan 2004
Location: Kansas
Distribution: Windows 7, iMAC Lion 8.5, Ubuntu
Posts: 92

Rep: Reputation: 15
From all the messages I see regarding CD-rom issues, it seems to be a large problem within the Linux OS. I know I'm a newbie, but it would appear that something is wrong if this many folks are having similar issues with the CD-rom devices. Any thoughts on this?
 
Old 04-01-2004, 10:58 AM   #14
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
i think it is common for newbies (and sometimes all users) to have trouble getting any device working in some particular way.

I don't think it is specific to cd-roms.

For most of the cd-rom issues that i have read about on here it seems to me that a lot (but not all) of them boil down to the fact that linux doesn't do anything unless someone tells it to, and windows tries to do everything for you (without telling you). Therefore new windows converts often have trouble with things like mounting and playing cd's.

(i'm not saying that this is what the problem in this thread is related to)
 
Old 04-01-2004, 11:07 AM   #15
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
jgnasser:

have you added any drives to your machine? or changed the configuration of any drives in your machine?

it is possible that the /dev/cdrom, /dev/cdrom0 etc symlinks are no longer linked to the proper device

the true device files for IDE drives are:
/dev/hda => primary master
/dev/hdb => primary slave
/dev/hdc => secondary master
/dev/hdd => secondary slave

if you have changed the configuration of your drive then the device should will have changed and the /dev/cdrom symlinks are probably invalid

try mounting the true device file, so for example, if your drive is secondary master do:
mount -t iso9660 /dev/hdc /mnt/cdrom

You should also check the drives physical connection (the cables on the back of the drive)
perhaps there is a loose connection?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:46 PM
cdrom mounting simcox1 Slackware 1 09-18-2005 11:00 AM
mounting cdrom binboy35 Debian 8 11-06-2004 12:22 AM
about mounting cdrom rabside Linux - Newbie 1 04-23-2004 02:51 PM
mounting a cdrom PlatinumRik Linux - Networking 6 05-27-2003 10:11 AM


All times are GMT -5. The time now is 07:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration