Using Makebootfat on Linux
- Download makebootfat (version 1.4 at the time of this writing) and compile it using
tar -xvf makebootfat-1.4.tar.gz
cd makebootfat-1.4
./configure
make
- Optionally you can install it
make install
- Install the syslinux Debian package (or download and build it from source)
- Download the FreeDOS source distribution fdbasews.iso and mount the ISO image to extract the required files for booting:
sudo mount -o loop /<path to fsbasews.iso>/fdbasews.iso /mnt/
mkdir /tmp/fs-root
cp /mnt/freedos/setup/odin/command.com /tmp/fs-root
cp /mnt/freedos/setup/odin/kernel.sys /tmp/fs-root
cd /tmp
unzip /mnt/freedos/packages/src_base/kernels.zip
cp ./source/ukernel/boot/fat12.bin .
cp ./source/ukernel/boot/fat16.bin .
cp ./source/ukernel/boot/fat32lba.bin .
cp /usr/lib/syslinux/mbr.bin .
- Write everything to the stick
sudo /<path to makebootfat>/makebootfat -o /dev/<usb device> -E 255 -1 fat12.bin -2 fat16.bin -3 fat32lba.bin -m mbr.bin /tmp/fs-root
Note that this will use the MBR that comes with syslinux and the FAT boot sectors that come with FreeDOS, so command.com and kernel.sys will be loaded during bootup.
these instructions taken from here(approve sites)
Using HP's USB Disk Storage Format Tool on Windows
- Get an \"ODIN\" FreeDOS diskette image. I used the 2880KB disk of the Beta 9 Service Release 2.
- Use WinImage to mount the ODIN disk image and copy the files to a directory.
- Download and install HP's USB Disk Storage Format Tool(approve sites)
- Using the USB Disk Storage Format Tool, format your USB flash drive in FAT format. Tell it that you want to make a boot disk and point it at the directory of FreeDOS files you got off of the ODIN image.
these instructions taken from here
Using makebootfat on Windows
see: http://www.bensbits.com/2007/08/21/booting_dos_from_a_usb_flash_drive(approve sites)
< CD-ROM | Installation Overview | Customize >