LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-06-2003, 12:14 PM   #1
robbinsar
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Rep: Reputation: 0
Cdrom mount


Hello,

I am running Redhat 9 and the hardware browser shows a samsung CD-Rom SC-140. The cdrom does not mount when I put in a disc. When I run mount -t iso9660 /dev/cdrom /mtn/cdrom or mount -t iso9660 /dev/hdc /mtn/cdrom or when I use the mount button on the usermount gui I get the same error.

Mount: Not a directory


Thanks for any assistance you can offer.
 
Old 04-06-2003, 12:18 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well it celarly says that the directory you're trying to mount it on is not actually a directory.... create it. or at least SPELL it right... /mnt/ not /mtn/
 
Old 04-06-2003, 12:19 PM   #3
smj
LQ Newbie
 
Registered: Feb 2003
Posts: 16

Rep: Reputation: 0
Hrmm,

If you are actually doing /mtn/, try replacing /mtn/ with /mnt/
 
Old 04-06-2003, 12:25 PM   #4
robbinsar
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, I was spelling it right. Sorry for the error in my question. Any other ideas?
 
Old 04-06-2003, 12:27 PM   #5
robbinsar
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
/mnt/cdrom is a directory on my system it just always says 0 items. Thanks again for the help
 
Old 04-06-2003, 01:01 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Very strange, and this is done as root then?
mount -t iso9660 /dev/hdc /mnt/cdrom

And it returns an error? What error?

Is /dev/hdc really your cdrom device? Check dmesg (in a console type dmesg | less ) for the section on your devices, and make sure hdc is your cdrom.

Cool
 
Old 04-06-2003, 01:06 PM   #7
robbinsar
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for trying to help, MasterC!

The error I get in both the terminal or in a pop up window(when I use the usermount gui) is

Mount: Not a directory.


I have tried mounting both /dev/cdrom and /dev/hdc both return the above message.

I have also tried mounting the filesystem to /mnt/cdrom and other known directories, still same error.

I belive it is finding the cdrom and everything ok since I am not getting a device error or a no medium found error. It also does display the block information as usual saying that its write protected and its going to mount it in read only, it then pauses and returns the Mount: Not a directory.

?


Thanks again.
 
Old 04-06-2003, 01:09 PM   #8
robbinsar
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
sorry, yes I am root when doing this.
 
Old 04-06-2003, 01:49 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
How very odd. You have tried other directories then? As root:
mkdir /mnt/test
mount -t iso9660 /dev/cdrom /mnt/test

Also, check your fstab to see if maybe you've got supermount/automount setup and it's auto mounting your device somewhere else.

If you've got another "rom" device, give that a try as well. Can you mount partitions?

Cool
 
Old 04-06-2003, 03:51 PM   #10
robbinsar
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I made a test directory tried to mount there, no luck.

I checkd the fstab file and there was no automount/supermount setup.

/dev/cdrom is a link to /dev/hdc

When I open the hardware browser it shows the samsung cd-rom drive listed as /dev/hdc

Not sure if that helps any, I have tried mounting both various ways. still nothing but that error. I am able to mount partitions and the floppy drive I can mount and umount no problem, its just the pesky cdrom drive.

Thanks for the help.
 
Old 04-06-2003, 05:25 PM   #11
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Redhat might be using IDE-SCSI module. Try /dev/scd0 or /dev/sc0. I don't remember. I'm not on my home computer. My home computer uses IDE-SCSI module for my CD-RW drive. I have to use SCSI dev schemes when using dd to make ISO images of my CDs. Try looking for it under /dev. It may be not be physically connected at all, so check the cable.
 
Old 04-07-2003, 12:30 PM   #12
robbinsar
LQ Newbie
 
Registered: Apr 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the suggestions everyone. I wll try the SCSI stuff and also I have the strace output that I can post so you all can see where is actually happening. Thanks again.
 
Old 05-01-2003, 01:51 AM   #13
tobysaville
LQ Newbie
 
Registered: Apr 2003
Posts: 18

Rep: Reputation: 0
Find a solution?

I too am having trouble mounting my CD in RH9 and was wondering if you were able to mount using /dev/scd0.
 
  


Reply



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
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
cant mount cdrom solarcontrol Linux - Hardware 10 01-16-2005 01:34 PM
cdrom mount pazvant Solaris / OpenSolaris 3 06-16-2004 11:29 AM
Cannot Mount Cdrom? bobr Linux - General 1 05-08-2004 03:29 PM
cdrom won't mount stupidclese Linux - Newbie 2 02-03-2004 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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