LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-28-2002, 12:45 PM   #1
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Rep: Reputation: 30
Cant mount CDROM


I have Mandrake 8.1 but I can't mount my cdrom.
I try mount /dev/cdrom but I get an error saying it cant find /dev/cdrom in /etc/mtab or /etc/fstab.
I took a look at both files and they look OK to me.
I can post more info if anyone need's it.

P.S. I wrote a much more detailed version of this post in a text editor but couldnt copy & paste it here Is it just me or can nobody copy & paste in the Forum message ??
Cheer's
 
Old 02-28-2002, 12:58 PM   #2
herambshembekar
Member
 
Registered: Feb 2002
Location: India
Distribution: redhat 7.1
Posts: 70

Rep: Reputation: 15
try
mount /dev/cdrom /mnt/cdrom
 
Old 02-28-2002, 01:07 PM   #3
jdctx
Member
 
Registered: Feb 2002
Posts: 71

Rep: Reputation: 15
actually the command would be for example my cdrom is on the second ide so it's defined as /dev/hdc. To mount it assuming it. I type

mount /dev/hdc or
mount /mnt/cdrom or
mount /dev/hdc /mnt/cdrom but extra instruction shouldn't be needed since fstab knows where it is.

/dev/hd* is the actual device /mnt/cdrom is the mount point
 
Old 02-28-2002, 01:07 PM   #4
jdctx
Member
 
Registered: Feb 2002
Posts: 71

Rep: Reputation: 15
actually the command would be for example my cdrom is on the second ide so it's defined as /dev/hdc. To mount it assuming it. I type

mount /dev/hdc or
mount /mnt/cdrom or
mount /dev/hdc /mnt/cdrom but extra instruction shouldn't be needed since fstab knows where it is.

/dev/hd* is the actual device /mnt/cdrom is the mount point
 
Old 02-28-2002, 01:07 PM   #5
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
Thanks but it didnt work
It gives me an error "mount: special device /dev/cdrom does not exist.

This reply is for the first post, I'll try what you said now jdctx.

Last edited by amp2000; 02-28-2002 at 01:15 PM.
 
Old 02-28-2002, 01:14 PM   #6
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
In reply to jdctx I tried all of those & none work. I keep getting an error saying I must specify a filesystem cos there's none found.
I tried /dev/hda aswell but that didnt work either.
Any more idea's
Thanks in advance
 
Old 02-28-2002, 01:23 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 262Reputation: 262Reputation: 262
what kind of cd are you trying to mount ?? is it a data cd or a music cd.. music and dvd cd's you can't mount like a regular data cd.
 
Old 02-28-2002, 01:27 PM   #8
jdctx
Member
 
Registered: Feb 2002
Posts: 71

Rep: Reputation: 15
check again to be certain cdrom is defined properly in /etc/fstab
here's the line is fstab for my cdrom it should look very similar to this

/dev/hdc /mnt/cdrom auto user,iocharset=iso8859-1,exec,codepage=850,ro,noauto 0 0

if for example it say instead
/dev/hdb /mnt/cdrm auto user,iocharset=iso8859-1,exec,codepage=850,ro,noauto 0 0

to mount of course you would have to say mount /dev/hdb or
mount /mnt/cdrm

a message stating not found in fstab or mtab usually means a typo or it actually isnt defined

I just notice you said mount /dev/hda that would not be correct hda is you hard drive not cdrom hda or hdb or hdc are actually devices or seen as such your cdrom would most likely be hdb(slaved of hda) or hdc(on it's own ide)

Last edited by jdctx; 02-28-2002 at 01:32 PM.
 
Old 02-28-2002, 01:28 PM   #9
JimKyle
Member
 
Registered: Dec 2001
Location: Oklahoma City, OK, USA
Distribution: Xubuntu 16.04 LTS
Posts: 214
Blog Entries: 1

Rep: Reputation: 39
Check your kernel log at /var/log/kernel/warnings (must be root to have permissions) to see whether your CD was detected at boot time. If it was, that should also show you what its device name is: the first IDE pair is hda and hdb, the second is hdc and hdd, while if it's a SCSI interfaced drive the name will be different. No matter, though; just use the name that is shown for it in the boot log. Here's what my log shows:

Feb 26 07:17:37 JKP200 kernel: hda: Maxtor 52049H3, ATA DISK drive
Feb 26 07:17:37 JKP200 kernel: hdb: FX140S, ATAPI CD/DVD-ROM drive
Feb 26 07:17:37 JKP200 kernel: hdc: SAMSUNG SV2042H, ATA DISK drive

Here's the line in my Mandrake 8.1 fstab that sets up my CD as /mnt/cdrom:

/dev/hdb /mnt/cdrom auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0

That's all one line in the file although the display here on the web may wrap it to two or three.

Hope this helps! If you don't find anything in the kernel "warnings" file, look in both "errors" and "info" in that same directory to find out what went wrong...
 
Old 02-28-2002, 01:38 PM   #10
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
Thanks everyone, I tried it with both audio & data, same result.
I think I might need to take a closer look at /etc/fstab
I'll let you know how I get on

Cheer's
 
Old 02-28-2002, 02:02 PM   #11
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
Looking at /var/log/messages it says my Fujitzu DVD rom is /dev/hda which is exactly what it says in /etc/fstab.

Looking in /var/log/kernel/errors
I see
-------------------------------------------------------------------------
"Kernel: ide-scsi : hda : unsuuported command in request queue"
-------------------------------------------------------------------------
By the way I have scsi enabled in /etc/lilo.conf cos I had to get my cdrom working with xcdroast so I could burn CD's.
Could this the problem, anyone ????

Last edited by amp2000; 02-28-2002 at 02:03 PM.
 
Old 03-01-2002, 05:10 PM   #12
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Rep: Reputation: 15
If this is a RH 7.2 install..

you will need to do a

/sbin/depmod -ae

to use the cd-rom.. I ran in to the same problem when it was first relesed.. and it took a good 3 weeks for me to figure it out.

if this is not RH 7.2... please disregard.

**this only happens to **Some** scsi CD-Roms..**
this is on their website to at:

http://www.redhat.com/support/resources/gotchas/7.2/

Scott


****Edit---after I read all the messages...***

I see in your first post that you are useing Mandrake... at one time Mandrake and Red hat were very close.. I'm not sure how ture that is today. I probobly would disregar my suggestion in this message.

Scott

*****End of Edit*****

Last edited by BaerRS; 03-01-2002 at 05:17 PM.
 
Old 03-01-2002, 06:14 PM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Quote:
Originally posted by amp2000

By the way I have scsi enabled in /etc/lilo.conf cos I had to get my cdrom working with xcdroast so I could burn CD's.
Could this the problem, anyone ????
Yes, by using emulation the DVD will be /dev/sd# instead of /dev/hd#. If it's on a controller before the cdrw it will be /dev/sd0. Do (as root) "cdrecord -scanbus" to check.
 
Old 03-01-2002, 06:28 PM   #14
amp2000
Member
 
Registered: Oct 2001
Location: Dublin, Ireland
Distribution: Mandrake 9.0 mostly!
Posts: 303

Original Poster
Rep: Reputation: 30
Thanks for your help everyone, I've learnt alot from this forum in the past few months

I'm installing slackware for the first time at the moment & I'm having a few problem's, but I'll post that problem on a different post.

Last edited by amp2000; 03-01-2002 at 06:34 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 On
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:50 PM.

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
Open Source Consulting | Domain Registration