Skip to content

Instantly share code, notes, and snippets.

@TooDumbForAName
Last active May 24, 2021 03:42
Show Gist options
  • Save TooDumbForAName/d15ea48cf6aa2c6028ec19e77050f748 to your computer and use it in GitHub Desktop.
Save TooDumbForAName/d15ea48cf6aa2c6028ec19e77050f748 to your computer and use it in GitHub Desktop.

Commands to create blank floppies

  • fallocate -l 1440k blank144.img (creates common 1.44 MB floppy image)
  • fallocate -l 1200k blank12.img (creates 1.2 MB floppy image)
  • fallocate -l 2880k blank288.img (creates 2.88 MB floppy image)
  • fallocate -l 720k blank720.img (creates 720k floppy image)
  • fallocate -l 360k blank360.img (creates 360k floppy image)

Commands to format floppies

  • mkfs.fat -I -F 12 -n LABEL fat.img (Standard FAT12 format)
  • mkfs.minix minix.img (Minix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment