LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CDROM mounting (https://www.linuxquestions.org/questions/linux-newbie-8/cdrom-mounting-21906/)

bowen 05-27-2002 03:11 AM

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

linuxcool 05-27-2002 03:20 AM

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.

acid_kewpie 05-27-2002 03:23 AM

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.

acid_kewpie 05-27-2002 03:23 AM

erm.. either that or it's redhat being arse.... :D bum....

bowen 05-27-2002 04:34 AM

I've got it
 
Thanks a lot for all your help...
I have typed "depmod -ae" and it works now!!
Thanks alot.

linuxcool 05-27-2002 05:05 AM

You're welcome. :)


All times are GMT -5. The time now is 10:22 PM.