Click to See Complete Forum and Search --> : unable to mount cdrom


ggsam
08-06-2002, 12:30 AM
This is my 1st try for linux.
I've installed redhat 7.2
When i click on cd icon
an error msg appeared "unable to mount cdrom
dev/cdrom is not a valid block device"

What could be the cause??
Please help!!

fancypiper
08-06-2002, 01:16 AM
Accessing drives (http://sunsite.dk/linux-newbie/lnag_drives.html) from the Linux Newbie Administrator Guide may help as you haven't posted much info to help diagnose your problem.

Loki3
08-06-2002, 01:57 AM
Sounds like /etc/fstab needs some work. Maybe post it up?

DMR
08-06-2002, 03:32 AM
It's a known bug in the Redhat 7.2 installation process. Here's the official word from Redhat:CD-ROM fails to mount after install/upgrade to 7.2

We have found an installer related bug in some hardware set-ups. After an installation of 7.2 or upgrade of an existing system, these units report "/dev/cdrom not a valid block device" causing the mount to fail and a possible system crash. Running the command as root "depmod -ae" should solve this issue. Additionally, upgrading to the latest kernel errata will solve this issue.


I think you'll need to reboot after that, but I'm not sure...

rootpsh
08-06-2002, 08:25 AM
yes there is a Bug in Red Hat 7.2 , sometimes it never mounts CD-ROM ...

To fix this problem : run following command

root@prompt# depmod -ae


hopefully it will fix your problem , mine was fixed after runnig the command .

schocklo
08-06-2002, 11:10 AM
try typing this on a console:

mount -r -t iso9660 /dev/cdrom /mnt/cdrom