Unix Technical Forum

CDROM mounting problem please help!

This is a discussion on CDROM mounting problem please help! within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi there! Linux newbie here I just installed Red Hat Fedora Core 3 however i am trying to mount ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 06:49 AM
Carl Nikolov
 
Posts: n/a
Default CDROM mounting problem please help!

Hi there!
Linux newbie here

I just installed Red Hat Fedora Core 3
however i am trying to mount the CDROM drive (in KDE)
but it does not work

when I click on the desktop icon i get the message

mount can't find /mnt/cdrom in /etc/fstab or etc/mtab

so i thought, ok i'll run Xterm and check out my /dev folder...

i looked in my /dev/ folder to find no 'file' named CDROM

can anyone help? i just installed fedora core 3 using CD's..
how is it my cdrom drive wouldn't get installed in the process?
thanks a lot!

Carl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 06:49 AM
Peter T. Breuer
 
Posts: n/a
Default Re: CDROM mounting problem please help!

Carl Nikolov <aliceinchains_@hotmail.com> wrote:
> when I click on the desktop icon i get the message
>
> mount can't find /mnt/cdrom in /etc/fstab or etc/mtab


Put it there.

> i looked in my /dev/ folder to find no 'file' named CDROM


So put it there if you feel strongly about it! But it would be called
"cdrom", not "CDROM", and it would be a symlink to the intended target,
and anyway nobody said anything about /dev/cdrom so why are you
looking? "/mnt/cdrom" is what the mesage is about, and it says it is
not in your fstab, not "not in your /dev".

So what is your concern about?

Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 06:49 AM
kalimojo@bt.com
 
Posts: n/a
Default Re: CDROM mounting problem please help!

Carl Nikolov wrote:

> Hi there!
> Linux newbie here
>
> I just installed Red Hat Fedora Core 3
> however i am trying to mount the CDROM drive (in KDE)
> but it does not work
>
> when I click on the desktop icon i get the message
>
> mount can't find /mnt/cdrom in /etc/fstab or etc/mtab
>
> so i thought, ok i'll run Xterm and check out my /dev folder...
>
> i looked in my /dev/ folder to find no 'file' named CDROM
>

hi

its /dev/cdrom - lower case.

do an ls /dev/cd*

and you should get something like

/dev/cdrom /dev/cdu31a /dev/cdu535 /dev/cdwriter

your file /etc/fstab should have a line like

/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,r

next look in /etc/sysconfig/hwconf

there should be a section like this

class: CDROM
bus: IDE
detached: 0
device: hdd
driver: ignore
desc: "LITE-ON LTR-52327S"

then look in /etc/modprobe.conf






Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 06:50 AM
kalimojo@bt.com
 
Posts: n/a
Default Re: CDROM mounting problem please help!

also

/usr/sbin/kudzu --probe

this will do a fresh probe of your hardware but as Peter (temper ! temper !)
has pointed out the problem is almost 100 % because you dont
have the correct entry in your /etc/fstab.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 06:50 AM
Tom F.
 
Posts: n/a
Default Re: CDROM mounting problem please help!

Carl,

It is strange that anaconda didn't do this for you, I'd double check
/etc/fstab to be sure.

If it isn't there, check out man fstab and man mount.

That will tell you how to put the entry into fstab. Don't worry about
the dev folder. It is a virtual folder updated by the kernel on the
fly. If fstab is correct, the entry will be there in dev when it needs
to be.

Tom F.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 06:50 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: CDROM mounting problem please help!


"Peter T. Breuer" <ptb@lab.it.uc3m.es> wrote in message
news:jb26e2-spj.ln1@news.it.uc3m.es...
> Carl Nikolov <aliceinchains_@hotmail.com> wrote:
>> when I click on the desktop icon i get the message
>>
>> mount can't find /mnt/cdrom in /etc/fstab or etc/mtab

>
> Put it there.
>
>> i looked in my /dev/ folder to find no 'file' named CDROM

>
> So put it there if you feel strongly about it! But it would be called
> "cdrom", not "CDROM", and it would be a symlink to the intended target,
> and anyway nobody said anything about /dev/cdrom so why are you
> looking? "/mnt/cdrom" is what the mesage is about, and it says it is
> not in your fstab, not "not in your /dev".
>
> So what is your concern about?


And once again Peter spends his day yanking the chains of newbies and
leaving out the important bits, just to pretend that his opinion is somehow
useful.

/dev/cdrom is often, not always, set up as a symbolic link to the "real" CD
device. Different software has different conventions about this, and various
things can change what your CD device actually shows up as. For example,
older versions of the "cdrecord" software cannot handle CD devices with
write capability as IDE devices, so older versions of cdrecord and the 2.4
kernel require you to load the ide-scsi module to do any CD writing. This
can confuse the heck out of various auto-probing software, and when you
later load the modules or decide not to load them, you wind up with a link
from /dev/scd0 to /dev/cdrom, or from /dev/hdd to /dev/cdrom, and it may not
do what you expect.

In general, don't use /dev/cdrom because of exactly this sort of confusion.
The idea of using symlinks to give devices easily understand names is
common, but fragile, Instead use the IDE device directly (which you can
check for by looking in /proc/ide and checking which /proc/ide/*/media file
has "cdrom" in it), or use the SCSI device directly (usually /dev/scd0 if
your CD drive is showing up as SCSI).

Most Linux installations try to do this for you, but they're not consistent
or reliable about it. RedHat, for example, tries to auto-detect the CD drive
and set the symlink /dev/cdrom to something usable. SuSE tries to
auto-detect such devices and access them as mountable locations /media/cdrom
but shows the same device as /media/cdrecorder, for example.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 07:08 AM
nic.alexander@gmail.com
 
Posts: n/a
Default Re: CDROM mounting problem please help!


Peter T. Breuer wrote:
> Carl Nikolov <aliceinchains_@hotmail.com> wrote:
> > when I click on the desktop icon i get the message
> >
> > mount can't find /mnt/cdrom in /etc/fstab or etc/mtab

>
> Put it there.
>
> > i looked in my /dev/ folder to find no 'file' named CDROM

>
> So put it there if you feel strongly about it! But it would be called
> "cdrom", not "CDROM", and it would be a symlink to the intended

target,
> and anyway nobody said anything about /dev/cdrom so why are you
> looking? "/mnt/cdrom" is what the mesage is about, and it says it is
> not in your fstab, not "not in your /dev".
>
> So what is your concern about?
>
> Peter


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com