LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-24-2001, 10:50 AM   #1
euler1965
LQ Newbie
 
Registered: Jul 2001
Location: Buenos Aires, Argentina
Distribution: Red Hat 7.1
Posts: 5

Rep: Reputation: 0
Unhappy CD Mount problem


Hi,

When I try to mount a CD-ROM I get the following error running under KDE:

"mnt/cdrom is a file but a directory was expected...."

under GNOME: I don't get the error, but I'm not able to browse the contents of CD, because mnt/cdrom (which is a directory) is shown as a 0 bytes "file" (when listing contents of /mnt directory after mounting)

Entry in etc/fstab is:

/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide

Anybody can help me?
 
Old 07-24-2001, 12:36 PM   #2
Thomas_Delrue
Registered User
 
Registered: Jul 2001
Posts: 41

Rep: Reputation: 15
just a hunch

This is just a hunch (being a newbie myself...

should that 'unhide' be there?

Also try to remove the FILE named 'cdrom' from your /mnt/ directory and create a directory called cdrom...

in your fstab file, make sure that it is mounted to the /mnt/cdrom (the dir you created) directory...

Just a hunch... but give it a try
 
Old 07-24-2001, 10:52 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
mkdir /mnt/cdrom


mount /dev/cdrom
 
Old 07-25-2001, 01:11 AM   #4
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
try :

/dev/cdrom /cdrom auto ro,noauto,user,exec 0 0

check out 'man fstab' and 'info fstab' for more on what all that junk means.
 
Old 07-25-2001, 07:17 AM   #5
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by DavidPhillips
mkdir /mnt/cdrom
If mount is saying that a file called /mnt/cdrom already exists then the above will fail as you'll be trying to create a dir with the same name. You'll want to put rmdir /mnt/cdrom infront of DavidPhillips' commands.

cheers

Jamie...
 
Old 07-25-2001, 09:14 AM   #6
euler1965
LQ Newbie
 
Registered: Jul 2001
Location: Buenos Aires, Argentina
Distribution: Red Hat 7.1
Posts: 5

Original Poster
Rep: Reputation: 0
First of all , thanks everybody !

I'll try isajera's entry in fstab.

For the rest, strange thing is that /mnt/cdrom IS a directory, but after mount command "turns into" a o bytes file when browsing /mnt directory with ls.

I've also tried, removing directory an creating it again or using another "mount point" but with same results.
 
Old 07-26-2001, 03:09 PM   #7
euler1965
LQ Newbie
 
Registered: Jul 2001
Location: Buenos Aires, Argentina
Distribution: Red Hat 7.1
Posts: 5

Original Poster
Rep: Reputation: 0
Well:

I tried

/dev/cdrom /cdrom auto ro,noauto,user,exec 0 0

but failed again.....

So, I decided to begin from scratch by installing another RH version, and to my surprise with Red Hat 6.2 I was able to mount and browse CD.

Another thing to point out, is that when installing RH 7.1 I was forced to make a "Hard Disk" installation. Although, booting from CD-ROM was successful, installation from "Local CDROM" reported something like: "I can't find RedHat images on any Local CDROM".........


Any suggestions ?
 
Old 07-26-2001, 06:37 PM   #8
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
hmmm... what kind of cdrom drive do you have?
 
Old 07-30-2001, 11:43 AM   #9
euler1965
LQ Newbie
 
Registered: Jul 2001
Location: Buenos Aires, Argentina
Distribution: Red Hat 7.1
Posts: 5

Original Poster
Rep: Reputation: 0
My CD-ROM drive is an old 4X Creative.

Finally, I did a small investment and bought a newer CD-ROM drive (another Creative) but 52X.

I replaced the old one, and everything started working fine !!

Seems RH71 doesn't support some old hardware....
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount:not a directory. Suse dvd mount problem tzanis Linux - General 8 11-06-2005 11:30 AM
cd r/rw mount problem zaman Linux - Hardware 2 06-11-2004 08:17 AM
weird kernel problem and fs mount problem intense Slackware 5 03-16-2004 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration