Click to See Complete Forum and Search --> : mount /dev/cdrom: unknown device
The Anti-Void
12-05-2001, 06:34 PM
For some strange reason RH7.2 refuses to mount either of my two cd-rom drives. The strange thing is that xcdroast reconigizes both of them. Typing "mount /dev/cdrom" or "mount /mnt/cdrom" produces the unknown device error. I've also tried "mount -t iso9660 /dev/hdb /mnt/cdrom" and it returns "wrong fs type, bad option, bad ..." I'm having the same problems getting the second to work as well.
This problem came up right after I swithced around the ide cables so that my first drive was set to primary slave and my second drive was set to secondary master.
Any suggestions about how to get this working?
try typing `depmod -ae` then try...
error27
12-06-2001, 03:43 AM
cut and paste /etc/fstab here.
/dev/cdrom is a symlink what is it pointing at?
type "ls -l /dev/ | grep cdrom" to find out. Paste the results here.
It could be that the symlink is pointing to the wrong device.
Keyser Soze
12-06-2001, 07:22 AM
7.2 has a known bug, the depmod -ae is the probable solution. Give it a try and report back, if it fails we can guide you further.
The Anti-Void
12-06-2001, 01:13 PM
Okay this is the part of my fstab file for the cdroms:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
the results of grep:
lrwxrwxrwx 1 root root 9 Nov 29 23:24 cdrom -> /dev/scd0
lrwxrwxrwx 1 root root 9 Nov 29 23:24 cdrom1 -> /dev/scd1
I tried using depmod -ae and now my cd-rw (that's on hdc) is working when I mount it by typing "mount /mnt/cdrom". However my other cd drive is still giving me that unknown device error. My guess is that the cdrom1 syslink should be pointing to /dev/hdb, perhaps? It's an ide drive and I've learned from past experience that it dosen't like being addressed as a scsi device.
How would I go about changing it? Would it be a simple a making a link /dev/cdrom1 that points to /dev/hdb?
[ 06 December 2001: Message edited by: The Anti-Void ]
error27
12-06-2001, 08:33 PM
good deal that depmod -ae worked. I hadn't heard of that bug.
just try mounting the device instead of the symlink. You'll need to specify the -t since the device is not in /etc/fstab.
If that works delete the symlink and "ln -s /dev/hdb /dev/cdrom1"
Of course the first part may not work... in that case maybe someone else has an idea.
The Anti-Void
12-07-2001, 02:00 AM
I finally got it working. Thanks for the help.
Frith
12-07-2001, 02:07 AM
x cd-roast requires scsi-emulation, right?
maybe, like on my computer, your first cdrom is at /dev/sr0, and your second one is at /dev/sr1.
I do 'mount -t iso9660 /dev/sr0 /cdrom1' to mount it on my PC. maybe this'll help.
edit: oops, I didn't read all the way down and see that you fixed it; oh well. maybe someone else can find a use for my submission.
[ 07 December 2001: Message edited by: frithiof ]
error27
12-07-2001, 02:14 AM
how did you fix it? you can't leave us hanging like that! :P
Frith
12-07-2001, 02:19 AM
yea. tell us. so we can potentially avoid making the same mistake ourselves in the future. :p