LinuxQuestions.org
Visit Jeremy's Blog.
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 11-09-2002, 11:35 AM   #1
AbhiShek
LQ Newbie
 
Registered: Oct 2002
Posts: 9

Rep: Reputation: 0
CD-ROM would not mount


Hi i am using rh 7.3 and i am trying to mount a Read Only CD. However i get an error saying
: Wrong fs type, bad option, bad superblock on /dev/cdrom1, or too many mounted file systems.

This is how my etc/fstab looks like

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/fd0 /mnt/floppy auto noauto,ro,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro,user 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,ro,user 0 0
/SWAP swap swap defaults 0 0

I've been able to use it before but i have't been able to mount after i rebooted.

Any help is more than appreciated.

Thanks in advance..
Abhi
 
Old 11-09-2002, 04:05 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,969

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
Use command line dmesg to see if your cdrom is recognized on boot. Check logs for anything unusual.
 
Old 11-09-2002, 05:09 PM   #3
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
If you check dmesg as michaelk suggests and it does recognize your cdrom and cdrom1,check your /dev/cdrom and /mnt/cdrom directories to make sure they exist.You also should make sure the /dev/cdrom is linked to dev/hdx(X being the cdrom drive designation.)Do you have scsi emulation enabled?Most of the time,these problems are because of symlinks being all borked.
lynch
 
Old 11-10-2002, 03:03 AM   #4
rao
LQ Newbie
 
Registered: Jun 2002
Location: Malaysia
Posts: 14

Rep: Reputation: 0
Hi
What command u used?
Just used like bellow
mount /mnt/cdrom
then cd /mnt/cdrom
then check the contents in CD-ROM
Ok

Last edited by rao; 11-13-2002 at 05:38 AM.
 
Old 11-12-2002, 06:22 PM   #5
AbhiShek
LQ Newbie
 
Registered: Oct 2002
Posts: 9

Original Poster
Rep: Reputation: 0
Upon executing the command dmesg

i get this output:

IPX: Network number collision a002
eth0 802.2 and eth0 EtherII

and /var/log/messages file also has the same message in there.

What should i do next ?
 
Old 11-12-2002, 06:25 PM   #6
AbhiShek
LQ Newbie
 
Registered: Oct 2002
Posts: 9

Original Poster
Rep: Reputation: 0
I checked if the symbolik links are screwed up. However, it seems like its ok.

Here is what i see:
lrwxrwxrwx 1 root root 8 Jul 17 2001 /dev/cdrom -> /dev/hdd
lrwxrwxrwx 1 root root 9 Jul 17 2001 /dev/cdrom1 -> /dev/scd0

Thanks for your help!!
 
Old 11-12-2002, 06:27 PM   #7
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
The entries in your fstab show that the /mnt/cdrom and /mnt/cdrom1 mountpoints are trying to mount the devices /dev/cdrom and /dev/cdrom1... this will only work if those 'files' actually exist. Try the following:
ls -l /dev/cdrom* and post the output.
 
Old 11-12-2002, 06:45 PM   #8
AbhiShek
LQ Newbie
 
Registered: Oct 2002
Posts: 9

Original Poster
Rep: Reputation: 0
ls -lt /dev/cdrom*
lrwxrwxrwx 1 root root 8 Jul 17 2001 /dev/cdrom -> /dev/hdd
lrwxrwxrwx 1 root root 9 Jul 17 2001 /dev/cdrom1 -> /dev/scd0

Its the same as before.
 
Old 11-12-2002, 06:56 PM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 56
OK, so edit (as root) the file /etc/fstab and change the entry for your cdrom(s) to reflect the above... i.e. change the reference to /dev/cdrom to /dev/hdd... and then try mounting again.
 
Old 11-13-2002, 01:05 AM   #10
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
Quote:
Originally posted by Thymox
OK, so edit (as root) the file /etc/fstab and change the entry for your cdrom(s) to reflect the above... i.e. change the reference to /dev/cdrom to /dev/hdd... and then try mounting again.
any difference that this will make? /dev/cdrom is linked to /dev/hdd according to the original /etc/fstab file
 
Old 11-13-2002, 04:31 AM   #11
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
If it shows those links it shouldnt make any difference.Do the mount points /mnt/cdrom and /mnt/cdrom1 exist?
How are you trying to mount them? If you're using the KDE icons check the properties for the icons and make sure the right devices are chosen.
lynch

Last edited by lynch; 11-13-2002 at 04:34 AM.
 
  


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 and dvd-rom drives won't mount... :-( Ausar Linux - Newbie 12 09-01-2004 02:51 PM
Multiple cd-rom icons from one cd-rom mount CEG Linux - General 5 02-04-2004 07:04 PM
i can't mount my CD-ROM Boogieman Linux - Software 15 11-29-2003 07:39 AM
Mount the CD rom ust Linux - Software 1 10-27-2003 05:17 AM
Can Not Mount CD-ROM HowdyZBird Linux - Hardware 1 08-11-2003 08:34 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration