Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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/
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.