I have a simple automount configuration problem. I've done two similar, clean, Custom installations of CentOS 5.0, on two similar, but not identical boxes. On my box, automount is working perfectly. On my daughter's box, it's not working. If I put the FC6 DVD into the drive in my box, I can see the contents of the DVD, without any problem. If I cat /etc/mtab in my box, I see this line: /dev/hdc /media/FC_6\040i386\040DVD iso9660 ro,noexec,nosuid,nodev,uid=503 0 0 In System > Preferences > Removable Drives and Media, in both boxes, for Storage tab, the 3 top boxes have check marks. Mounted on /media. On my daughters box, nothing in /media. It's /dev/hdc. Question: What configuration file do I need to change, in her box? TIA! Lanny
Follow on: On this page: <https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/release-notes/RELEASE-NOTES-x86-en.html> I saw this:> Release Notes Updates > > This section contains information that was not included in the > distribution version of the Red Hat Enterprise Linux 5 Release Notes > > * CDs and DVDs do not automatically mount when you are logged in > as root. As such, you will need to run the following command > to mount a CD or DVD to /media: > > mount /dev/cdrom /mediaThe problem is not only when logged in as root. I did that (su - and then: mount /dev/cdrom /media) and I was able to install the Package I wanted. My question remains, what configuration file do I need to change, to get automount to work correctly on that box? (The same DVD was used to install CentOS 5.0 on my box and my daughters box). I use GNOME on both boxes. Works perfectly on my box. TIA, Lanny
On 13 August 2007, joseph blase joseph.mailboxlist at gmail.com wrote:> > put something like this on you /etc/fstab > > [host ]# cat /etc/fstab | grep cdrom > /dev/cdrom /mnt/cdrom udf,iso9660 > noauto,owner,kudzu,ro 0 0 >Joseph: Thank you for replying. Before I added that line to the /etc/fstab file in my daughters box, I did a "yum update autofs". No joy. Then, I added that line to the /etc/fstab file. No joy. Possibly, if I do some more research, I can figure out what to change your suggested line to. However, in my box, there is nothing like that in the /etc/fstab file and automount works perfectly. I would like to know what is putting this line into the /etc/mtab file in my box, when I have the CentOS DVD in the drive: /dev/hdc /media/CentOS_5.0_Final iso9660 ro,noexec,nosuid,nodev,uid=503 0 0 Whatever is causing that line to be added to /etc/mtab apparently makes the automount work properly. Lanny
On 13 August 2007, Akemi Yagi amyagi at gmail.com wrote: <snip>> This wiki may help? > > http://wiki.centos.org/TipsAndTricks/HALAkemi: Thank you. I will read that page, carefully. I have one other idea: I have only tried this with GNOME. Both boxes also have KDE installed. I want to try it with KDE, to verify that it is an automount problem and *not* a GNOME problem. Lanny
On 13 August 2007, Akemi Yagi amyagi at gmail.com wrote: <snip>> This wiki may help? > > http://wiki.centos.org/TipsAndTricks/HALAkemi: I just found the below, in the Enterprise Linux Deployment Guide found in System > Documentation on the GNOME Desktop. In my box, everything in the /etc/sysconfig/autofs file is commented out. When I can use my daughters box (my wife is on it now), I will check to see that everything in that file is commented out there too. Lanny> IV.27.1.5.?/etc/sysconfig/autofs > > > The /etc/sysconfig/autofs file defines custom options for the automatic mounting of devices. This file controls the operation of the automount daemons, which automatically mount file systems when you use them and > unmount them after a period of inactivity. File systems can include network file systems, CD-ROMs, diskettes, and other media. > > > > The /etc/sysconfig/autofs file may contain the following: > > > * > > > > LOCALOPTIONS="<value>", where <value> is a string for defining machine-specific automount rules. The default value is an empty string > (""). > > > * > > > DAEMONOPTIONS="<value>", where <value> is the timeout length in seconds before unmounting the device. The default value is 60 seconds > ("--timeout=60"). > > > * > > > UNDERSCORETODOT=<value>, where <value> is a binary value that controls whether to convert underscores in file names into dots. For example, > auto_home to auto.home and auto_mnt to auto.mnt. The default value is 1 (true). > > > * > > > DISABLE_DIRECT=<value>, where <value> is a binary value that controls whether to disable direct mount support, as the Linux implementation does > not conform to the Sun Microsystems' automounter behavior. The default value is 1 (true), and allows for compatibility with the Sun automounter options specification syntax.
On 13 August 2007, Akemi Yagi amyagi at gmail.com wrote: <snip>> This wiki may help? > > http://wiki.centos.org/TipsAndTricks/HALI tried it with KDE on that box. Same problem. So, it *is* something with automount and not a problem in GNOME. I looked at the /etc/sysconfig/autofs in that box and everything is commented out, like on my box. I will be studying the above web page!
On 13 August 2007, Garrick Staples garrick at usc.edu wrote:> > Because automount has nothing to do with this problem. I don't know what the > problem actually is, but I want to make sure you don't go down the wrong path.Thank you for joining in! I know that you know what you are talking about, but, I don't know what to modify the Subject to, at this time. After reading the Wiki page Akemi referred to, I tried this on the box with the problem and on my box, where it works perfectly: [mailing-lists at dell2400 ~]$ gnome-volume-manager [mailing-lists at dell2400 ~]$ gnome-mount gnome-mount 0.5 The results were identical on both boxes.
On 13 August 2007, Lanny Marcus <mailing-lists at computer2.com> wrote: <snip>> mount /dev/cdrom /mediaI saw the above line in the updated Release Notes from Upstream yesterday and I was able to mount the FC6 Install DVD, as root from a terminal, and then install the kdeedu package from that DVD, without problems yesterday. Then, last night, I tried to view the contents of the CentOS 5.0 Install DVD and no luck. This morning, I got the following results, with the FC6 Install DVD on that box: (1) mount - No medium found (2) rebooted into Win ME and there was no problem (3) took out the DVD, rebooted to CentOS 5.0, inserted the FC6 DVD into drive. # mount /dev/cdrom /media mount: block device /dev/cdrom is write protected, mounting read only and I was able to view everything on the DVD, without any problem. I'd begun to think possibly there was a problem on the Teac DVD drive and that I should look for TEAC DVD Diagnostics, but it seems to work properly. Any ideas? TIA, Lanny
On 14 August 2007, Johnny Hughes <johnny at centos.org> wrote: <snip>> Not sure what the problem is ... but the new (fc6/7 and centos) > mounting > of DVDs uses gnome-mount. > > it mounts under ... /media/$ISO_NAME > > it should also show on the desktop >Johnny: It shows up properly, if I put a CD into that drive, but not with a DVD in the drive. (On my box, a DVD works properly, all the time). I did #rpm -V gnome-mount and there was no output, so I believe gnome-mount is OK. If I boot that box, with the CentOS 5.0 install DVD in that drive, it comes up to the install screen, every time. There does not seem to be a problem with it mounting and reading the DVD, when it is booted. I am wondering if somehow I screwed up the file permissions or settings (running SELinux in Permissive mode and the Firewall, as on my box) that are in some file unknown to me. Thank you for writing! I get the Digest ML, and I just read your reply. Lanny
Seemingly Similar Threads
- DVD reader: Hardware problem or OS glitch?
- Problems reading a backup data DVD
- KStars on CentOS 4.4?
- NOW: Firefox 3.0 and GNOME crash when trying to view SME Server documentation WAS: OT: anything in CentOS 5.2 that uses opendns.com when browsing web?
- Installing Google's Picasa for Linux on CentOS 5