Creating a bootable DOS USB key
Introduction
Provided that your motherboard can boot off a USB key (all recent boards
can), it's a convenient way to install a new host that doesn't have an optical
drive by fetching files off a server.
Using Linux
- As of Feb 2007, Fedora is one of the few distros that offer an image,
diskboot.img, that can be used to create a bootable USK key. Fetch this
file from your favorite mirror
- Use "mount" to check which device the USB key uses, as most
distros nowadays load drives automagically. The USB key is usually /dev/sda
or /dev/sdb
- Run the following commands:
umount /dev/sda
dd if=diskboot.img
of=/dev/sda
sync; sync
- Connect the USB key to the new PC, and boot
- Go into the BIOS, and choose to boot from the USB-ZIP drive (if it fails,
you can also try USB-HDD or USB-FDD, and see if it works better)
Using Windows
- Download a 98SE
boot image
- Download and launch WinImage
- File > Open, with "All files (*.*)", and open the 98 EXE
file
- Image > Extract to extract the contents into a directory. Remove
stuff you don't need, such as ebd.cab. Edit config.sys and autoexec.bat
accordingly
- File > New; The default 1.44 format is fine
- File > Save As..., and save the project as .IMA
- Disk > Choose the USB drive
- Disk > Write. Click OK when told that WinImage will resize the image,
since we're copying an image that was originally from a 1.44MB floppy to
a USB drive that is bigger
Resources