Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4173  / 2 Years ago, thu, october 27, 2022, 8:26:03

I need to low-level format floppies with an external usb floppy drive in ubuntu 10.04 (or later) server.



I have tried the tools that come with util-linux-ng, and contain (specifically) fdformat.



Unfortunately these tools are written to use /dev/fd* devices, and not /dev/sd* that is used with the usb floppy drives I have on hand.



Alternatives to using the tools would be appreciated (note, the computers I have at my disposal do not have floppy connectors on the main board, so please don't recommend using a "real" floppy drive).



for example, I know dd works to zero the drive, but I suspect I need a copy of a working, blank formatted floppy as the if= parameter. I have my doubts this would be a robust, ongoing solution for actually writing out the tracks on the floppy.



the answers are not at:
How can I get a USB floppy drive to work?
How to format a USB or external drive?
...and lots of others


More From » usb

 Answers
4

Try mtools.
apt-get install mtools



Edit the /etc/mtools.conf file to have one of the drive letters point at your usb floppy drive. For me the usb floppy was /dev/sdg (Use dmesg to determine this.)



# # Linux floppy drives
#drive a: file="/dev/fd0" exclusive
drive a: file="/dev/sdg" exclusive


Then mformat a:



mformat a:


[#29714] Saturday, October 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tinchir

Total Points: 300
Total Questions: 116
Total Answers: 119

Location: American Samoa
Member since Sun, Jan 17, 2021
3 Years ago
tinchir questions
Tue, Sep 14, 21, 23:11, 3 Years ago
Mon, Dec 19, 22, 13:00, 1 Year ago
Sat, Feb 5, 22, 11:36, 2 Years ago
Mon, Aug 8, 22, 02:16, 2 Years ago
;