Create blank floppy disk image
GaneshaSharma (40)

Credits (important if you are a lawyer)

This is a Stack Exchange post. Visit it at

End credits

Well, I am sorry that I am posting non-programming stuff on, but I am tech-savvy.

The image is not something funny like a jpeg or png.

Now, here is the tutorial:

Create a floppy disk image


fallocate -l 1474560 myimage.vfd

Linux & other Unix-like systems:

head -c 1474560 /dev/zero > myimage.vfd


fsutil file createnew myimage.vfd 1474560

You'll have an empty "1.44 MB" image. Attach it to VirtualBox and format through "My Computer" in the guest.

If you want to format the image on the host system or to copy files into it, use mkfs.vfat + mount -o loop on Linux, and VFD on Windows. Note that official build of VFD "works only on 32 bit systems" as of version 2.1, but there are alternative builds available.


mkfs.vfat myimage.vfd
sudo mount -o loop myimage.vfd /mnt
sudo umount /mnt


vfd open 0: myimage.vfd
vfd format 0:
vfd close 0:

Windows, create, format and mount in one command:

vfd open 0: myimage.vfd /new /1.44
You are viewing a single comment. View All
CodeLongAndPros (1536)


I was not saying that I can't make one.

I'm just saying you can get a FAT on it and make in one fell swoop.

Crosh is not a terminal.

Did you mean: Crostini?