LinuxQuestions.org
Visit Jeremy's Blog.
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 09-04-2003, 11:35 AM   #1
emolina
LQ Newbie
 
Registered: Sep 2003
Location: Canada
Distribution: RH
Posts: 7

Rep: Reputation: 0
Unhappy CD-ROM not detected


Situation:

I am very new to linux.

I installed RH 8 thru CD's and everything works fine.

I installed RH 9 from ftp server at ftp.uconn.edu and almost everything works fine except my CD-ROM is not detected. I go to hardware browser it is listed there. Samsung CD-ROM SC-140. I opened the /etc/fstab file and it has this line:

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

I tried to manually mount it with this command:

mount -t iso9660 /dev/hdc /mnt/cdrom

and it says "no medium found".

Help me please.

Thank you in advance.
 
Old 09-04-2003, 11:39 AM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
maybe a dumb question but did you insert a cd in your drive before mounting it? There has to be a cd in there.
 
Old 09-04-2003, 11:44 AM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Also, only root can mount if you have the "owner" option in your fstab file instead of "user"
 
Old 09-04-2003, 01:52 PM   #4
emolina
LQ Newbie
 
Registered: Sep 2003
Location: Canada
Distribution: RH
Posts: 7

Original Poster
Rep: Reputation: 0
I did not insert a CD. Now that I did the error reads this "not a directory" after i manually mount the CD-ROM.

I log-on as root.

Help me please.
 
Old 09-04-2003, 03:04 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
When do you get that message? Is the cd mounted? If it is, you should be able to go into the directory
/mnt/cdrom
to see the contents of your cd. You cannot go into
/dev/cdrom or /dev/hdc or /dev/anything since these are not directories.
 
Old 09-04-2003, 07:44 PM   #6
emolina
LQ Newbie
 
Registered: Sep 2003
Location: Canada
Distribution: RH
Posts: 7

Original Poster
Rep: Reputation: 0
I can access /mnt/cdrom but i don't see anything inside.
 
Old 09-04-2003, 08:02 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
So you mount the cd by

mount /mnt/cdrom

then change into the cdrom rdirectory by

cd /mnt/cdrom

then try to see its contents (assuming the cd isn't empty and isn't an audio cd) by

ls -a

What do you get? Any error messages?
 
Old 09-04-2003, 11:06 PM   #8
emolina
LQ Newbie
 
Registered: Sep 2003
Location: Canada
Distribution: RH
Posts: 7

Original Poster
Rep: Reputation: 0
I did it (ls -a). The CD I used is my RH 8 installer. The result is just one dot then a two dots.
 
Old 09-04-2003, 11:19 PM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
hm. So basically your cd is empty according to it. have you tried other cds? What does your /etc/mtab look like after mounting the cd? If the cd is mounted, there should be an entry for the cdrom.

I'm also a bit bothered by your fstab entry. I don't know the ins and outs of it but what I have is

/dev/cdrom /mnt/cdrom auto noauto,umask=0,user,nodev 0 0

maybe you could backup your fstab and then replace the entry for the cdrom with the above and see what happens.
 
Old 09-05-2003, 06:57 AM   #10
emolina
LQ Newbie
 
Registered: Sep 2003
Location: Canada
Distribution: RH
Posts: 7

Original Poster
Rep: Reputation: 0
I tried with different CD's. No success yet.

This is my mtab looks like:

/dev/hda3 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda2 /boot ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0

i
 
Old 09-05-2003, 07:09 AM   #11
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
As root, try "mount /dev/cdrom". Then run "mount" to see if you mounted it succesfully. It should be listed if you did.
 
Old 09-05-2003, 07:19 AM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,622

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
Can you post again what your errors are when you try to mount a data CD.

Any errors when you try
mount /mnt/cdrom

I guess it took me awhile to post

Last edited by michaelk; 09-05-2003 at 07:20 AM.
 
Old 09-06-2003, 10:03 PM   #13
emolina
LQ Newbie
 
Registered: Sep 2003
Location: Canada
Distribution: RH
Posts: 7

Original Poster
Rep: Reputation: 0
[root@localhost /]# mount -t iso9660 /dev/hdc /mnt/cdrom

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

I just installed RH9 again but now thru CD. still the problem is the same. I was able to load thru CD.
 
Old 09-07-2003, 09:25 AM   #14
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
what happens when you do (as root)
mount -t iso9660 /dev/cdrom /mnt/cdrom

could you post your whole fstab? And your mtab after you try to mount a cd?
 
Old 09-07-2003, 01:07 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 18,622

Rep: Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708Reputation: 2708
/mnt/cdrom directory does not exist.

mkdir /mnt/cdrom
chmod 777 /mnt/cdrom

After reload do you still get a /mnt/cdrom directory error?

Last edited by michaelk; 09-07-2003 at 01:08 PM.
 
  


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
CD-ROM Detected Twice chonky_green Linux - Hardware 2 07-07-2004 09:16 PM
CD ROM Not detected marcus1060 Mandriva 8 05-05-2004 10:39 PM
CD Rom not being detected Corey88 Linux - Hardware 1 04-21-2004 11:36 AM
bochs : cd rom not getting detected shyam_d_sundar Linux - Newbie 1 03-15-2004 02:57 PM
DVD-ROM not detected CD-RW mistaken as CD-ROM Device DarkXtar Slackware 21 06-02-2003 07:58 PM

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

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