LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2002, 01:42 PM   #1
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Rep: Reputation: 15
Question 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???
 
Old 08-09-2002, 01:49 PM   #2
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
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!

 
Old 08-09-2002, 03:10 PM   #3
bkmesenbrink
Member
 
Registered: Jul 2002
Posts: 38

Original Poster
Rep: Reputation: 15
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!?!

Please help
 
Old 08-09-2002, 05:25 PM   #4
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Rep: Reputation: 15
try running depmod -ae as root
 
Old 08-09-2002, 05:58 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
cdrom mounting simcox1 Slackware 1 09-18-2005 11:00 AM
mounting cdrom binboy35 Debian 8 11-06-2004 12:22 AM
about mounting cdrom rabside Linux - Newbie 1 04-23-2004 02:51 PM
mounting a cdrom PlatinumRik Linux - Networking 6 05-27-2003 10:11 AM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration