LinuxQuestions.org
Help answer threads with 0 replies.
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 05-20-2005, 02:58 PM   #1
stuffedcat
LQ Newbie
 
Registered: May 2005
Posts: 11

Rep: Reputation: 0
CDrom mounts but doesn't do anything else


Hi,

I'm on Mandrake 10.1 - installed from CDrom. Everything working fine except one problem - it doesn't recognise any files from the CDrom drive. I've tried various CDs including the orignal ones I installed Mandrake from, and checked them in my windows partition (using the same drive) - but Linux doesn't see any files. The device appears to be mounted - if I right-click on the CD-ROM button and select Eject, it ejects the drive ok.

I'm a Linux Very-Newbie and I don't know how to diagnose this particular problem. I've been up and down the internet but not found anything.

I've tried booting from the CDroms. This works up to the point the Linux kernal is booted, then it says it can't find any files on the Cdrom. Argh!

Does anyone have any ideas or suggestions that I could try?
 
Old 05-20-2005, 03:40 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Check your /mnt/ directory after you insert a cd. CD is probably mounted and you need to look in the right folder to access the files. Look for something like /mnt/cdrom and everything on the cd should be available in there.
 
Old 05-20-2005, 03:44 PM   #3
stuffedcat
LQ Newbie
 
Registered: May 2005
Posts: 11

Original Poster
Rep: Reputation: 0
'fraid not. Even through Konsole I get no files returned afer a
cd /mnt/cdrom
ls

The fact that I can cd to it must mean that it's recognising the device... just not that it has files on it!
 
Old 05-20-2005, 04:20 PM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
post output from ls -l /dev/hdc and ls -l /mnt/cdrom or where the cdrom is mounted.
 
Old 05-20-2005, 04:31 PM   #5
stuffedcat
LQ Newbie
 
Registered: May 2005
Posts: 11

Original Poster
Rep: Reputation: 0
$ ls -l /dev/hdc
brw-rw---- 1 dan disk 22, 0 May 20 19:27 /dev/hdc
$ ls -l /mnt/cdrom
total 0
$
 
Old 05-20-2005, 05:07 PM   #6
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
post output from cat /etc/fstab if your in the disk group or your dan you should be able to see the files.

Last edited by Boow; 05-20-2005 at 05:12 PM.
 
Old 05-20-2005, 07:56 PM   #7
stuffedcat
LQ Newbie
 
Registered: May 2005
Posts: 11

Original Poster
Rep: Reputation: 0
$ cat /etc/fstab
/dev/hdb1 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-15 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0
/dev/sda1 /mnt/removable auto umask=0,user,iocharset=iso8859-15,sync,kudzu,codepage=850,noauto,exec,users 0 0
/dev/hda1 /mnt/win_c vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda6 /mnt/win_e vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda7 /mnt/win_f vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda8 /mnt/win_g vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda9 /mnt/win_h vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
/dev/hda10 /mnt/win_i vfat umask=0,iocharset=iso8859-15,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda11 swap swap defaults 0 0
 
Old 05-21-2005, 02:57 AM   #8
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
hmm.. sould mount automatically when you instert the cd..

Have you tried running in the term (Konsole)
Code:
 mount /dev/hdc
I knowit sounds stupid, but it might help.. try it both as your user, and as root.
 
Old 05-21-2005, 07:32 AM   #9
stuffedcat
LQ Newbie
 
Registered: May 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the help, but I think the best thing to do as it's a reasonably fresh install, is to trash it and rebuild. I've probably done something really dumb - I just don't know what!

Cheers!
 
Old 05-21-2005, 07:43 AM   #10
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
EDIT: Okay....

from your fstab, it looks like it's using some sort of automounting tool called "supermount". I try to stay away from automounting as it tends to stuff up a lot and interfere with normal u/mounting. if you don't care about automounting, you could do the following, which should definately work, unless your kernel doesn't support the filesystem on the cd, in which case it will tell you when you try to mount.

change the third line of /etc/fstab to
Code:
/dev/hdc  /mnt/cdrom auto ro,user,noauto 0 0
and then you can mount at the console with
Code:
mount /mnt/cdrom
and umount with
Code:
umount /mnt/cdrom
also, in case you didnt know, just doing "mount" at the command line will tell you all the filesystems you have mounted, just so you don't accidentally eject something that is still mounted and corrupt the filesystem or the ejected media (I have done both before ).

Last edited by Ynot Irucrem; 05-21-2005 at 07:45 AM.
 
Old 05-21-2005, 08:48 AM   #11
stuffedcat
LQ Newbie
 
Registered: May 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Ok, more info...

I've trashed my Mandrake install to start from scratch. Began to install and got the same issue - begins to install from the CD-rom, checks all the devices, comes to check the CD-rom and decides that it doesn't like it. Doing an alt-f4 to see the kernel messages I get:

<6>cdrom: hdc: mmc-3 profile capable, current profile: 9h
<4>Unable to identify CD-ROM format.

Ah! I thought - must be the CD. Before I burned a new one I thought I'd check it the missus's PC - absolutely no problems at all.

So - could this be the drive that's the problem? Even though it works fine in Windows? Or could LILO be giving wrong CD-Rom information out (as LILO is still on the boot sector of my Windows disk)?

Perplexed!
 
Old 05-21-2005, 08:49 AM   #12
stuffedcat
LQ Newbie
 
Registered: May 2005
Posts: 11

Original Poster
Rep: Reputation: 0
(I should point out that this is the same drive and cd that I installed Mandrake succesfully last time)
 
Old 05-21-2005, 09:11 AM   #13
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
it would not be the cd drive unless its REALLY old or an exotic brand. yep, it definately looks like it's the filesystem used on the disk that's the problem (or it's scratched or dirty - but I'm hoping that you tried cleaning it and checking for scratches before posting here). i've had similar problems with disks burned with nero and other windows apps. maybe it's got joliet extensions? I don't know much about this but a google search should turn something up.

EDIT: wait - it worked last time? unfortunately, my diagnosis is that your drive is dying (or scratched/dirty cd).

EDIT 2: WAIT - if you downloaded mandrake, possibly the ISO is faulty - did you check the md5sum?

Last edited by Ynot Irucrem; 05-21-2005 at 09:27 AM.
 
Old 05-21-2005, 12:07 PM   #14
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
generally if the data is corrupt (which you find by checking the md5) it wouldn't have worked the first time.

But stranger things have happened. It really does sound like a hardware problem, even more that the same cd's work in your wife's computer.

It really wouldn't be Lilo giving the error, it's the /etc/fstab, and that could be corrupt on your install disc.

You don't happen to have a live cd laying around do ya? You might try that and check what it says in your fstab.

Automounting is nice, but does tend to mess things up for you.

How old is your cd-rom drive?
 
  


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 mounts OK but has read problems... pracslipkerm Linux - Newbie 3 05-15-2005 02:48 AM
cd mounts Murph00009 Linux - Hardware 1 01-07-2005 11:57 PM
The mounts don't stay! ch4s3r Linux - Software 25 05-21-2004 10:07 AM
cdrom no longer mounts ergo_sum Linux - Hardware 4 09-21-2003 11:01 AM
some help with x and mounts sehris Slackware 4 08-12-2003 03:45 AM


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