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 02-23-2004, 03:03 PM   #1
glennc
Member
 
Registered: Feb 2004
Posts: 38

Rep: Reputation: 15
cdrom will not mount


Hello,
Just installed RH9 as personal computer. After installation, the CDROM quites working. fstab was:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0.
I've tried changing to dev/hdc which is what the hardware manager says it is. Still no luck. Please help. Through my fault, through my most grevious fault.
glennc
 
Old 02-23-2004, 03:05 PM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
as root either you change /etc/fstab entry or you do:
ln -s /dev/hdc /dev/cdrom
 
Old 02-23-2004, 03:10 PM   #3
Riley
Member
 
Registered: Feb 2003
Location: SC, USA
Distribution: Mandrake 10.0 Powerpack
Posts: 178

Rep: Reputation: 30
/dev/cdrom should just be a symbolic link to the actual device such as /dev/hdc

if you're root and type

mount /dev/cdrom

does it mount?
 
Old 02-23-2004, 03:12 PM   #4
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
I changed it in /etc/fstab and it didn't work. I don't understand the second line of your reply, but thanks for any help............
glennc
 
Old 02-23-2004, 03:18 PM   #5
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
No, I get
mount: Not a directory?
Any ideas???????????
glennc
 
Old 02-23-2004, 08:13 PM   #6
May1950
LQ Newbie
 
Registered: Jan 2004
Location: Ottawa, Ontario, Canada
Distribution: Ubuntu, Slack 10.1
Posts: 18

Rep: Reputation: 0
I added the following line to the fstab file & it worked:

/dev/cdrom /mnt/cdrom auto ro,user,noexec,noauto 0 0
 
Old 02-24-2004, 07:28 AM   #7
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Hello Ron,
Thanks, but no luck. When I changed the line in fstab, I got a must have filesystem type error. I went back and altered the auto to iso9660 and now I get Mount: Not a directory error. Any other ideas???? Thanks again.
glennc
 
Old 02-24-2004, 08:27 AM   #8
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
what is the output of these commands?
ls -l /dev/cdrom
ls -l /dev/hdc
ls -l /mnt/
 
Old 02-24-2004, 03:10 PM   #9
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Hello Oliv'
ls -l /dev/cdrom = lrwxrwxrwx 1 root root 8 the date /dev/cdrom -> /dev/hdc
ls -l /dev/hdc = brw-rw------- 1 root disk 0 Jan 30 2003 /dev/hdc
ls -l /mnt/ = drwxr-xr-x 2 root root 4096 the date cdrom
drwxr-xr-x 2 root root 4096 the date floppy
Does that help any. This was after I reinstalled RH9 today as Personal Workstation. Thanks for any help!
glennc
 
Old 02-25-2004, 07:28 AM   #10
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Quote:
ls -l /dev/hdc = brw-rw------- 1 root disk 0 Jan 30 2003 /dev/hdc
so to mount your cdrom you must be either root or with a user which is in group disk.
Try to change permissions (chmod o+rw /dev/hdc) and retry mount command
 
Old 02-25-2004, 09:12 AM   #11
May1950
LQ Newbie
 
Registered: Jan 2004
Location: Ottawa, Ontario, Canada
Distribution: Ubuntu, Slack 10.1
Posts: 18

Rep: Reputation: 0
Hi Glennc

I found the following lines on another forum & inserted them in my fstab. I removed the line "/dev/cdrom.../mnt/cdrom.. etc". It works for well for me. I've got both a DVD and CW-RW. Hope ths helps.

dev/sr0 /mnt/dvd udf noauto,users,ro 0 0
/dev/sr0 /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/sr1 /mnt/burner iso9660 noauto,users,ro 0 0
 
Old 02-26-2004, 08:22 AM   #12
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Hello Oliv'
I tried your command and got no such file or directory for each item in the command line, on line at a time but the last line read:
brw-rw-rw- 1 root disk 22, 0 Jan 30 2003 /dev/hdc with the /dev/hdc highlighted. I did the chmod command and mount /dev/hdc and got mount: can't find /dev/hdc in etc/fstab or etc/mtab. I checked the /dev directory and found:
0 lrwxrwxrwx 1 root root 8 Feb 24 14:47 cdrom -> /dev/hdc
but no hdc entry. With Gnome Hardware browser I found that the cdrom is listed as Samsung Cdrom SRC-2432, but during boot up I see an entry that says something about hdc and it being a cdrom-dvd, which it isn't. RH 6.1 had no problem with the cdrom mount but I think the model number might have been different......Thanks for your time, I hope we can get this sorted out.
Thanx glennc
 
Old 02-26-2004, 08:31 AM   #13
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Howdy Ron,
No luck. On rebooting an error came up about etc/fstab that there was no such file or directory as /dev/sr0. Thanks but I'll have to keep trying. Take care.
glennc
 
Old 02-26-2004, 08:50 AM   #14
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
if you want to bypass /etc/fstab when mounting your CD drive do:
mount -t auto /dev/hdc /mnt/cdrom
Now it seems that in fact your first problem is a driver issue. So if you can find which CDROM driver you used for your RH 6.1 (with sources would be the best)... take it recompile it (if you can) and insert it. Then try to mount your cdrom.
 
Old 02-28-2004, 08:20 AM   #15
glennc
Member
 
Registered: Feb 2004
Posts: 38

Original Poster
Rep: Reputation: 15
Hello Oliv'
Nothing works. with the mentioned command it said I must choose a filesystem. I reloaded rh6 and the cdrom said Samsung SCR-2432 Cdrom.
With rh9 it say Samsung SCR-2432 CDrom/DVD. Don't know where to get the drivers and have no idea of how to configure and recompile the Kernel.
Maybe just by a newer cheap Cdrom. How do you like Debian Linux and how is it for novices? Thanks for your time..
glennc
 
  


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 refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 11:43 PM
cant mount cdrom solarcontrol Linux - Hardware 10 01-16-2005 02:34 PM
Cannot Mount Cdrom? bobr Linux - General 1 05-08-2004 04:29 PM
cdrom won't mount stupidclese Linux - Newbie 2 02-03-2004 04:40 AM
Cdrom mount robbinsar Linux - Hardware 12 05-01-2003 02:51 AM


All times are GMT -5. The time now is 08:40 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