Tuesday, December 2, 2008

Booting FreeDOS from USB sticks

These are only my quick notes on how to boot FreeDOS from an usb stick, mainly taken from this short and confusing post and from this more detailed guide.
  1. get and install syslinux on a FAT32 (or FAT) usb stick;
  2. get a FreeDOS distribution;
  3. copy the "fat32lba.bin" (or "fat16.bin" in case of FAT), "command.com" and "kernel.sys" files from the FreeDOS distro to the root directory of the stick;
  4. rename the "*.bin" file as "*.bss";
  5. edit "syslinux.cfg" to be:

  6. timeout 1
    default fdos
    prompt 0

    label fdos
    BSS fat32lba.bss
    append -

  7. if necessary add a suitable autoexec.bat and config.sys;
  8. unmount the usb stick and reboot.