(Redirected from 2.88Boot)

I am currently aware of two ways of creating a bootable DOS filesystem:

The methods documented herein will create a 2.88MB boot floppy image (as 1.44MB often hasn't enough space to hold the BIOS updates for modern motherboards). Since actual 2.88MB floppy drives (and media) are difficult to find, these images are primarily useful with Memdisk. If you need a different size filesystem, just adjust the dd or truncate commands as appropriate; but make sure that the final image is a multiple of 512 bytes in length.

Note: using Memdisk may not work with certain BIOS update utilities!


DosBox

  • Make sure that you have a copy of DosBox and a copy of a Windows 98 MS-DOS boot floppy.
  • Create a directory to hold the disk images, so that you don't lose them
mkdir ~/boot
cd ~/boot
  • Create a blank 2.88MB floppy image and format as FAT12
dd if=/dev/zero of=floppy.img bs=1024 count=2880
mkdosfs -vvv floppy.img

2.88Boot-1.png

  • Launch DosBox
dosbox
  • Within DosBox, mount the directory containing the images, and issue a boot command to boot the Windows 98 MS-DOS boot floppy
mount c ~/boot
c:
boot win98s~1.img floppy.img

2.88Boot-2.png 2.88Boot-3.png

  • After Windows 98 MS-DOS boots, you will be dropped to a DOS prompt. Copy the system over to the B: disk as usual
sys b:

2.88Boot-4.png 2.88Boot-5.png

  • The new disk image should now be bootable, and fully compatible with memdisk (you don't really have a real 2.88MB floppy drive lying around, do you?)

sys-freedos.pl

You will need

# Make a file
truncate -s $(( 2880 * 1024 )) floppy.img

# Add FAT12 filesystem
mkdosfs -vvF12 -n DOSBOOTFLOPPY floppy.img

# Copy in the FreeDOS files
mcopy -i floppy.img kernel.sys command.com ::

# Hide them, for consistency
mattrib -i floppy.img +H +S ::kernel.sys ::command.com

# Install boot block
sys-freedos.pl --disk=floppy.img
  • The new disk image should now be bootable