mount: can't find /media/cdrom in /etc/fstab or /etc/mtab - Help
This is a discussion on mount: can't find /media/cdrom in /etc/fstab or /etc/mtab - Help ; On my Fedora 8 x86_84 system, /media/cdrom has disappeared. I suspect this is
the result of a yum update, but I need help diagnosing the problem.
1. There is no /media/cdrom when I put a CD or DVD into the ...
-
mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
On my Fedora 8 x86_84 system, /media/cdrom has disappeared. I suspect this is
the result of a yum update, but I need help diagnosing the problem.
1. There is no /media/cdrom when I put a CD or DVD into the drive.
If I type "mount /media/cdrom", I get the message:
mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
Here is /etc/fstab:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
Here is /etc/mtab:
/dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda1 /boot ext3 rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
2. I looked at my Fedora 8 laptop, and the fstab file is identical to
the one shown above, but the CDROM drive works fine on that machine.
3. It does not appear to be an SE-Linux problem because if I change SE-linux to
permissive mode, the problem persists.
4. Could it be a kudzu problem? If I go into Services and try restarting kudzu,
I get the message:
kudzu failed. The error was: Usage /etc/init.d/kudzu {start|stop}
5. The drive stopped working sometime after I did a recent round of yum updates
on Oct. 2 and Oct. 3. Perhaps these yum.log messages will give a clue:
Oct 02 07:21:05 Installed: kernel-2.6.26.5-28.fc8.x86_64
Oct 02 07:21:10 Updated: kernel-headers-2.6.26.5-28.fc8.x86_64
Oct 02 07:21:41 Installed: kernel-devel-2.6.26.5-28.fc8.x86_64
Oct 03 20:44:05 Updated: libxml2-2.7.1-2.fc8.x86_64
Oct 03 20:44:06 Updated: nss_compat_ossl-0.9.4-1.fc8.x86_64
Oct 03 20:44:07 Updated: libbtctl-0.9.0-4.fc8.x86_64
Oct 03 20:44:08 Updated: pam_krb5-2.2.18-2.fc8.x86_64
Oct 03 20:44:08 Updated: 3:traceroute-2.0.12-1.fc8.x86_64
Oct 03 20:44:13 Updated: selinux-policy-3.0.8-117.fc8.noarch
Oct 03 20:44:14 Updated: plague-common-0.4.5.6-1.fc8.noarch
Oct 03 20:44:14 Updated: plague-client-0.4.5.6-1.fc8.noarch
Oct 03 20:44:31 Updated: selinux-policy-devel-3.0.8-117.fc8.noarch
Oct 03 20:44:46 Updated: selinux-policy-targeted-3.0.8-117.fc8.noarch
Oct 03 20:44:47 Updated: libxml2-2.7.1-2.fc8.i386
Oct 03 20:44:48 Updated: pam_krb5-2.2.18-2.fc8.i386
Oct 03 20:44:49 Updated: libxml2-python-2.7.1-2.fc8.x86_64
Oct 03 20:44:53 Updated: libxml2-devel-2.7.1-2.fc8.i386
Oct 03 20:44:56 Updated: libxml2-devel-2.7.1-2.fc8.x86_64
Oct 03 20:44:57 Updated: 1:NetworkManager-glib-0.7.0-0.11.svn4022.4.fc8.x86_64
Oct 03 20:44:59 Updated: 1:NetworkManager-0.7.0-0.11.svn4022.4.fc8.x86_64
Oct 08 07:44:49 Updated: fakeroot-1.9.7-18.fc8.x86_64
Oct 08 07:44:51 Updated: fuse-libs-2.7.4-1.fc8.x86_64
Oct 08 07:44:54 Updated: fuse-2.7.4-1.fc8.x86_64
Oct 08 07:44:54 Updated: fuse-libs-2.7.4-1.fc8.i386
6. Yes, I have tried putting disks into and out of the drive, and rebooting
numerous times.
Where do I go from here?
-
Re: mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
I forgot to mention that I also tried booting my machine from the
Fedora 8 Live DVD, and the system came up just fine. This shows
that the hardware is okay.
Brian Fristensky wrote:
> On my Fedora 8 x86_84 system, /media/cdrom has disappeared. I suspect
> this is the result of a yum update, but I need help diagnosing the problem.
>
> 1. There is no /media/cdrom when I put a CD or DVD into the drive.
> If I type "mount /media/cdrom", I get the message:
>
> mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
>
> Here is /etc/fstab:
>
> /dev/VolGroup00/LogVol00 / ext3 defaults
> 1 1
> LABEL=/boot /boot ext3 defaults 1 2
> tmpfs /dev/shm tmpfs defaults 0 0
> devpts /dev/pts devpts gid=5,mode=620 0 0
> sysfs /sys sysfs defaults 0 0
> proc /proc proc defaults 0 0
> /dev/VolGroup00/LogVol01 swap swap defaults
> 0 0
>
> Here is /etc/mtab:
>
> /dev/mapper/VolGroup00-LogVol00 / ext3 rw 0 0
> proc /proc proc rw 0 0
> sysfs /sys sysfs rw 0 0
> devpts /dev/pts devpts rw,gid=5,mode=620 0 0
> /dev/sda1 /boot ext3 rw 0 0
> tmpfs /dev/shm tmpfs rw 0 0
> none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
> sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
> fusectl /sys/fs/fuse/connections fusectl rw 0 0
>
> 2. I looked at my Fedora 8 laptop, and the fstab file is identical to
> the one shown above, but the CDROM drive works fine on that machine.
>
> 3. It does not appear to be an SE-Linux problem because if I change
> SE-linux to permissive mode, the problem persists.
>
> 4. Could it be a kudzu problem? If I go into Services and try restarting
> kudzu, I get the message:
>
> kudzu failed. The error was: Usage /etc/init.d/kudzu {start|stop}
>
> 5. The drive stopped working sometime after I did a recent round of yum
> updates on Oct. 2 and Oct. 3. Perhaps these yum.log messages will give a
> clue:
>
> Oct 02 07:21:05 Installed: kernel-2.6.26.5-28.fc8.x86_64
> Oct 02 07:21:10 Updated: kernel-headers-2.6.26.5-28.fc8.x86_64
> Oct 02 07:21:41 Installed: kernel-devel-2.6.26.5-28.fc8.x86_64
> Oct 03 20:44:05 Updated: libxml2-2.7.1-2.fc8.x86_64
> Oct 03 20:44:06 Updated: nss_compat_ossl-0.9.4-1.fc8.x86_64
> Oct 03 20:44:07 Updated: libbtctl-0.9.0-4.fc8.x86_64
> Oct 03 20:44:08 Updated: pam_krb5-2.2.18-2.fc8.x86_64
> Oct 03 20:44:08 Updated: 3:traceroute-2.0.12-1.fc8.x86_64
> Oct 03 20:44:13 Updated: selinux-policy-3.0.8-117.fc8.noarch
> Oct 03 20:44:14 Updated: plague-common-0.4.5.6-1.fc8.noarch
> Oct 03 20:44:14 Updated: plague-client-0.4.5.6-1.fc8.noarch
> Oct 03 20:44:31 Updated: selinux-policy-devel-3.0.8-117.fc8.noarch
> Oct 03 20:44:46 Updated: selinux-policy-targeted-3.0.8-117.fc8.noarch
> Oct 03 20:44:47 Updated: libxml2-2.7.1-2.fc8.i386
> Oct 03 20:44:48 Updated: pam_krb5-2.2.18-2.fc8.i386
> Oct 03 20:44:49 Updated: libxml2-python-2.7.1-2.fc8.x86_64
> Oct 03 20:44:53 Updated: libxml2-devel-2.7.1-2.fc8.i386
> Oct 03 20:44:56 Updated: libxml2-devel-2.7.1-2.fc8.x86_64
> Oct 03 20:44:57 Updated:
> 1:NetworkManager-glib-0.7.0-0.11.svn4022.4.fc8.x86_64
> Oct 03 20:44:59 Updated: 1:NetworkManager-0.7.0-0.11.svn4022.4.fc8.x86_64
> Oct 08 07:44:49 Updated: fakeroot-1.9.7-18.fc8.x86_64
> Oct 08 07:44:51 Updated: fuse-libs-2.7.4-1.fc8.x86_64
> Oct 08 07:44:54 Updated: fuse-2.7.4-1.fc8.x86_64
> Oct 08 07:44:54 Updated: fuse-libs-2.7.4-1.fc8.i386
>
> 6. Yes, I have tried putting disks into and out of the drive, and
> rebooting numerous times.
>
> Where do I go from here?
-
Re: mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
BrianF schrob:
> I forgot to mention that I also tried booting my machine from the
> Fedora 8 Live DVD, and the system came up just fine. This shows
> that the hardware is okay.
[top-posting corrected]
Maybe the working machine has a daemon that creates a dir and mounts the cd
automagically. A daemon which is not running on the problem machine. I also
don't have an entry /mnt/cdrom in fstab - everything on my Gentoo system is
done by HAL/udev and KDE's service for removable media.
--
Gruß | Greetings | Qapla'
Windows is great - you can download Linux with it.
-
Re: mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
Brian Fristensky wrote:
> If I type "mount /media/cdrom", I get the message:
>
> mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
As root type this:
mkdir /media
mkdir /media/cdrom
mount /dev/cdrom /media/cdrom
Mark.
--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
-
Re: mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
Mark Hobley wrote:
> Brian Fristensky wrote:
>
>> If I type "mount /media/cdrom", I get the message:
>>
>> mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
>
>
> As root type this:
>
> mkdir /media
> mkdir /media/cdrom
> mount /dev/cdrom /media/cdrom
>
> Mark.
>
It's not that simple. Linux has daemons that check for new
hardware and create directories like /media/cdrom as needed.
/media/cdrom depends on there being one or two other directories
in /dev, which have to be configured correctly for anything at all
to be mounted.
I did try what you have above, which resulted
in the message:
mount: /dev/cdrom is not a block device
-
Re: mount: can't find /media/cdrom in /etc/fstab or /etc/mtab
I had a similar problem and followd your directions:
mkdir /media
mkdir /media/cdrom
mount /dev/cdrom /media/cdrom
And it worked for me. I'm running SLES10SP2. Why would I be missing the /media/cdrom directory?