LinuxQuestions.org

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

bkmesenbrink 08-09-2002 12:42 PM

Mounting cdrom
 
I am using RH 7.2 I try to mount the cdrom with... mount /dev/cdrom /mnt/cdrom

I get the following error message...
mount: /dev/cdrom is not a valid block device

What am I doing wrong??? :(

abrakadabra 08-09-2002 12:49 PM

Hi bkmesenbrink,

start a session as root and try this.

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

now for this to work make sure that there is an entry for your /dev/cdrom in your fstab file. Also, make sure that the /mnt/cdrom mount point exist in your system. If it doesn't exist you need to create it.

good luck!

:p

bkmesenbrink 08-09-2002 02:10 PM

The entry in my /etc/fstab file is...
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

I have the following entries in the /mnt directory...

drwxr-xr-x 2 root root 1024 Jul 30 10:37 cdrom

When I type the command under root...

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

I still get;
mount: /dev/cdrom is not a valid block device

I don't understand why this isn't working!?! :confused:

Please help

A-dummy 08-09-2002 04:25 PM

try running depmod -ae as root

neo77777 08-09-2002 04:58 PM

What ls -l /dev/cdrom
reports?
I bet there's no such device, run as root
dmesg|less till you see an entry initializing hardrives and cd-rom
note what it is : should be along these lines hdx
x is a letter a...z
with it in hands, suppose it turn out to be hdb, make a symlink
ln -sf /dev/hdb /dev/cdrom


All times are GMT -5. The time now is 05:49 PM.