Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 01-21-2006, 07:01 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
CDROM: mount: /dev/hdc does not exist

Hey there

I'm using Debian testing distro kernel build 2.6.12-1-686. I am having an issue whereby attempting to mount my CDROM, gives me

mount: special device /dev/hdc does not exist'

Dmesg identifies it as:

Probing IDE interface ide1...
ide1 at 0x170-0x177,0x376 on irq 15

Fstab says:

/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0

After looking in /dev for hdc, I find in fact it dosen't exist. After looking in /dev for /media/cdrom0, I find no evidence of that, nor of any /media directory, nor of any other cdrom entries (scd0, etc)

So, I tried to create the device nodes in /dev with sh ./MAKEDEV -v scd-all. It returned:

create scd0 b 11 0 root:cdrom 0660
create sr0 -> scd0
create scd1 b 11 1 root:cdrom 0660
create sr1 -> scd1 (etc, etc, etc)

Going back to /dev, I find they still don't exist. So, I do a sh ./MAKEDEV -v hdc, and again same result, but alas no device node.

So I'm at my wits end here and need someone who hopefully has a clue what this could be. Any help is appreciated.
Old 01-21-2006, 08:11 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
There is a hint as to where the problem lies.
create sr0 -> scd0

This tells me that the device to link to is /dev/sr0 instead of /dev/hdc.

When I used SuSE 8.X, it linked to /dev/sr0 for cdrom and /dev/sr1 for dvd. When I upgraded to SuSE 9.3, the link moved to /dev/hdc for both cdrom and dvd.

So, try editing fstab. Change /dev/hdc to /dev/sr0.

If the mount point /media/cdrom0 does not exist, then create it: mkdir /media/cdrom0.

Then try the cdrom drive again.
Old 01-22-2006, 12:58 AM   #3
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
One (possibly irrelevant) question to ask is whether or not there is actually a data CD in the drive when you are attempting to mount it. If you are trying to mount the CD drive while it's empty, or when it's got an audio CD in it (which lacks a valid file system), the mount command will fail. You'll only be able to mount the CD if it contains a data CD.
Old 01-22-2006, 02:13 AM   #4
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,013

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
You can create "/dev/hdc" with

mknod -m 0666 /dev/hdc b 22 0

you can make a bash program that does this with:

mknod -m 0666 /dev/hdc b 22 0

in a text editor. Then, whatever you named the file:

chmod a+rx scriptfile
mv scriptfile /usr/bin

Whenever you type the scriptfile name it will create /dev/hdc


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 /dev/hdc /dev/cdrom doesn't work ShrikesHarvest Linux - Newbie 10 02-21-2009 07:05 AM
mount: special device /dev/cdrom does not exist clau_bolson Linux - Hardware 5 07-12-2007 10:39 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
mount: special device /dev/cdrom does not exist robrichards Linux - Hardware 20 02-15-2005 02:52 PM > Forums > Linux Forums > Linux - Hardware

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

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