LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-28-2011, 11:07 AM   #1
littlejoe5
Member
 
Registered: Aug 2006
Location: Arizona
Distribution: ubuntu dirivatives mostly Mate
Posts: 260

Rep: Reputation: 19
Can 't get floppy drive to be accessible.


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)
 
Old 07-28-2011, 11:30 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Quote:
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.
 
Old 07-28-2011, 01:02 PM   #3
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
My fstab line for floppies is:
Code:
#<file system>	<mount point>	<type>	<options>	<dump>	<pass>
/dev/fd0	/media/floppy0	vfat,msdos	rw,user,noauto	0	0
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
 
Old 07-28-2011, 05:56 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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"

Last edited by John VV; 07-28-2011 at 05:58 PM.
 
Old 07-28-2011, 06:05 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The current versions ( Mint, Ubuntu ) aren't the worst with floppy.

In Ubuntu 8.10 everything was missing :

http://www.linuxquestions.org/questi...-drive-681634/
→ → Posts # 2, # 5.
 
  


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
[SOLVED] CD/DVD drive not accessible Madnoys Ubuntu 7 06-14-2011 12:47 AM
Cannot mount my Floppy drive while creating driver floppy gobs04 Linux - Newbie 2 09-23-2009 07:43 PM
Hard Drive not accessible MHOOO Fedora 2 05-14-2005 01:01 PM
NTFS (winxp) drive is accessible only by root, why NTFS (winxp) drive not accessible Samppa72 Linux - Software 1 07-26-2004 03:13 PM
files on CDROM and floppy not accessible Lenny_D Mandriva 10 01-27-2004 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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