Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: Re: Error mounting cdrom

Posted on 10-24-2000 01:55 a.m. ET  reply

Original Poster: Mark Krentel

> I just got my 5.2 working and I want access information on the CD when
> I try to mount the cd I receive an /dev/cdrom not a valid block device
> error.

First, what type of CDROM is it? And I don't mean the brand, I mean
the interface type (ATAPI, SCSI, etc). Hopefully it doesn't run off a
sound card.

Normally, /dev/cdrom is a symlink to the real CDROM device. For
example, my SCSI CDROM is set up as:

# ls -l /dev/cdrom
lrwxrwxrwx 1 root root 4 Oct 20 19:33 /dev/cdrom -> scd0

For ATAPI, the link would be hdb, hdc or hdd, depending on whether the
CDROM is the master or slave on the first or second IDE controller.

Next, check the cdrom entry in /etc/fstab. Mine has:

# grep cdrom /etc/fstab
/dev/cdrom /cdrom iso9660 noauto,owner,ro 0 0

This mounts it at /cdrom. Yours might say /mnt/cdrom, it doesn't
matter, it's just personal preference. But whatever the mount point
is, check that it exists as an (empty) directory.

Then you should be able to run "mount /cdrom" as root.

If this doesn't work, then run "grep -i cd /etc/fstab" and
"ls -l /dev/cdrom" and tell me what they say.


< Previous 1 Next >

Site Contents