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'm having problem mounting CD-RW in my linux machine. I can mount it manually,
but I'm having problem during booting. I'm using RH 8. This is what I did:
ln -s /dev/hdd /dev/cdrom1
mkdir /mnt/cdrom1
Then, I modified /etc/fstab by adding this line:
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kuzdu,ro 0 0
Then I usually umount -a and then mount -a.
In the first couple of reboot, usually the cdrom1 mounted nicely, but after that
, when I boot the system, I got error while updating /etc/fstab cannot stat /dev
/cdrom1 not found.
When I check, /dev/cdrom1 and /mnt/cdrom1 have been deleted, and /etc/fstab has
been modified. Usually, another line of /dev/cdrom1 ..... is added in fstab.
Any clue what happened? Is there a script somewhere that causes this to happen?
Have you used any graphical configuration programs. I don't use RH, but in SuSE you run the chance of loosing any changes manually made once you run it's configuration utilities.
thereis an automounter program in RH (console or GUI) that handles mounting of cds/floppys for you and that deamon deleted your dirs probably. I don't think it's necessary to have fstab entry in you are using GUI, because when cd in inserted you'll get icon on your desktop with mounted cd
I dissagree with you Noerr, because a distrobution only know what to check for automounting through the /etc/fstab. Things like hotplug will automaticly add new devices to the fstab at boot, but automount requires fstab to know what to mount.
No, I haven't use any graphical configuration program. I do not know whether RH8 run the configurator during boot or not. If it does, how do I get around the problem?
console automounter should't be messing your fstab so it must be some other app.
besides it is very very weird that link /dev/cdrom1 would get deleted on its own
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.