I added a 40 GB hard disk to my SUSE box. Now when I try to mount a CD using mount -t iso9660 /dev/cdrom /cdrom I get a message "mount: no medium found".
The light on the CD drive comes on during this exercise, and the bios shows it (ATAPI). I have also tried this with several CDs, some of which I used successfully prior to installing the new drive. Anybody seen this before? |
have u changed the CD from master to slave? if thats so the device changed position under /dev, I think
"cat /proc/devices or cat /proc/mounts" should show it. |
Hmmm.
This is new territory. When I cat /proc/mounts I see the current mounts as follows: /dev/root / ext2 rw 0 0 proc /proc proc rw 0 0 /dev/hdb1 /d01 ext2 rw 0 0 /dev/hda1 /boot ext2 rw 0 0 devpts /devpts devpts rw 0 0 usbdevfs /proc/bus/usb usbdevfs rw 0 0 The fstab looks like this: /dev/hda2 swap ext2 defaults 0 0 /dev/hda3 / ext2 defaults 1 1 /dev/hdb1 /d01 ext2 defaults 1 2 /dev/hda1 /boot ext2 defaults 1 2 /dev/hdc /cdrom auto ro,noauto,user,exec 0 0 /dev/fd0 /floppy auto noauto,user 0 0 The block devices reported by cat /proc/devices are: 1 ramdisk 2 fd 3 ide0 7 loop 9 md 22 ide1 58 lvm Okay, armed with all this info, how do I determine whether the CD has been changed from master to slave? |
Ok, its detected, master on IDE2 & correct entry in fstab. No problems there.
Only stuff I know u could further test on is 1) no cd inserted (u already checked that) 2) wiring & master/slave pins on the CDR (but its recognized) or 3) faulty CDR. The only thing I know to test a CDR then would be a "raw" read & write from the device (dd infile, outfile) like: "dd if=/dev/hdc of=/tmp/testread.img" This would bypass mount, any filesystem options etc. *Better kill that after a few megs if it reads ok. If this works the problem isnt the device. I hope someone else will also shed a light on this one.. |
Further investigation revealed incorrect hard disk jumper settings. Adjusted jumper and it works.
|
All times are GMT -5. The time now is 03:02 PM. |