CDROM mounting
hi, everyone. I am a newbie in linux.
I have just installed Linux RedHat 7.2 from the CD. After I have logged into my system, I want to read some data from CDROM, so I type "mount /mnt/cdrom", but then, it replied "mount: /dev/cdrom is not a valid block device". I would like to know what does that mean? How can I read the data from CDROM in Linux. Thanks. Regards, Bowen |
There is a bug in red hat 7.2 that causes that error message to appear. The fix is to run depmod -ae as root. I hope it solves your problem.
|
well it means that /dev/cdrom does not represent a cdrom drive. have a look at "ls -l /dev/cdrom" and it will probably either not exist or be flashing red. if eitehr then you'll need to recreate the device:
ln -s /dev/hdX /dev/cdrom where X is the location of the cdrom drive: a= pri master b= pri slave c= sec master d= sec slave should be all you need. |
erm.. either that or it's redhat being arse.... :D bum....
|
I've got it
Thanks a lot for all your help...
I have typed "depmod -ae" and it works now!! Thanks alot. |
You're welcome. :)
|
All times are GMT -5. The time now is 10:22 PM. |