paperlined.org
sysadmin > boot > MS-DOS
document updated 13 years ago, on Apr 29, 2011

instructions for creating a dos-bootable .img file



Get the msdos.sys/io.sys/command.com from a Win95 or Win98 boot disk.

dd if=/dev/zero of=floppy288.img bs=1024 count=2880
/sbin/mkdosfs floppy288.img
ms-sys -1 -f floppy288.img
su
mount -o loop floppy288.img /mnt
cp msdos.sys /mnt/
cp io.sys /mnt/
cp command.com /mnt/
umount /mnt


To test it, use qemu:

qemu -fda floppy288.img


HOWTO make a floppy image bigger than 2.88mb:


HOWTO make a hard-disk image that MEMDISK can load: