LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 02-06-2003, 12:13 AM   #1
TrappedByWin
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
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
 
Old 02-06-2003, 02:24 AM   #2
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Rep: Reputation: 30
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.
 
Old 02-06-2003, 04:00 AM   #3
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
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
 
Old 02-06-2003, 06:17 AM   #4
marsonist
Member
 
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Rep: Reputation: 30
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
 
Old 02-06-2003, 11:31 AM   #5
TrappedByWin
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Original Poster
Rep: Reputation: 0
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?
 
Old 02-07-2003, 03:27 AM   #6
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting windows patitions in redhat 9 problem bubbahpw Linux - Newbie 3 09-01-2004 07:59 AM
Problem with mounting ntfs in Redhat 8 lakshan Linux - Software 1 08-06-2003 10:41 PM
Wierd problem mounting fat32 partition on redhat 8 floppycolon Linux - Software 3 03-02-2003 12:43 PM
problem mounting floppy drive redhat 7.2 alexwatson Linux - Newbie 1 05-27-2002 12:31 PM
Mounting problem for Redhat 7.3 CiTl2uS Linux - Newbie 1 05-25-2002 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration