Tip

Create a bootable USB flash drive -- in a flash!

USB flash drives have quickly become a de facto replacement for the floppy disk. Aside from having many times more space for holding data than a floppy, USB flash drives are faster, smaller and far less prone to damage. Plus they work on just about any computer with a USB port.

Making a USB flash drive into a bootable drive isn't that easy, which I think has kept flash drives from completely eclipsing the old-school floppy disk. Almost every computer shipped these days supports the ability to boot from a USB device in BIOS, but making a USB flash drive (not an external USB hard drive) into a bootable device requires some fancy footwork.

A bootable flash drive can be used to perform many tasks. You can use a bootable USB drive as a rescue disk or as a way to do flash upgrades or other system-level changes that require a boot disk. You can also use it to launch applications that run from their own DOS boot floppy without having to put up with the horrendously slow load times of a floppy disk.

    Requires Free Membership to View

To create a bootable USB flash drive, you'll need the following:

  • a 3.5-inch floppy disk
  • a computer with Windows XP, a 3.5-inch floppy drive and at least one USB port
  • Bart's MKBT utility, freeware for copying boot sectors.

The USB flash drive will boot like a floppy and run a DOS command line, so keep in mind that any utilities or files you copy to it will need to work as DOS command-line applications.

To create your bootable USB flash drive:

  1. Get a blank 3.5-inch floppy (you'll only need to do this part once).
  2. Insert it into the floppy drive of a Windows XP computer, right-click on the "3 1/2 Floppy" icon in My Computer, and select Format. Be sure to select the "Create an MS-DOS startup disk" option when you format the disk.
  3. Unpack MKBT into a folder.
  4. Open a command-line window and go to the folder with MKBT. From there, type

    mkbt –c a: bootsect.bin

    This will extract the boot information from the floppy in A: and copy it to a file named bootsect.bin (which will be written into the folder you're running MKBT from). If you want to create more bootable devices, save this file for future use.

  5. Plug in the USB flash drive and make a note of what drive letter is assigned to it.
  6. Format the USB drive as a FAT16 device. The format of the drive must match the format of the floppy; FAT16 will work on any thumb drive smaller than 4 GB.
  7. Copy the bootsector information to the USB drive. To do this, type the following command from the command line you used before:

    mkbt –x bootsect.bin f:

    This assumes that f: is the drive letter for the USB drive; if it isn't, substitute the appropriate drive letter. Note: Double-check to make sure you're writing to the correct drive, or you might overwrite something important.

  8. Copy all the files on the floppy disk over to the USB thumb drive. You can also now copy in any additional files you want to have present on the thumb drive when you boot it.

When you boot the USB drive, bear in mind that not all PCs are set to boot from a USB device by default. You will probably have to make changes in BIOS to allow this, and the exact steps for this will vary widely from machine to machine. Some machines require that "Legacy USB keyboard support" is enabled to do this.

In almost every case, you must plug the USB drive directly into the computer -- not through a hub -- to allow it to boot, since devices plugged into hubs are not generally enumerated by BIOS at boot time.

Note: The author of this tip has also addressed the topic of creating a bootable flash drive for Windows 2000.


 The top 10 tips of 2005

- Introduction
- Tip #1: How to change the Windows XP Product Activation Key Code
- Tip #2: Create a bootable USB flash drive -- in a flash!
- Tip #3: Create a bootable Windows Server 2003 CD
- Tip #4: 8 common causes for 'delayed write failed' errors
- Tip #5: Ultimate boot CD packs in recovery, repair utilities
- Tip #6: Install Windows Server 2003 silently
- Tip #7: Uninstall 'stubborn' programs
- Tip #8: What to do when your hard drive fails
- Tip #9: Windows XP and Windows Server 2003 volume shadow copy service
- Tip #10: 'Unlocker' reveals processes that lock files

ABOUT THE AUTHOR
Serdar Yegulalp has been writing about computers and information technology for more than 15 years for a variety of publications, including InformationWeek and Windows Magazine.

This was first published in August 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.