Advertisement

How do I get the CDROM working?

Started by July 23, 2004 12:34 PM
42 comments, last by HTML 20 years, 6 months ago
I just installed debian sarge with the default kernel 2.6.7, and I am not sure how to get the cdrom working. Here is the fstab /dev/hdb /media/cdrom iso9660 ro,user,noauto 0 0 /dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/hda /media/cdrom1 iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy auto rw,user,noauto 0 0 /dev/hdb /cdrom iso9660 ro,user,noauto 0 0 I don't know why it made all these other cdroms because I only have 2, a dvd rom and a cdrw. EDIT:: I don't have discover it seems, so do I install discover1 or discover?? Thanks [Edited by - HTML on July 24, 2004 4:21:23 PM]
It only creates two cdrom drives. If you look closely it mounts /dev/hdb to 2 locations, /media/cdrom and /media/cdrom0. And then it mounts /dev/hda to /media/cdrom1.
EDIT:
Oops. Missed that last line. So instead of being mounted 2 places /dev/hdb is mounted 3 places.

[Edited by - bytecoder on July 23, 2004 2:26:45 PM]
Advertisement
type in mount /cdrom and it should work
When I type:

mount /cdrom

I get:

mount: No medium found

Quote:
Original post by HTML
When I type:

mount /cdrom

I get:

mount: No medium found


Do you have a cd in the drive?
If I put a cdrom in the drive I get:

mount: wrong fs type, bad option, bad superblock on /dev/hdb,
or too many mounted file systems


EDIT:: mount /dev/hdb /media/cdrom gives me this:

/dev/hdb: Input/output error
mount: block device /dev/hdb is write-protected, mounting read-only
/dev/hdb: Input/output error
mount: /dev/hdb: can't read superblock


And should I delete some of those other /dev/cdroms in fstab since there are 2 of them?

[Edited by - HTML on July 23, 2004 8:49:04 PM]
Advertisement
Anyone know why I get these errors?
You probably would like to keep these:
/dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hda /media/cdrom1 iso9660 ro,user,noauto 0 0

These are just duplicate and triplicates:
/dev/hdb /media/cdrom iso9660 ro,user,noauto 0 0
/dev/hdb /cdrom iso9660 ro,user,noauto 0 0

I am not entirely sure if that would solve your problem though. I'll boot up a Linux machine later today and see if it would. Have you also tried other CDs?

Try replacing iso9660 with auto to enable filesystem autodetection, then mount the drive. You should then be able to query (by just typing mount with no parameters, I believe) what is the actual filesystem type.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Nope, same old error:

mount /dev/hdb /media/cdrom0

/dev/hdb: Input/output error
mount: block device /dev/hdb is write-protected, mounting read-only
/dev/hdb: Input/output error
mount: /dev/hdb: can't read superblock

mount /media/cdrom1

/dev/hda: Input/output error
mount: /dev/hda: can't read superblock


Debian is a great distro but getting hardware to run right is a pain... May have to switch to Mandrake or SUSE.


Any other suggestions?
Thanks

This topic is closed to new replies.

Advertisement