Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
SOLVED: See bottom of this post after this line: -=-=-==-=---=-=-=-
The machine will boot from floppy, so I'm pretty sure it's all connected right.
fstab line: /dev/fd0 /media/floppy auto user,rw,noauto 0 0
$ dmesg | grep fd0
[ 0.825147] Floppy drive(s): fd0 is 1.44M
$ mount /media/floppy just returns me to the prompt (no error) but it doesn't mount, umount shows this:
$ umount /media/floppy
umount: /media/floppy is not mounted (according to mtab)
I can mount it with udisks when it has a disk in it:
$ udisks --mount /dev/fd0
Mounted /org/freedesktop/UDisks/devices/fd0 at /media/floppy
Once it is mounted that way, I can access it as user:
$ ls /media/floppy
ATTRIB.EXE CONFIG.SYS FDISK.EXE MOUSE.SYS SHARE.EXE
AUTOEXEC.BAT D.COM FIND.EXE MSCDEX.EXE SYS.COM
C.BAT DELTREE.EXE FORMAT.COM MSDOS.SYS TREE.COM
CD1.SYS DOSKEY.COM HIMEM.SYS RESTORE.EXE UNDELETE.EXE
CD2.SYS DRVSPACE.BIN IO.SYS SCANDISK.EXE UNDELETE.INI
CD3.SYS EDIT.EXE LABEL.EXE SCANDISK.INI UNFORMAT.COM
CD4.SYS EDIT.HLP MEM.EXE SETUP.EXE XCOPY.EXE
CHKDSK.EXE EDIT.INI MOUSE.COM SETUP.MSG
COMMAND.COM EMM386.EXE MOUSE.INI SETVER.EXE
or as root in the same way. write to and read from it either as root or as user. and I can unmount it as either root or as user. What I haven't been able to do yet is make it so that when I put a disk in it and attempt to mount it without udisk, that it will mount. In other words: to make it readily accesible as user.
I wonder if there is something that I need to put into the udev system? or what?
=-=-=-=-===
bigrigdriver: "remove the noauto parameter, then try the mount command again."
mark_alfred: "....type identified as "vfat,msdos"
John VV: 'you MUST run "modprobe "'
Well, I have just tried each of your remedies and noneof them work. The most promising (I thought) was yours, John VV. But it seemed to do nothing. Then I tried ' modprobe -l fl* ', and discovered (I think) that there is no module relating to the floppy.
Sounds like I need a module for the floppy, or an entry in udev, or ???
What I have done for now is working. It seems to me to be a crude work around, but it works: I have added a "custom application launcher to the panel to mount, and another one to unmount the floppy using udisks:
I right clicked on the panel and chose "add to panel" in each case and then filled in the blanks, and clicked on the icon, and chose a more appropriate one. The command to mount is" udisks --mount /dev/fd0 " and the command to unmount is " udisks --unmount /dev/fd0 ". As I say it works, and until I can find a better way, it will do. Thanks for your input. I'll mark this as SOLVED. someone else might find a better solution, but if not, they might find mine useful.
Last edited by littlejoe5; 07-29-2011 at 02:12 AM.
Reason: SOLVED (sort of)
fstab line: /dev/fd0 /media/floppy auto user,rw,noauto 0 0
You seem to have a conflicting configuration in your fstab. First, the filesystem type is set to "auto" (for auto detection of the filesystem type), but the mount parameters clearly state "noauto".
Edit fstab and remove the noauto parameter, then try the mount command again.
Your fstab line seems similar, but you don't have the type identified, whereas mine has the type identified as "vfat,msdos". Perhaps if you add the type to your fstab entry, you'll have some luck.
In looking at bigrigdriver's post, perhaps changing the first "auto" that he/she mentioned into "vfat,msdos" would work.
Last edited by mark_alfred; 07-28-2011 at 01:17 PM.
Reason: notice bigriddriver's post
that i not surprising at all .
Seeing as 3.5 floppys are no longer manufactured .
Seeing as you can not but a new computer with a floppy drive anymore.
That option is now deprecated .
floppys are NO LONGER auto tested for and auto mounted by the kernel
-- that is the default behavior of all modern linux kernels ---
you MUST run "modprobe "
-- very important !!!--
remove all entries in fstab regarding fd0
reboot
run
Code:
su -
modprobe floppy
then pop in a 3.5 in to the slot you should here it go zzzi zzsizz
if an icon does not show up ion the desktop or gnome dose not auto open the floppy folder then try mounting it
"mount /media/floppy"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.