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... hdc: SONY CD-RW CRX230ED, ATAPI CD/DVD-ROM drive 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. |
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. |
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.
|
You can create "/dev/hdc" with
mknod -m 0666 /dev/hdc b 22 0 you can make a bash program that does this with: #!/bin/bash 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 |
All times are GMT -5. The time now is 04:08 PM. |