1824298 Members
5040 Online
109669 Solutions
New Discussion юеВ

CD-ROM mount problem

 
SOLVED
Go to solution
psl_1
Occasional Advisor

CD-ROM mount problem

Dear Gurus,
my cd-rom is not mounting automatically. then I mount it mannually then it get mounted.So I removed origional cdrom entry and put new entry in /etc/fstab for automatic mount at boot time.
But problem is new cd-rom entry is over-written by privious entry.


1)So plese tell me How can I disable automatic entry of CD-ROM & FLOPPY drive in /etc/fstab.

2)And any other methode to solve my problem
6 REPLIES 6
Bill McNAMARA_1
Honored Contributor
Solution

Re: CD-ROM mount problem

what run level are you booting into?
Try booting into runlevel 3 (/etc/inittab) and see if it happens there..
It's probably KDE or Gnome doing it..

Bill
It works for me (tm)
Andrew Cowan
Honored Contributor

Re: CD-ROM mount problem

Later versions of Redhat/Fedora Linux use an automount process under KDE and Gnome that creates a new mountpoint in "/media", therefore your CD becomes mounted as "/media/". When this happens an icon is also created on the desktop. Try inserting a CD, wait about 10 seconds, then do an "ls" of "/media" to see if any new entries are created. If not try running Nautilis from within KDE, and mounting your CD from there.

If neither option works it could be that your CDROM device is not being seen by the Kernel.
Andrew Bruce
Valued Contributor

Re: CD-ROM mount problem

Hi psl,

I'll bet that the 'problem' you're experiencing is down to the operation of the HAL deamon.

It watches for hardware events such as USB storage devices getting plugged in, CDs getting inserted, etc. and takes appropriate action.

Obviously, the HAL configuration is not in keeping with what you would like it to do.

Two resources you can look at:

1. http://freedesktop.org/Software/hal
2. man page for fstab-sync

Combined, they should help you to define exactly what your system should do when you insert stuff into your PC.

Bear in mind, that the CD-ROM drive cannot get mounted if there is no disc in the drive (re: automatic mount at boot time).

Regards,

Andy Bruce
I Love it when a plan comes together!
psl_1
Occasional Advisor

Re: CD-ROM mount problem

thanks for your replies. But right now I am not on the site so after going back on the site I will reply you.
Jees Joy
Frequent Advisor

Re: CD-ROM mount problem

Hope your autofs is working fine, if possible check all the autofs configurations.


Thanks and Regards
Jees Joy
psl_1
Occasional Advisor

Re: CD-ROM mount problem

My problem is solved by stopping the HAL demon