Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Rep:
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]#
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.
---------------------------------------------------------------------------------------
[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.
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.
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
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]#
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
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
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.
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
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
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.
[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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.