How to format 720k FAT (ie: MS-DOS) floppy on Linux using USB floppy drive












5














I have a USB 3.5" floppy drive connected to my Linux box. I've verified that it is /dev/sdh on my Linux box, and I can read Linux-formatted floppies from it. (I had an old ext2 floppy lying around.)



I need to format a double-density 720k floppy to transfer data between my Linux machine and an older machine (an Amiga with CrossDOS installed).



I have tried:



mkdosfs -F 12 -I /dev/sdh


But this says:



mkfs.fat 3.0.26 (2014-03-07)
unable to get drive geometry, using default 255/63
mkdosfs: Attempting to create a too large filesystem


How can I format a 720k MS-DOS floppy on this machine with this drive?










share|improve this question






















  • What is the result of fdisk /dev/sdh? My answer below assumes a standard floppy drive, ie the command doesnt work for devices other than fd*
    – eyoung100
    Aug 1 '15 at 1:10


















5














I have a USB 3.5" floppy drive connected to my Linux box. I've verified that it is /dev/sdh on my Linux box, and I can read Linux-formatted floppies from it. (I had an old ext2 floppy lying around.)



I need to format a double-density 720k floppy to transfer data between my Linux machine and an older machine (an Amiga with CrossDOS installed).



I have tried:



mkdosfs -F 12 -I /dev/sdh


But this says:



mkfs.fat 3.0.26 (2014-03-07)
unable to get drive geometry, using default 255/63
mkdosfs: Attempting to create a too large filesystem


How can I format a 720k MS-DOS floppy on this machine with this drive?










share|improve this question






















  • What is the result of fdisk /dev/sdh? My answer below assumes a standard floppy drive, ie the command doesnt work for devices other than fd*
    – eyoung100
    Aug 1 '15 at 1:10
















5












5








5


1





I have a USB 3.5" floppy drive connected to my Linux box. I've verified that it is /dev/sdh on my Linux box, and I can read Linux-formatted floppies from it. (I had an old ext2 floppy lying around.)



I need to format a double-density 720k floppy to transfer data between my Linux machine and an older machine (an Amiga with CrossDOS installed).



I have tried:



mkdosfs -F 12 -I /dev/sdh


But this says:



mkfs.fat 3.0.26 (2014-03-07)
unable to get drive geometry, using default 255/63
mkdosfs: Attempting to create a too large filesystem


How can I format a 720k MS-DOS floppy on this machine with this drive?










share|improve this question













I have a USB 3.5" floppy drive connected to my Linux box. I've verified that it is /dev/sdh on my Linux box, and I can read Linux-formatted floppies from it. (I had an old ext2 floppy lying around.)



I need to format a double-density 720k floppy to transfer data between my Linux machine and an older machine (an Amiga with CrossDOS installed).



I have tried:



mkdosfs -F 12 -I /dev/sdh


But this says:



mkfs.fat 3.0.26 (2014-03-07)
unable to get drive geometry, using default 255/63
mkdosfs: Attempting to create a too large filesystem


How can I format a 720k MS-DOS floppy on this machine with this drive?







linux usb-drive floppy






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 31 '15 at 18:37









Laurence Gonsalves

395310




395310












  • What is the result of fdisk /dev/sdh? My answer below assumes a standard floppy drive, ie the command doesnt work for devices other than fd*
    – eyoung100
    Aug 1 '15 at 1:10




















  • What is the result of fdisk /dev/sdh? My answer below assumes a standard floppy drive, ie the command doesnt work for devices other than fd*
    – eyoung100
    Aug 1 '15 at 1:10


















What is the result of fdisk /dev/sdh? My answer below assumes a standard floppy drive, ie the command doesnt work for devices other than fd*
– eyoung100
Aug 1 '15 at 1:10






What is the result of fdisk /dev/sdh? My answer below assumes a standard floppy drive, ie the command doesnt work for devices other than fd*
– eyoung100
Aug 1 '15 at 1:10












2 Answers
2






active

oldest

votes


















8














I have just successfully formatted a completely blank floppy in a USB drive. This required a proper format, and not just writing a filesystem to the disk, because there were no sectors on it yet.



This is done with the ufiformat program, which is specifically designed to work with USB floppy drives.



$ sudo ufiformat -f 1440 -v /dev/sdd
format on device=/dev/sdd, size=1440
geometry: track=80, head=2, sector=18, block=512
done


This formats a 1.44MB floppy (-f 1440) in verbose mode (-v) using the USB floppy device at /dev/sdd. Use -f 720 for a 720k disk.



Here is some other information I found on my journey:




  • mkfs.msdos and mformat do not actually format a disk, they simply write a DOS (FAT12) filesystem onto an already formatted disk. If the disk has not been formatted (or has Amiga or other non-DOS data on it) then these programs will fail. You will of course have to use these programs to put a filesystem onto the floppy, after you have formatted it with ufiformat.


  • Likewise using dd to write an image to the disk won't work until the disk has been formatted first.


  • fdformat is only designed to work with PC-style floppy controllers (e.g. with drives that plug in to the motherboard floppy connectors.) It is not able to work with USB floppy drives.







share|improve this answer























  • OP asked for a 720k format, not a 1440k format.
    – FUZxxl
    Dec 13 at 19:37










  • So use -f 720 instead? I've updated my answer to include this.
    – Malvineous
    Dec 14 at 3:34












  • Well, the point is that not all USB floppy disk drives support this (mine certainly does not for some reason) and additionally, if you format a 720k floppy in a 1400k drive, the result is likely to be unreadable in a real 720k drive due to the track width being wrong.
    – FUZxxl
    Dec 14 at 10:28










  • The track width is only different on 5.25" drives, with 3.5" drives 720k and 1440k disks have the same track width and count so the disks can be interchanged with DD drives without problem. (The increased capacity comes from a different magnetic material and a stronger magnetic field when writing.) I am not sure why a drive would not support 720k when only the magnetic field strength is different, but perhaps it was removed to keep costs low. Either way if you have a USB floppy that supports writing to 720k disks, ufiformat can certainly make use of it.
    – Malvineous
    Dec 18 at 6:36



















1














Try:



fdformat /dev/fd0u720
mkfs.msdos /dev/fd0


after creating a symlink from /dev/sdh to /dev/fd0






share|improve this answer

















  • 1




    fdformat does not work with USB floppy drives.
    – FUZxxl
    Mar 28 at 13:53











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f219533%2fhow-to-format-720k-fat-ie-ms-dos-floppy-on-linux-using-usb-floppy-drive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









8














I have just successfully formatted a completely blank floppy in a USB drive. This required a proper format, and not just writing a filesystem to the disk, because there were no sectors on it yet.



This is done with the ufiformat program, which is specifically designed to work with USB floppy drives.



$ sudo ufiformat -f 1440 -v /dev/sdd
format on device=/dev/sdd, size=1440
geometry: track=80, head=2, sector=18, block=512
done


This formats a 1.44MB floppy (-f 1440) in verbose mode (-v) using the USB floppy device at /dev/sdd. Use -f 720 for a 720k disk.



Here is some other information I found on my journey:




  • mkfs.msdos and mformat do not actually format a disk, they simply write a DOS (FAT12) filesystem onto an already formatted disk. If the disk has not been formatted (or has Amiga or other non-DOS data on it) then these programs will fail. You will of course have to use these programs to put a filesystem onto the floppy, after you have formatted it with ufiformat.


  • Likewise using dd to write an image to the disk won't work until the disk has been formatted first.


  • fdformat is only designed to work with PC-style floppy controllers (e.g. with drives that plug in to the motherboard floppy connectors.) It is not able to work with USB floppy drives.







share|improve this answer























  • OP asked for a 720k format, not a 1440k format.
    – FUZxxl
    Dec 13 at 19:37










  • So use -f 720 instead? I've updated my answer to include this.
    – Malvineous
    Dec 14 at 3:34












  • Well, the point is that not all USB floppy disk drives support this (mine certainly does not for some reason) and additionally, if you format a 720k floppy in a 1400k drive, the result is likely to be unreadable in a real 720k drive due to the track width being wrong.
    – FUZxxl
    Dec 14 at 10:28










  • The track width is only different on 5.25" drives, with 3.5" drives 720k and 1440k disks have the same track width and count so the disks can be interchanged with DD drives without problem. (The increased capacity comes from a different magnetic material and a stronger magnetic field when writing.) I am not sure why a drive would not support 720k when only the magnetic field strength is different, but perhaps it was removed to keep costs low. Either way if you have a USB floppy that supports writing to 720k disks, ufiformat can certainly make use of it.
    – Malvineous
    Dec 18 at 6:36
















8














I have just successfully formatted a completely blank floppy in a USB drive. This required a proper format, and not just writing a filesystem to the disk, because there were no sectors on it yet.



This is done with the ufiformat program, which is specifically designed to work with USB floppy drives.



$ sudo ufiformat -f 1440 -v /dev/sdd
format on device=/dev/sdd, size=1440
geometry: track=80, head=2, sector=18, block=512
done


This formats a 1.44MB floppy (-f 1440) in verbose mode (-v) using the USB floppy device at /dev/sdd. Use -f 720 for a 720k disk.



Here is some other information I found on my journey:




  • mkfs.msdos and mformat do not actually format a disk, they simply write a DOS (FAT12) filesystem onto an already formatted disk. If the disk has not been formatted (or has Amiga or other non-DOS data on it) then these programs will fail. You will of course have to use these programs to put a filesystem onto the floppy, after you have formatted it with ufiformat.


  • Likewise using dd to write an image to the disk won't work until the disk has been formatted first.


  • fdformat is only designed to work with PC-style floppy controllers (e.g. with drives that plug in to the motherboard floppy connectors.) It is not able to work with USB floppy drives.







share|improve this answer























  • OP asked for a 720k format, not a 1440k format.
    – FUZxxl
    Dec 13 at 19:37










  • So use -f 720 instead? I've updated my answer to include this.
    – Malvineous
    Dec 14 at 3:34












  • Well, the point is that not all USB floppy disk drives support this (mine certainly does not for some reason) and additionally, if you format a 720k floppy in a 1400k drive, the result is likely to be unreadable in a real 720k drive due to the track width being wrong.
    – FUZxxl
    Dec 14 at 10:28










  • The track width is only different on 5.25" drives, with 3.5" drives 720k and 1440k disks have the same track width and count so the disks can be interchanged with DD drives without problem. (The increased capacity comes from a different magnetic material and a stronger magnetic field when writing.) I am not sure why a drive would not support 720k when only the magnetic field strength is different, but perhaps it was removed to keep costs low. Either way if you have a USB floppy that supports writing to 720k disks, ufiformat can certainly make use of it.
    – Malvineous
    Dec 18 at 6:36














8












8








8






I have just successfully formatted a completely blank floppy in a USB drive. This required a proper format, and not just writing a filesystem to the disk, because there were no sectors on it yet.



This is done with the ufiformat program, which is specifically designed to work with USB floppy drives.



$ sudo ufiformat -f 1440 -v /dev/sdd
format on device=/dev/sdd, size=1440
geometry: track=80, head=2, sector=18, block=512
done


This formats a 1.44MB floppy (-f 1440) in verbose mode (-v) using the USB floppy device at /dev/sdd. Use -f 720 for a 720k disk.



Here is some other information I found on my journey:




  • mkfs.msdos and mformat do not actually format a disk, they simply write a DOS (FAT12) filesystem onto an already formatted disk. If the disk has not been formatted (or has Amiga or other non-DOS data on it) then these programs will fail. You will of course have to use these programs to put a filesystem onto the floppy, after you have formatted it with ufiformat.


  • Likewise using dd to write an image to the disk won't work until the disk has been formatted first.


  • fdformat is only designed to work with PC-style floppy controllers (e.g. with drives that plug in to the motherboard floppy connectors.) It is not able to work with USB floppy drives.







share|improve this answer














I have just successfully formatted a completely blank floppy in a USB drive. This required a proper format, and not just writing a filesystem to the disk, because there were no sectors on it yet.



This is done with the ufiformat program, which is specifically designed to work with USB floppy drives.



$ sudo ufiformat -f 1440 -v /dev/sdd
format on device=/dev/sdd, size=1440
geometry: track=80, head=2, sector=18, block=512
done


This formats a 1.44MB floppy (-f 1440) in verbose mode (-v) using the USB floppy device at /dev/sdd. Use -f 720 for a 720k disk.



Here is some other information I found on my journey:




  • mkfs.msdos and mformat do not actually format a disk, they simply write a DOS (FAT12) filesystem onto an already formatted disk. If the disk has not been formatted (or has Amiga or other non-DOS data on it) then these programs will fail. You will of course have to use these programs to put a filesystem onto the floppy, after you have formatted it with ufiformat.


  • Likewise using dd to write an image to the disk won't work until the disk has been formatted first.


  • fdformat is only designed to work with PC-style floppy controllers (e.g. with drives that plug in to the motherboard floppy connectors.) It is not able to work with USB floppy drives.








share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 14 at 8:18









telcoM

15.7k12143




15.7k12143










answered Nov 21 '15 at 12:36









Malvineous

1,92511734




1,92511734












  • OP asked for a 720k format, not a 1440k format.
    – FUZxxl
    Dec 13 at 19:37










  • So use -f 720 instead? I've updated my answer to include this.
    – Malvineous
    Dec 14 at 3:34












  • Well, the point is that not all USB floppy disk drives support this (mine certainly does not for some reason) and additionally, if you format a 720k floppy in a 1400k drive, the result is likely to be unreadable in a real 720k drive due to the track width being wrong.
    – FUZxxl
    Dec 14 at 10:28










  • The track width is only different on 5.25" drives, with 3.5" drives 720k and 1440k disks have the same track width and count so the disks can be interchanged with DD drives without problem. (The increased capacity comes from a different magnetic material and a stronger magnetic field when writing.) I am not sure why a drive would not support 720k when only the magnetic field strength is different, but perhaps it was removed to keep costs low. Either way if you have a USB floppy that supports writing to 720k disks, ufiformat can certainly make use of it.
    – Malvineous
    Dec 18 at 6:36


















  • OP asked for a 720k format, not a 1440k format.
    – FUZxxl
    Dec 13 at 19:37










  • So use -f 720 instead? I've updated my answer to include this.
    – Malvineous
    Dec 14 at 3:34












  • Well, the point is that not all USB floppy disk drives support this (mine certainly does not for some reason) and additionally, if you format a 720k floppy in a 1400k drive, the result is likely to be unreadable in a real 720k drive due to the track width being wrong.
    – FUZxxl
    Dec 14 at 10:28










  • The track width is only different on 5.25" drives, with 3.5" drives 720k and 1440k disks have the same track width and count so the disks can be interchanged with DD drives without problem. (The increased capacity comes from a different magnetic material and a stronger magnetic field when writing.) I am not sure why a drive would not support 720k when only the magnetic field strength is different, but perhaps it was removed to keep costs low. Either way if you have a USB floppy that supports writing to 720k disks, ufiformat can certainly make use of it.
    – Malvineous
    Dec 18 at 6:36
















OP asked for a 720k format, not a 1440k format.
– FUZxxl
Dec 13 at 19:37




OP asked for a 720k format, not a 1440k format.
– FUZxxl
Dec 13 at 19:37












So use -f 720 instead? I've updated my answer to include this.
– Malvineous
Dec 14 at 3:34






So use -f 720 instead? I've updated my answer to include this.
– Malvineous
Dec 14 at 3:34














Well, the point is that not all USB floppy disk drives support this (mine certainly does not for some reason) and additionally, if you format a 720k floppy in a 1400k drive, the result is likely to be unreadable in a real 720k drive due to the track width being wrong.
– FUZxxl
Dec 14 at 10:28




Well, the point is that not all USB floppy disk drives support this (mine certainly does not for some reason) and additionally, if you format a 720k floppy in a 1400k drive, the result is likely to be unreadable in a real 720k drive due to the track width being wrong.
– FUZxxl
Dec 14 at 10:28












The track width is only different on 5.25" drives, with 3.5" drives 720k and 1440k disks have the same track width and count so the disks can be interchanged with DD drives without problem. (The increased capacity comes from a different magnetic material and a stronger magnetic field when writing.) I am not sure why a drive would not support 720k when only the magnetic field strength is different, but perhaps it was removed to keep costs low. Either way if you have a USB floppy that supports writing to 720k disks, ufiformat can certainly make use of it.
– Malvineous
Dec 18 at 6:36




The track width is only different on 5.25" drives, with 3.5" drives 720k and 1440k disks have the same track width and count so the disks can be interchanged with DD drives without problem. (The increased capacity comes from a different magnetic material and a stronger magnetic field when writing.) I am not sure why a drive would not support 720k when only the magnetic field strength is different, but perhaps it was removed to keep costs low. Either way if you have a USB floppy that supports writing to 720k disks, ufiformat can certainly make use of it.
– Malvineous
Dec 18 at 6:36













1














Try:



fdformat /dev/fd0u720
mkfs.msdos /dev/fd0


after creating a symlink from /dev/sdh to /dev/fd0






share|improve this answer

















  • 1




    fdformat does not work with USB floppy drives.
    – FUZxxl
    Mar 28 at 13:53
















1














Try:



fdformat /dev/fd0u720
mkfs.msdos /dev/fd0


after creating a symlink from /dev/sdh to /dev/fd0






share|improve this answer

















  • 1




    fdformat does not work with USB floppy drives.
    – FUZxxl
    Mar 28 at 13:53














1












1








1






Try:



fdformat /dev/fd0u720
mkfs.msdos /dev/fd0


after creating a symlink from /dev/sdh to /dev/fd0






share|improve this answer












Try:



fdformat /dev/fd0u720
mkfs.msdos /dev/fd0


after creating a symlink from /dev/sdh to /dev/fd0







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 1 '15 at 1:01









eyoung100

4,7701441




4,7701441








  • 1




    fdformat does not work with USB floppy drives.
    – FUZxxl
    Mar 28 at 13:53














  • 1




    fdformat does not work with USB floppy drives.
    – FUZxxl
    Mar 28 at 13:53








1




1




fdformat does not work with USB floppy drives.
– FUZxxl
Mar 28 at 13:53




fdformat does not work with USB floppy drives.
– FUZxxl
Mar 28 at 13:53


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f219533%2fhow-to-format-720k-fat-ie-ms-dos-floppy-on-linux-using-usb-floppy-drive%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Morgemoulin

Scott Moir

Souastre