I tested the external drive at windows machine at work and it has was exact same problems. One floppy did not work at all, second was trying to format but after couple of seconds ends with error. They are 20 years old. On Linux ufiformat gets to the end.
I will buy a new pack of floppies (not so easy to get those days). And then if all fail I will buy another external drive (new this time).
Summary on Debian Linux (I tested both /dev/sdc and /dev/sg2, doesnt metter):
$ sudo ufiformat -i
disk generic
/dev/sdc /dev/sg2
$ sudo ufiformat -i /dev/sg2
vendor: MITSUMI
product: USB FDD
write protect: off
media type: 2HD
status block size kb
unformatted 2880 512 1440
$ sudo ufiformat -f 1440 -v /dev/sg2
format on device=/dev/sg2, size=1440
geometry: track=80, head=2, sector=18, block=512
done
Everything looks good but when trying to mount:
$ sudo mount /dev/sdc /media/floppy/
mount: /media/floppy: can't read superblock on /dev/sdc.
I’m not joking - I’m pretty sure we disabled floppy support in our kernels at some point. Be as that may, I do have a pile of old hardware in a drawer at work where discarded cables and small electronics are enacting a toy story-like epic drama. I’m fairly sure there’s a USB floppy drive in it, so, maybe I can try and see if we do still support floppy drives, or not. Of course, I’d still need… an actual floppy disk itself.
I bought a new, unsealed pack of FDDs. Formatted for DOS. Exact same errors.
I read a lot here and there and most Linux programs do not support USB drives. And I need USB as non of my computers (even servers) do not have floppy connection (it wasn’t ATA as I recall but still I only have SATA and SAS connectors).
I’m afraid my floppy project will fail
What if I test some very old Knoppix? Those days floppies were still around. It will not fulfill my project (as I need a modern PC) but at last I will test if this drive works.
EDIT: Knoppix 8.2 w/ 4.16.5 kernel gives me exact same errors. I’m starting to feel that it’s the actual drive problem. As it is recognized by all OSes with no problem but just do not want to read floppies.
Also udisks generates same error.
$ udisksctl mount -b /dev/sdc -t vfat
Error mounting /dev/sdc: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error mounting /dev/sdc at /media/kj/disk: can't read superblock on /dev/sdc
EDIT2: I finaly opened the USB drive to reveal the real problem:
I bought new external FDD drive and now It works as expected. At last on Ubuntu based system. I will test on CL later today. But judging on the experience it was 100% problem with the broken drive and now it will work as any other mass storage on GNU/Linux.
I will confirm this and the topic could be closed as solved. The bright site of this is that I now know all the low level commands to work with FDDs Thanks to all who helped.
EDIT: works perfectly fine! I’m very happy to hear those “floppy noises”. Lot’s of nostalgia. That moment when after [save] (or :w) you literally hear the data being write
Here’s my experience today with an actuall floppy drive (3.5"). I had this tucked into the cellar of forgetfulness (a drawer at work where I occasionally “store” weird stuff).
Plugged in the FDD - it’s a USB mass storage device. Clear Linux recognizes it and /proc/partitions shows a 1440 #blocks block device. So far so good - that just means it’s all just software from there.
Gnome shows the floppy disk in Nautilus. Clicking on it mounts it. On it are a few files already, who knows what’s on this drive. Maybe it’s the blue print from a 386, or some secret spy hardw… ah no, it’s just a firmware update for an old compal device I apparently still have tucked in the same drawer too.
I’m gonna leave it plugged in and read some sectors though. bzztt tik tik tik brrrr kggggg rrrrrrrr…