LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2004, 08:06 PM   #1
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Rep: Reputation: 15
mount error


ok, i searched the forum for the answer to my question but couldn't find it. ok here's the problem. i don't know how to access my floppy drive, or my cd drive. i mean, i know u go to /mnt/floppy/ for the floppy and to /mnt/cdrom/ for the cd, but when i type that in it says:

[root@localhost root]# cd /mnt/floppy/
-bash: cd: floppy: Input/output error

it does the same thing with cdrom, saying cdrom instead of floppy.
how do i fix this?
Thanks,
Elise
 
Old 01-09-2004, 08:32 PM   #2
deflin39
LQ Newbie
 
Registered: Mar 2001
Posts: 28

Rep: Reputation: 15
You must mount the device to the directory before using it. Try this

Code:
mount /dev/fd0 /mnt/floppy
That should mount the device fd0(your floppy drive) to the directory /mnt/floppy


deflin39
 
Old 01-09-2004, 08:34 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
It sounds like you don't have a floppy or CD in your drives. If that's the case, put in a floppy/CD into the drive and see if you still get the errors.

you probably don't have to mount the drives since you're using mandrake and it has supermount enabled by default.
 
Old 01-09-2004, 08:58 PM   #4
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
"It sounds like you don't have a floppy or CD in your drives."

i had the installation disk in with the rpm file that i needed, so that can't be the problem. i'll try mounting the drives, cause i didnt know about that.
 
Old 01-09-2004, 09:06 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
ok. you probably want to disable supermount. it's a feature that is supposed to save you the hassle of mounting manually but it's very buggy. you can disable it by the command (as root):

supermount -i disable

(you can enable it again with 'supermount -i enable). After this, reboot and see if mounting the drives manually helps. You should be able to mount the drives with

mount /mnt/floppy

and
mount /mnt/cdrom

respectively. Don't forget to unmount them before removing the disks:
umount /mnt/floppy (or /mnt/cdrom)
 
Old 01-10-2004, 11:52 AM   #6
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, i disabled supermount like you said, then tried to mount a floppy disk. it didn't work, so i tried a different disk, which worked. then i tried the first disk again, and it worked, so that's good. when i tried to mount my cdrom, this is what it said:

[root@localhost root]# mount /mnt/cdrom
mount: special device /dev/hdc does not exist

what does this mean? and how do i fix it?
thanks,
Elise
 
Old 01-10-2004, 12:00 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
There's something wrong with your /etc/fstab

try
mount /dev/cdrom /mnt/cdrom

if this works, open /etc/fstab in an editor and change the line that begins with
/dev/hdc
to
/dev/cdrom
leave the rest of the line as is. You also have to be root to edit the file. After this, you should be able to mount the cdrom with
mount /mnt/cdrom
 
Old 01-10-2004, 06:55 PM   #8
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
how do i change that line of /dev/hdc?
 
Old 01-10-2004, 07:03 PM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
did
mnt/ dev/cdrom /mnt/cdrom
work?

If it did, open the file
/etc/fstab
in an editor. There should be a line that looks something like
/dev/hdc /mnt/cdrom iso9660 iocharset=utf8,noauto,ro,nosuid,umask=0,user,exec,nodev 0 0

(it will probably be a bit different for you after /mnt/cdrom; don't worry about it). Just change the
/dev/hdc
to
/dev/cdrom
and save. You have to be root to edit the file. I think the easiest would be to open a terminal, su to root, and then open an editor like kedit with
kedit

(or you can use vi or emacs if you are comfortable with them).
 
Old 01-10-2004, 07:11 PM   #10
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, what is an editor? i haven't checked whether mnt/ dev/cdrom /mnt/cdrom worked or not, but either way it'd be nice to know what an editor is and how to use it. thanks
 
Old 01-10-2004, 07:42 PM   #11
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
an editor is a program to edit a text file. A word processor is a fancy editor with lots of extra functions. You could use a word processor too so long as you save the file as a plain text file.

I hope
mount /dev/cdrom /mnt/cdrom
works. If not try
mount /dev/scd0 /mnt/cdrom
 
Old 01-11-2004, 07:31 AM   #12
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, thanks, # mount /dev/cdrom /mnt/cdrom worked well. what commands would i use to use a word processor or a text editor?
 
Old 01-11-2004, 01:09 PM   #13
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
You should have kedit installed. It's simple editor like notepad in windows. Open a terminal, su to root and then use the command
kedit

You should be able to use once you start it. It's pretty standard.
 
Old 01-12-2004, 05:09 AM   #14
Computergirl24
Member
 
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, what do you mean by "Open a terminal, su to root and then use the command"
i'm working from a command prompt, so i'm assuming that open a terminal means get to a command prompt. as for what su to root means, i'm not sure. i've heard of the command, but i still don't know what it is. i tried the kedit command, and it didn't work. it said it wasnt' a command...i dunno.
thanks,
Elise
 
Old 01-12-2004, 10:22 AM   #15
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
are you using a (gui) graphical interface? If so, opening a terminal jsut means opening a window with the command prompt. You can switch to root by using the command
su
and then supplying the root password. As root, you will have privileges that you don't have as a normal user. You can switch back to being a normal user with the command exit.
If you don't have kedit, then try the command
vi {name of file to edit}
this'll open a very quaint editor. You can start editing by pressing the INSERT key. Quit editing by pressing ESC, then save and quit with
:wq
 
  


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
Mount Error manoj142 Linux - General 2 10-31-2005 05:54 AM
mount error yenko Fedora 14 12-26-2004 06:32 AM
GRUB Error & Mount Error st12iker Linux - Newbie 2 08-19-2004 06:14 PM
mount i/o error Comarez Linux - Newbie 2 02-24-2004 02:14 PM
HELP! Error from mount: drive is write-protected... won't mount writeable. system Linux - General 2 12-27-2001 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:10 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