LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cant mount CDROM (https://www.linuxquestions.org/questions/linux-general-1/cant-mount-cdrom-15275/)

amp2000 02-28-2002 11:45 AM

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 :mad: Is it just me or can nobody copy & paste in the Forum message ??
Cheer's

herambshembekar 02-28-2002 11:58 AM

try
mount /dev/cdrom /mnt/cdrom

jdctx 02-28-2002 12:07 PM

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

jdctx 02-28-2002 12:07 PM

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

amp2000 02-28-2002 12:07 PM

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.

amp2000 02-28-2002 12:14 PM

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

trickykid 02-28-2002 12:23 PM

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.

jdctx 02-28-2002 12:27 PM

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)

JimKyle 02-28-2002 12:28 PM

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...

amp2000 02-28-2002 12:38 PM

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

amp2000 02-28-2002 01:02 PM

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 ????

BaerRS 03-01-2002 04:10 PM

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*****

Aussie 03-01-2002 05:14 PM

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.

amp2000 03-01-2002 05:28 PM

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.:D


All times are GMT -5. The time now is 05:02 AM.