FreeDOS USB stick

FreeDOS bootable USB

Here you can download a prebuilt bootable FreeDOS image file for use on an USB flash drive.

The image file is available in different sizes. Each has an FAT 16 filesystem which can be mounted and written to by nearly any operating system. This way you can put additional files onto the stick after you have written the image. The 256MB and 2048MB images differ only in free space. They both have the same FreeDOS 1.1 installation on it. That is the reason for both image files being only 7 MB in size – they will grow when uncompressed.

The 30M image has been created upon user request: It contains the base installation of FreeDOS only and was used to update the firmware of a bunch of servers via PXE network boot.

Why FreeDOS?

I needed to update the firmware of my HP Proliant Microserver. The firmware update boots FreeDOS from CD-R, but I didn't have an optical drive built into my server. So I was looking for some way to get FreeDOS to boot off an USB stick.

A user told me that the image file can be PXE-booted over the network and this was used to rollout firmware updates to a bunch of servers.

Download

  • Download the image file which fits on your USB stick:
Filename Download size use for…
FreeDOS-1.1-memstick-3-30M.img.bz2 3,0 MB …small USB flash drives and PXE network boot.
Only the FreeDOS base package is included.
FreeDOS-1.1-memstick-2-256M.img.bz2 6,7 MB …USB flash drives between 256 MB and 2 GB in size
FreeDOS-1.1-memstick-2-2048M.img.bz2 6,7 MB …USB flash drives larger than 2 GB in size

The files are bzip2-compressed. Don't forget to uncompress the file before writing it to your USB flash drive!

Older releases are still available for download on my FTP server:

http://ftp.chtaube.eu/pub/FreeDOS/bootable-usb/

  FreeDOS-1.1-memstick-2-256M.img.bz2
          ^^^          ^ ^^^^
           |           |   `-- Minimum size of USB stick to put this image on
           |           |
           |           `------ Number of release
           |
           `------------------ FreeDOS version used

Installation

Installation is rather simple if you have some Linux- or *BSD-based system at your hand. For Windows, you need something that works like dd – see below.

Linux / BSD

  1. Download the image file which fits on your USB stick.
  2. Unpack the image file with bunzip2 or a similar tool:

    bunzip2 FreeDOS-1.1-memstick-2-256M.img.bz2

  3. Use dd to copy the uncompressed image to your USB flash drive::

    dd if=FreeDOS-1.1-memstick-2-256MB.img of=/dev/sdz bs=512k

  4. This command takes some time; replace /dev/sdz with the actual device name. Omit the partition number. Use the device name referring to the whole disk. On Linux, something like /dev/sdz is ok, but /dev/sdz1 or /dev/sdz4 would not work as it addresses the partition of a disk.

  5. You are done! Reboot from the USB flash drive and it should boot into a boot menu. Press enter once and it should boot FreeDOS, with FreeDOS presenting you its own start menu. Here you can choose whether you want to load any memory managers.

Windows

  1. Download the image file which fits on your USB stick.
  2. Uncompress the image file with 7-Zip or a similar tool.
  3. Use Win32 disk imager or dd for windows to write the uncompressed image to your USB flash drive. See below for details.
  4. You are done! Reboot from the USB flash drive and it should boot into a boot menu. Press enter once and it should boot FreeDOS, with FreeDOS presenting you its own start menu. Here you can choose whether you want to load any memory managers.

Win32 Disk Imager

Win32 Disk Imager is my recommended choice fo writing images. This tool has a graphical user interface which makes writing images easy.

Be very careful with image writer software! Choosing the wrong target may result in overwriting files or even hard disks and there will be no warning if you do!

dd for windows

dd for windows is a command line tool, just like the original dd command on Linux.

I've tested writing the image with "dd" for Windows and this worked for me, but you really should feel confident in working on the command line.

Open a Windows command line by running cmd.exe and change into the directory holding the downloaded and unzipped files. The command options I used for writing the image looked like this (but don't just copy them – read below!)

C:> dd if=FreeDOS-1.1-memstick-3beta.img of=\\?\Device\HarddiskX\Partition0 bs=512k --progress
You need to replace HarddiskX with the correct device name of your USB stick! Use dd --list to get a list of devices found on your system.

Technical Notes

  • The partition size is actually 250 MB for the 256 MB image, or 2000 MB for the 2048 MB image, with FreeDOS taking up about 32 MB. The remaining space can be used for additional files.

  • It is no problem to use larger flash drives, but you will still only see a 250 MB or 2000 MB partition.

  • Read the old howto or the new image generation howto if you want to make a bootable USB drive or a bootable image on your own. You can create any filesystem size supported by FAT16 or FAT32.

How did you do this? How can I build my own?

Should you want to make your own image file from scratch, please read the FreeDOS boot image generation HOWTO. You will need Linux and some open source tools for this.

Screenshots

Changelog

2014-08-27

  • Added some quick and dirty navigation menu.
  • The new HOWTO was meant to supersede the old HOWTO, but as the old HOWTO is still visited very often I will keep it online.

2014-02-04

  • Made some updates to this page.
  • Added websites which have linked to this page.

2013-10-03

  • Added 30MB image with only the BASE-package of FreeDOS

2013-09-01

  • Added ODIN floppy disk image

These websites might be helpful, too:

Websites that have linked to this page:

Alternatives

  • http://unetbootin.sourceforge.net/ – allows you to create a bootable Live USB drive for FreeDOS, FreeBSD, Arch Linux, Ubuntu and a lot more distributions or operating systems. It runs on Windows, Linux and Mac OS X.

Last update: March 23, 2014

Back to FreeDOS ‧ ↑ Go to top