LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problem mounting CD-R in Redhat 8 (https://www.linuxquestions.org/questions/linux-general-1/problem-mounting-cd-r-in-redhat-8-a-44277/)

TrappedByWin 02-06-2003 12:13 AM

Problem mounting CD-R in Redhat 8
 
Hi,

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?

Thanks

marsonist 02-06-2003 02:24 AM

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.

Noerr 02-06-2003 04:00 AM

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

marsonist 02-06-2003 06:17 AM

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.

Can anybody confirm or deny this?

-Steve

TrappedByWin 02-06-2003 11:31 AM

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?

Noerr 02-07-2003 03:27 AM

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


All times are GMT -5. The time now is 05:49 PM.