LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 05-20-2002, 03:51 AM   #1
robrichards
LQ Newbie
 
Registered: Jan 2002
Location: edmonton alberta canada
Distribution: debian
Posts: 5

Rep: Reputation: 0
mount: special device /dev/cdrom does not exist


Dear Folks,

I have a cdrom. I would like to transfer files to my hard drive. I type:

mount /cdrom

and get the error message:

mount: special device /dev/cdrom does not exist

So I try (and get the same error message) :

mount -t iso9660 -o ro /dev/cdrom /cdrom

So I look at /etc/fstab and I have a line

/fs/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0

What do I do now? Help!
-thanks
-rob
 
Old 05-20-2002, 04:31 AM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
This line:

/fs/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0

Should look like this:

/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0
 
Old 05-20-2002, 04:47 AM   #3
robrichards
LQ Newbie
 
Registered: Jan 2002
Location: edmonton alberta canada
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, you are correct - I typed incorrectly in my question. My system does have the line:

/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0

Still no cdrom access.
 
Old 05-20-2002, 05:00 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Looking over your post, I see that it says that ' special device /dev/cdrom does not exist '. Do an ls -l /dev/cdrom see what you get. It should be a symbolic link to the actual device. Do you know what device your cdrom is? If you do, you can either create a new symbolic link or you can just enter the device into the fstab file. If your cdrom is ' /dev/hdc ', just change the entry in your fstab file from ' /dev/cdrom ' to ' /dev/hdc '. To create a new symbolic,
' ln -sf /dev/hdc /dev/cdrom '

Last edited by linuxcool; 05-20-2002 at 05:04 AM.
 
Old 05-20-2002, 11:41 AM   #5
robrichards
LQ Newbie
 
Registered: Jan 2002
Location: edmonton alberta canada
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
Dear Linxcool,
tried the above link command and presto it *worked!* I was then curious what the link *was*, but too late. anyways, it now works, thanks very much.
-rob
 
Old 05-21-2002, 03:36 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
Old 05-22-2002, 04:52 AM   #7
Russman67
LQ Newbie
 
Registered: Apr 2002
Location: Southern California
Distribution: Red Hat 7.2
Posts: 10

Rep: Reputation: 0
I'm having a silimar problem. I keep getting the error '/dev/cdrom is not a valid block device' I added links to /dev/hdd (That is what I got when I did a ls -l /dev/cdrom) to /etc/fstab. But had no luck...
 
Old 05-22-2002, 09:18 PM   #8
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
There is a bug in red hat 7.2 that gives that error. Try running as root
depmod -ae and see if that fixes it.

Last edited by linuxcool; 05-22-2002 at 09:19 PM.
 
Old 05-23-2002, 03:03 AM   #9
Russman67
LQ Newbie
 
Registered: Apr 2002
Location: Southern California
Distribution: Red Hat 7.2
Posts: 10

Rep: Reputation: 0
I guess we can call this progress I now get an error that says, "Mount: Wrong fs type, bad option, bad superblock on /dev/cdrom or too many mounted file systems" How do I decipher this one?
 
Old 05-23-2002, 03:18 AM   #10
mcujino
LQ Newbie
 
Registered: Apr 2002
Location: tel aviv Israel
Distribution: SuSE 7.3
Posts: 20

Rep: Reputation: 0
two units

i have two units in my system, a creative dvd and a hp cd burner, initially the system recognize the dvd as cdrom and the hp as cdrom1 . because the dvd couldnot read the installation cd in order to run yast2 i run it from the hp (cdrom1). from them on when i mount the cdrom or the cdrom1 the system refers to the hp and i have no way to access the dvd unit....no clue what to do S.O.S
 
Old 05-23-2002, 09:27 PM   #11
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Russman67, make sure you are mounting a data cd and not a music cd. You can't mount a music cd. Is your cdrom drive /dev/hdd or something else? If you are trying to mount a data cd and it won't mount, try the following commands:

mkdir /cdrom
mount -t iso9660 /dev/hd? /cdrom -o ro
ls /cdrom


This will create the mount point /cdrom and mount the cd and then list the contents of folder /cdrom. Replace the ? with the correct letter. If it mounts and when you're done, run umount /cdrom to unmount the cdrom drive. Also, could you post a copy of your /etc/fstab file.

Last edited by linuxcool; 05-23-2002 at 09:28 PM.
 
Old 05-23-2002, 09:42 PM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Re: two units

mcujino

It sounds like you have no entry in your /etc/fstab file for your dvd. It could be that the cdrom entry was changed from your dvd to your burner. So, now your burner is both cdrom and cdrom1. You could edit the cdrom line in your /etc/fstab file to make it the dvd line.
 
Old 05-24-2002, 02:02 AM   #13
Russman67
LQ Newbie
 
Registered: Apr 2002
Location: Southern California
Distribution: Red Hat 7.2
Posts: 10

Rep: Reputation: 0
Mine works now. Very happy. Thank you.
 
Old 05-24-2002, 04:05 AM   #14
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Russman67, you're welcome.

BTW, how did you get it working?
 
Old 05-25-2002, 04:26 AM   #15
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
I always rather use device names instead of links like /dev/cdrom
If you letsay move your cdrom from hdb to hdc .. then /dev/cdrom no longer holds
 
  


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 refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
mount: special device /dev/cdrom does not exist clau_bolson Linux - Hardware 5 07-12-2007 10:39 AM
special device /dev/uba1 does not exist phil.d.g Slackware 12 07-25-2005 02:11 AM
Gentoo: mount: special device /dev/hdg* does not exist mope Linux - Software 4 02-25-2003 12:11 PM
special device /dev/cdrom does not exist anolan514 Linux - Newbie 1 11-14-2001 10:34 PM


All times are GMT -5. The time now is 11:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration