LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-19-2019, 04:48 AM   #1
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 483

Rep: Reputation: Disabled
Unable to mount Floppy Disk


I am using Linux Mint 17.3 Rosa Cinnamon. The computer is a Dell Dimension 5150.

When I put a floppy disk in the floppy disk drive its small green light lights up. But when I click on its icon in Nemo 2.8.7 file manager, I get a pop-up error message:

"Unable to mount Floppy Disk

Error mounting system-managed device /dev/fd0: Command-line `mount "/media/floppy0"' exited with non-zero exit status 32: mount: /dev/fd0 is not a valid block device".

When I remove the floppy disk and click on the floppy drive icon again I get another pop-up:

"Unable to mount Floppy Disk

An operation is already pending"

A long time later I got another pop-up:

"Unable to mount Floppy Disk

Timeout was reached"

The floppy disk is not actually physically floppy but it a standard plastic-encased 3 1/2 inch wide disk. The text on it says: "KAO MF2HD Double Sided 2 MB Capacity".

I have tried it with two other floppy disks also, same result. One of them makes more noise but still never mounts the drive. All the disks are around 20 years old. Two of them are commercial software disks that were enclosed within a book, the above disk looks like a copy of the same.

What is wrong? Could it be:

a) software not functioning correctly?
b) drive not working or heads dusty/dirty?
c) that the magnetic signal on the disk has faded over 20 years?

Thanks.

Last edited by grumpyskeptic; 11-19-2019 at 05:02 AM.
 
Old 11-19-2019, 05:04 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,702
Blog Entries: 19

Rep: Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501
Check the /dev directory. Do you actually have a /dev/fd0?

Also look at /var/log/messages? Can you see the kernel recognising the disk?

Do you have CONFIG_BLK_DEV_FD set in the kernel configuration? I suspect it often isn't these days.
 
Old 11-19-2019, 07:47 AM   #3
grumpyskeptic
Member
 
Registered: Apr 2016
Posts: 483

Original Poster
Rep: Reputation: Disabled
Thanks. Looking at the /dev folder with Nemo file manager , I can see a file fd0, but it is zero bytes in length, and described as a "block device". Nearly all the files in the /dev folder are zero bytes in length.

I cannot see anything in the var/log/ folder that has a name anything like "messages", either a file or another folder. Nemo is showing hidden files.

Quote:
Do you have CONFIG_BLK_DEV_FD set in the kernel configuration? I suspect it often isn't these days.
Sorry, I've no idea what that means or how to find it.
 
Old 11-19-2019, 08:24 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,702
Blog Entries: 19

Rep: Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501
OK. First you need to know what the dev folder actually is, for the future. It's an important part of how Linux works. In Linux, all your hardware is managed by the Linux kernel. There are no separate drivers as there are in Windows. Programs communicate with the hardware via the kernel. The files in the /dev directory are pseudo-files; that's why they have zero length. Whenever a program accesses one of these files, the kernel wakes up and does the read or write operation, then passes the result back to the program. As far as the program is concerned, it's just read or written to a file. It doesn't need to know anything about the hardware at the other end. And "block device" is just jargon for a disk or similar because data passes to and from such devices in blocks.

You do have a /dev/fd0 file, so we know now that the kernel can see your floppy drive. Therefore you don't need to do the other things I suggested. But since the mount command doesn't recognise it, you may not have a valid filesystem on the disk. Is it a completely blank disc? Did you format it in any way? I doubt if a purely physical problem with the disk would cause this particular error. You'd more likely be able to mount it but then get read/write errors. So I suspect it's the format that's wrong. Please tell us more about how you used this disk before and what might be on it.

Last edited by hazel; 11-19-2019 at 08:46 AM.
 
Old 11-19-2019, 08:51 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,813

Rep: Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958
As a frame of reference I have Ubuntu 19 xfce running as a VirtualBox virtual machine and can confirm the floppy drive capability has not been removed from the kernel. I would assume no basic difference between xfce and Cinnamon except for the desktop and also that 17 would be unchanged since it is an older version.

The floppy module was inserted automatically and /dev/fd0 device was created. Try manually mounting the disk from the command line
sudo mount -t vfat /dev/fd0 /media/floppy0
or
sudo mount -t msdos /dev/fd0 /media/floppy0

It is possible the drive has failed or the disks no longer readable.
 
Old 11-19-2019, 09:45 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,702
Blog Entries: 19

Rep: Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501
It's been such a long time since I used floppies that I can't remember if they come with a vfat filesystem on them like USB drives do or if they need to be formatted before use.

Last edited by hazel; 11-19-2019 at 09:47 AM.
 
Old 11-19-2019, 09:57 AM   #7
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by hazel View Post
It's been such a long time since I used floppies that I can't remember if they come with a vfat filesystem on them like USB drives do or if they need to be formatted before use.
It depends:
in the very first time floppies came UNformatted, because you could use them for CP/M, PC-Dos or i.e. Apple // or Commodore 64
And 3.5" floppies were introduced for the Apple MacIntosh (400K 1-side or later 800K double, with varying speed drives) or, say the Apricot computer with about 315 KB (again 1-sided).
But when the PC was about the only actual system left and they introduced HD floppies (with the AT and later), floppies often came pre-formatted with a FAT (fat12, to be exact) filesystem ON them.

But I think the OP was talking about old floppies with data on them, so they should have been formatted with some sort of file-system, most likely thus fat12
 
Old 11-19-2019, 10:26 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,154

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
If three disks all fail to mount, the problem could be a dirty drive. You can still buy cleaning disks:
https://www.floppydisk.com/floppy-drive-cleaner

The disks themselves may be dirty, and cleaners are available:
https://www.floppycleaner.co.uk/

The disks may have decayed over the years. There are claims of them lasting 20 years, but some people have found them lasting less than 10. You could run gparted and see if it can identify the filing system, then check if it's damaged with fsck.
 
Old 11-19-2019, 02:08 PM   #9
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by DavidMcCann View Post
You could run gparted and see if it can identify the filing system, then check if it's damaged with fsck.
Note that floppies do not have partitions. Block 0 directly is the boot block.
So the OP could try just to read that block, with dd or so
Code:
dd if=/dev/fd0 count=1|hexdump -C
and look if that succeeds and looks like a fat12 fs bootblock (use wikipedia to find out how that would look if you never did that)
 
Old 11-19-2019, 02:57 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Maybe make a folder for floppy then mount it??
 
Old 11-19-2019, 03:20 PM   #11
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I'm betting this is a file-system thing. As mentioned by a previous poster, floppys back then could be formatted for Apple computers, Amigas, Ataris, MS-DOS systems, Windows ... you name it.

It would help to know what system they were prepared for and then figuring our if a proper file system driver is available.
 
Old 11-19-2019, 09:15 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
https://ubuntuforums.org/showthread.php?t=1081430 maybe still works?
 
Old 11-20-2019, 04:59 AM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,702
Blog Entries: 19

Rep: Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501Reputation: 4501
Quote:
Originally Posted by Rickkkk View Post
I'm betting this is a file-system thing.
I'm inclined to agree with you. I think if the drive was kaput, the kernel wouldn't have recognised the device. And if it was a bad disk surface, you'd expect to get loads of read errors rather than a refusal to mount.
Quote:
It would help to know what system they were prepared for and then figuring our if a proper file system driver is available.
Wouldn't it be simpler just to use mkfs.ext4 on it?
 
Old 11-20-2019, 05:18 AM   #14
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,532

Rep: Reputation: Disabled
Make image copies of them with dd, & then work on them, by loop mounting them.

Depending on what computer system they were originally formatted for, you will need the corresponding file system to be compiled into the kernel or it's modules.

2MB disks were commonly known as 1.44MB floppies.
 
  


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
Unable to mount floppy disk on RHEL5 AnneThomas Linux - Newbie 1 08-28-2009 02:54 AM
i cant open a floppy disk on a floppy drive ongpong Linux - Hardware 1 06-07-2009 10:23 PM
Open Suse 11, unable to mount - floppy disk, usbstick flatstan SUSE / openSUSE 4 11-29-2008 05:50 PM
floppy only reads first disk, if new disk is inserted data from first disk is shown. lakosked Debian 3 02-18-2006 08:44 PM
Floppy disk fail to boot when install suse 8 with boot from floppy ffang Linux - Newbie 0 08-18-2003 08:44 PM

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

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