Click to See Complete Forum and Search --> : Why is my cdrom not working?


lazyboy
03-09-2001, 10:46 PM
Dear LNO people,
After my hardware crahsed a few days ago, I found out that my cdrom was transffered from /dev/hdd to /dev/hdb. It seems that my cdrom does not work after that. when I issue the mount command as root I get this message /dev/cdrom is not a valid block device. But my cdrom works in windows. I have compiled cdrom, vfat, msdos support in the kernel. Here is an entry from my /etc/fstab file:
/dev/cdrom /mnt/cdrom iso9660 moauto.owner, ro 0 0
How do I get my cdrom to work again?
Please shed some light on this matter. Thanks a lot.

teeitup
03-10-2001, 12:33 AM
this should help you figure it out.

Lets verify the cdrom information...
dmesg | grep hd

This will list all ide drives found at boot time.
We'll assume demsg calls it hdb
Most Linux distributions setup a link to the /dev/hdb file for the cdrom, /dev/cdrom. check yours
ls -l /dev/cdrom

This output tells you the what /dev/cdrom is linked to. It should be the ide drive noted earlier.
If it's not you need to relink it.

delete the /dev/cdrom file.
cd /dev
rm cdrom
ln -s /dev/hdb /dev/cdrom

that should set you up.

Good Luck,