cdrom not in fstab
I don't know when this happened, but today I tossed a CD in and it wasn't recognizing the cdrom. I tried to mount it and it said there was no cdrom in fstab. So I checked fstab, there was no cdrom line. I don't know when this happened, but it also turns out that there is no /dev/cdrom either.
Am I correct in remembering that /dev/cdrom was a symlink to something else? If so what? If not how do I get my /dev/cdrom back? Thanks |
Okay first post your fstab.
/dev/cdrom is usually a symlink. Which device depends on which ide cable and whether its master or slave Primary Master /dev/hda Primary Slave /dev/hdb Secondary Master /dev/hdc Secondary Slave /dev/hdd |
Ok what distro, version are you running? Its possible that something happend to the drive. I'm guessing maybe kudzu didn't detect the drive and therefore deleted it from the /etc/fstab/
|
I don't know if this is much help but my /dev/cdrom is pointing to /dev/scd0
My CD drive isn't a scsi though :confused: |
If its a writer then scsi emulation is normally used. so scd0 would be correct.
|
Quote:
Sorry for the off-topic |
Ok, I got it working, but for completeness, I am running Red Hat 9 and here is my fstab:
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext2 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda7 swap swap defaults 0 0 /dev/hda2 /mnt/win/c vfat defaults 0 0 /dev/hda5 /mnt/stor/d vfat defaults 0 0 /dev/hdc1 /mnt/stor/e vfat defaults 0 0 /dev/hdc2 /mnt/stor/f vfat defaults 0 0 /dev/hdc5 /mnt/stor/g vfat defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0 The thing was that I just added the second hard drive and moved the cdrom to the slave on the secondary IDE. I didn't know that it would just delete the cdrom entry in fstab like that. I created the symlink again, and it goes to /dev/hdd (it is not a burner). Ok, one last question. Before I could type mount cdrom and it would mount it, now I have to type mount /dev/cdrom or mount /mnt/cdrom. How was that possible before? Thanks all |
Is it possible you had the cdrom directory in the root ie /cdrom not /mnt/cdrom?
This would explain it. Or a symlink from /cdrom too /mnt/cdrom? ( Been a while since I used redhat ) |
That might be it. I don't remember exactly, but I don't remember a /cdrom. The eject cdrom works, but mount needs the whole path now.
I tried adding a symlink in / and that still doesn't do it. It still says it can't find /cdrom in /etc/fstab or /etc/mtab. |
All times are GMT -5. The time now is 04:56 PM. |