LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CD Mount problem (https://www.linuxquestions.org/questions/linux-newbie-8/cd-mount-problem-4668/)

euler1965 07-24-2001 10:50 AM

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?

Thomas_Delrue 07-24-2001 12:36 PM

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

DavidPhillips 07-24-2001 10:52 PM

mkdir /mnt/cdrom


mount /dev/cdrom

isajera 07-25-2001 01:11 AM

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.

jharris 07-25-2001 07:17 AM

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...

euler1965 07-25-2001 09:14 AM

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.

euler1965 07-26-2001 03:09 PM

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 ?

isajera 07-26-2001 06:37 PM

hmmm... what kind of cdrom drive do you have?

euler1965 07-30-2001 11:43 AM

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....


All times are GMT -5. The time now is 09:46 PM.