Wednesday, November 12, 2008

Creating a floppy image


Occasionally need to create floppy image, and an easy way to do it is to use Linux to create it. And you can mount it right there to add any files to it to. 

The following command is to create a blank floppy, filled with zero.

        /bin/dd if=/dev/zero of=/root/BlankFloppy.flp bs=512 count=2880

And this blank floppy can be formatted in Linux too.

        /sbin/mkfs.vfat -v -c /root/BlankFloppy.flp

Mount the floppy image so that you can put files into it.

        mount -o loop /root/BlankFloppy.flp /media/floppy


In Windows, you can use some Winimage, Floppyimage, undisker to create image of floppy.

No comments: