LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2006, 07:54 AM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
How to mount a floppy in Fedora Core 5


I am running Fedora Core5. When I insert a CD, it will automatically mount. I just copy files from it. It is the same with the USB memory stick. Both CD and USB create an icon on the Desktop.

I inserted a floppy disk, it doesn't recognize.

How can I mount it?
In Fedora Core5, the CD and the USB mounted in the directory 'media'.


In Mandriva, it mounts on 'mnt' folder.

Please help me.

---------------------------------------------------------------------------------------
[Nissanka@c83-250-99-43 ~]$ su root
Password:
[root@c83-250-99-43 Nissanka]# mount /floppy
mount: can't find /floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount /etc/fstab
mount: can't find /etc/fstab in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount /etc/fstab/floppy
mount: can't find /etc/fstab/floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]#

Last edited by Gins; 11-04-2006 at 08:01 AM.
 
Old 11-04-2006, 08:16 AM   #2
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Quote:
Originally Posted by Gins
I am running Fedora Core5. When I insert a CD, it will automatically mount. I just copy files from it. It is the same with the USB memory stick. Both CD and USB create an icon on the Desktop.

I inserted a floppy disk, it doesn't recognize.

How can I mount it?
In Fedora Core5, the CD and the USB mounted in the directory 'media'.


In Mandriva, it mounts on 'mnt' folder.

Please help me.

---------------------------------------------------------------------------------------
[Nissanka@c83-250-99-43 ~]$ su root
Password:
[root@c83-250-99-43 Nissanka]# mount /floppy
mount: can't find /floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount /etc/fstab
mount: can't find /etc/fstab in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount /etc/fstab/floppy
mount: can't find /etc/fstab/floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]#
Why are you trying to mount the file /etc/fstab? This is just a file describing where specific devices should be mounted.

Try:

# mount /dev/fd0 /mnt/floppy
 
Old 11-04-2006, 08:48 AM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
No, it didn't work.

root@c83-250-99-43 Nissanka]# mount /dev/fd0 /mnt/floppy
mount: mount point /mnt/floppy does not exist
 
Old 11-04-2006, 08:51 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Gins
---------------------------------------------------------------------------------------
[Nissanka@c83-250-99-43 ~]$ su root
Password:
[root@c83-250-99-43 Nissanka]# mount /floppy
mount: can't find /floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount /etc/fstab
mount: can't find /etc/fstab in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount /etc/fstab/floppy
mount: can't find /etc/fstab/floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]#
You seem to be randomly trying commands--I suggest slowing down a bit and reading the man pages
"mount device" only works if there is an entry in fstab to say WHERE to mount it. Otherwise you have to be specific, eg:
mount /dev/fd0 mountpoint
If there IS an entry in fstab, then you have 2 options:
mount mountpoint
OR
mount /dev/floppy

This causes confusion---people will often speak of "mounting" a mountpoint. This is not a correct picture--you always mount a **device** TO a mountpoint.

my current system (Mepis) does not automount floppies. Trying to remember if any others do.
 
Old 11-04-2006, 09:28 AM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks pixellany
You helped me a lot recently. You know a lot on Linux.

The following is from the fstab file.


[root@c83-250-99-43 etc]# cat fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1


LABEL=/boot /boot ext3 defaults 1 2


devpts /dev/pts devpts gid=5,mode=620 0 0


tmpfs /dev/shm tmpfs defaults 0 0



proc /proc proc defaults 0 0



sysfs sys sysfs defaults 0 0



/dev/VolGroup00/LogVol01 swap swap defaults 0 0
[root@c83-250-99-43 etc]#

So what is the mountpoint? I have a limited knowledge of these things.
Please tell me.

Last edited by Gins; 11-04-2006 at 09:37 AM.
 
Old 11-04-2006, 09:46 AM   #6
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
pixellany
This table looks horrible.
I don't know how to post it here so you can read properly.

I will write one by one here.

/dev/VolGroup00/LogVol00 / This one is ext3 [defaults. 1.1]

I surmise this { / } means the root.


LABEL=/boot /boot This is ext3 [ defaults 1.2]

I surmise that { /boot } means the boot partiton.


devpts dev/pts This is devpts [gid=5,mode=620 0 0]

I surmise this { dev/pts } means device point.


proc /proc This is proc [defaults 0 0]
This {/proc} means processor.



sysfs /sys This is sysfs [default 0 0]
This { /sys} means system.


/dev/VolGroup00/LogVol01 swap This is swap [defaults 0 0]
This { swap } means swap space.

Last edited by Gins; 11-04-2006 at 10:00 AM.
 
Old 11-04-2006, 10:51 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
So what is the mountpoint? I have a limited knowledge of these things.
"mounting" a device to the directory tree is a holdover from the days of magnetic tapes---where the reels were mounted to the tape drive.
It is maybe helpful to think of "mount" as "connect".
A mountpoint is simply the place where you connect the device. In Linux a directory is used as a mountpoint. Normally, one uses an EMPTY directory, but this is not required. If you mount a device to a directory that has stuff in it, then that stuff will be hidden until you unmount.

The generic format of the entry in fstab is (required field only):
device mountpoint filesystem options

read the man page for fstab for all the details.

Quote:
I don't know how to post it here so you can read properly.
How about copy and paste......?

Last edited by pixellany; 11-04-2006 at 10:52 AM.
 
Old 11-04-2006, 11:13 AM   #8
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Pixellany

The copy and paste doesn't work on this forum. You could try yourself. The tables get warp on this forum.


Well, I read the man pages. The following command worked.


[Nissanka@c83-250-99-43 ~]$ su root
Password:
[root@c83-250-99-43 Nissanka]# mount /dev/floppy
mount: can't find /dev/floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount -a -t floppy
[root@c83-250-99-43 Nissanka]#
-------------------------------------------------

[Nissanka@c83-250-99-43 ~]$ su root
Password:
[root@c83-250-99-43 Nissanka]# find / -name floppy
find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier res ults may have failed to include directories that should have been searched.
/sys/module/floppy
/usr/bin/floppy
[root@c83-250-99-43 Nissanka]#

I tried to save a file. It didn't work.
 
Old 11-04-2006, 11:46 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Gins
Pixellany

The copy and paste doesn't work on this forum. You could try yourself. The tables get warp on this forum.


Well, I read the man pages. The following command worked.


[Nissanka@c83-250-99-43 ~]$ su root
Password:
[root@c83-250-99-43 Nissanka]# mount /dev/floppy
mount: can't find /dev/floppy in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]# mount -a -t floppy
[root@c83-250-99-43 Nissanka]#
-------------------------------------------------

[Nissanka@c83-250-99-43 ~]$ su root
Password:
[root@c83-250-99-43 Nissanka]# find / -name floppy
find: WARNING: Hard link count is wrong for /selinux: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier res ults may have failed to include directories that should have been searched.
/sys/module/floppy
/usr/bin/floppy
[root@c83-250-99-43 Nissanka]#

I tried to save a file. It didn't work.
I do not understand what you are doing...
You say the following commands work, but the first one failed

You tried to mount the floppy, and it says you have no entry in the fstab. Also is "floppy" the device name in /dev?
(Normally it would be /dev/fd0)
To mount the floppy with no fstab entry:
mount /dev/fd0 mountpoint
WITH and fstab entry:
mount /dev/fd0 OR mount <path>/mountipoint

What were you looking for with this:
Quote:
find / -name floppy
So this one worked?
Quote:
mount -a -t floppy
What command did you use to try and write files?
 
Old 11-04-2006, 12:09 PM   #10
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
The following didn't work.

[root@c83-250-99-43 Nissanka]# mount /dev/fd0
mount: can't find /dev/fd0 in /etc/fstab or /etc/mtab
[root@c83-250-99-43 Nissanka]#
-----------------------------------------------------
I opened the word processor and wrote a note. I tried to save it /sys/module/floppy. It didn't work. Then I tried on the /usr/bin/floppy too.
----------------------------------------
You suggested the following:
mount /dev/fd0 OR mount <path>/mountipoint

Could you please write the path? I don't know how to write the path.
 
Old 11-04-2006, 12:33 PM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

The answer was given to you in the second post. Before you reply that it did not work, take a good look at the error message you received:

mount: mount point /mnt/floppy does not exist

There is no directory called /mnt/floppy.........
Create it and try again.

Always take a good look at the (error)messages a program prints. Most of the time the answer to the problem is right there.

Don't try things randomly, one of these days you'll completely mess up your box with that!
 
Old 11-04-2006, 12:47 PM   #12
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
druuna
I did it.

[root@c83-250-99-43 Nissanka]# mkdir /mnt/floppy
[root@c83-250-99-43 Nissanka]#

What is the next?
 
Old 11-04-2006, 01:00 PM   #13
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Quote:
I did it.
What is the next?
What do you mean?

You just told us that it worked, so the floppy is mounted. I don't know why you wanted to do that in the first place, there's probably something on it you need/want
 
Old 11-04-2006, 01:36 PM   #14
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
druuna

[root@c83-250-99-43 Nissanka]# mount /dev/fd0 /mnt/floppy
[root@c83-250-99-43 Nissanka]#

It seems the floppy is mounted.

I wrote a letter and tried to save it.

It didn't work.

Error saving the the document French500.doc:
/mnt/floppy/French500.doc doesn't exist.
This letter already exists on my hard drive. I wrote it using the Open Office program.

What is the problem?
--------------------------------------------------------

You wrote the following:
I don't know why you wanted to do that in the first place, there's probably something on it you need/want

I must be able to save files on the floppy drive. Therefore I need this.
 
Old 11-05-2006, 09:28 AM   #15
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Gins
druuna

[root@c83-250-99-43 Nissanka]# mount /dev/fd0 /mnt/floppy
[root@c83-250-99-43 Nissanka]#

It seems the floppy is mounted.

I wrote a letter and tried to save it.

It didn't work.

Error saving the the document French500.doc:
/mnt/floppy/French500.doc doesn't exist.
This letter already exists on my hard drive. I wrote it using the Open Office program.

What is the problem?
--------------------------------------------------------
How did you attempt to save the file to the floppy? From OpenOffice?

With the floppy mounted, can you do this?

from any directory containing a file named "filename"
cp filename /mnt/floppy (you might have to su to become root)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Fedora Core 2 without CD-ROM,floppy Swift&Smart Linux - Software 10 07-18-2004 12:29 AM
Fedora Core 2 Boot floppy! Where is it??? JediMasterTux Linux - Distributions 7 07-09-2004 06:13 AM
Fedora Core 2 Boot Floppy StarSage Fedora 4 05-20-2004 04:47 PM
Fedora Core 1 Can't Mount Floppy Drive jerrykuch Linux - Hardware 3 04-19-2004 02:55 PM
fedora crashes when mount floppy mrosati Fedora 7 01-02-2004 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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
Open Source Consulting | Domain Registration