Tuesday, September 16, 2014

Creating Floppy Disk Images for use with Virtualbox

Two solutions:

I made slight edit to the name of the floppy disk image.   Depending on your Linux distribution, you may also need to use 'sudo' for some of these commands.

From Superuser forum:

(http://superuser.com/questions/342433/how-to-create-an-empty-floppy-image-with-virtualbox-windows-guest)

fallocate  -l  1474560  floppy1.vfd
head  -c  1474560  /dev/zero  >  floppy1.vfd
mkfs.vfat   floppy1.vfd
mkdir  /media/floppy1
mount  -o  loop  ./floppy1.vfd   /media/floppy1


From the Virtualbox.org forum:

(https://forums.virtualbox.org/viewtopic.php?t=1426)

dd  if=/dev/zero  of=floppy2.img   bs=512  count=2880
mkfs.vfat   floppy2.img
mkdir  /media/floppy2
mount  -o  loop  ./floppy2.img   /media/floppy2

No comments:

Post a Comment