LinuxQuestions.org
Register a domain and help support LQ
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 04-02-2006, 05:44 PM   #1
uberdork
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
having a problem mounting cdrom and floppy


so i'm having a problem mounting my cdrom and floppy drives. right now the most bothersome is the cdrom. whenever i try to mount it (using mount /dev/hdc) i get a message back- the problem is that it's not always the same. most of the time i get

mount: Not a directory

but i've also gotten

$mount: only root can do that

or

$mount: wrong fs type, bad option, bad superblock on /dev/hdc
missing codepage or other error (it them suggests that i look in the syslog using "dmesg | tail")
*if i do "dmesg | tail" i get a list of errors, reset atapi, I/O error and some numbers like 00X1600. i would post the entire message, but i copied and pasted it to put it on a floppy to cut and paste it into this post, but i can't get the floppy to mount either. then i rebooted the computer and lost the file b/c i didn't save it.

the other thing is that SOMETIMES i can get it to mount.
$mount /dev/hdc
$mount /media/cdrom0
$mount cdrom
all have worked at various times in the past.

i had mandrake on this box, but moved to debian (which i like much better) recently. i never had any problems like this before with mandrake.

i'm starting to wonder if the cdrom drive is bad. is there a way to check if a device is working correctly?

anyone have any ideas on this?

thanks for any help
 
Old 04-02-2006, 06:05 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Post the contents of your /etc/fstab file.
Pretty much on most distros the mount command can only be used as root so you need to be root to use it. Also it is best to change to root using ' su - ' so it uses root's enviroment varibales and paths. So once as root then running the commnad ' mount /dev/hdc ' should be all that is needed but that depends on what is in your fstab file. Lets have a look at it first so we know what should happen.

Brian1
 
Old 04-02-2006, 06:20 PM   #3
uberdork
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
fstab

hers's my fstab entries for cdrom and floppy

/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
 
Old 04-02-2006, 08:27 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
They look fine to me so when you have a CD in you be able to mount as root ' mount /dev/hdc '. Only thing to check for is to see if they exist in /dev directory. Also look through your dmesg using the command ' dmesg ' to see how devices are named. They may differ and the fstab file is not updated.

Brian1
 
Old 04-03-2006, 11:48 AM   #5
uberdork
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
still not working

i logged into root using "s -" and entered "mount /dev/hdc" and still got the same answer, "mount: Not a directory"

when i checked dmesg the name of the device was "hdc"

BUT, i can get it to mount regularly if i go throught the following process:
1. #mount /dev/hdc /media/cdrom0
(at which point the cdrom runs for about 5 minutes) and i get back a message: could not determine file system type and you did not specify one.

2. #mount -t iso9660 /dev/hdc /media/cdrom0
this bring ups the help page for the mount command

3. #mount /media/cdrom0
this time it actually mounts, and i can actually do it as a regular user afterwards



This is the only way i've been able to mount the cdrom, and i still can't get the floppy to work- it requests that i define a file system type, but is don't know which it is.

i've had both disks set as auto in the file system field of fstab before and it cannot detect the file system type. could it be a problem with the program used to figure the system type?

 
Old 04-03-2006, 05:25 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Only other thought is maybe the cd drive may need a firmware update. Other than that no other ideas.

Brian1
 
Old 04-03-2006, 05:53 PM   #7
uberdork
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
i'll see what i can find out.

thanks for your help, Brian1
 
  


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
mounting cdrom and floppy jimdene Mandriva 22 09-10-2003 01:00 AM
??? cdrom and floppy mounting rikkulinux Linux - Newbie 2 08-13-2003 05:57 PM
/auto - mounting floppy/cdrom problem islandkid Linux - General 3 03-18-2002 03:16 AM
Mounting floppy/cdrom in WindowMaker leiavoia Linux - Newbie 2 03-11-2002 10:57 AM
Needing help with mounting cdrom and floppy voitel Linux - Software 6 07-13-2001 11:03 PM


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