Boot Windows XP from a USB flash drive

By Brien M. Posey MCSE on 19 October 2006

Tags: booting | flash | microsoft | usb | windows | xp | flash drive | nero

TechRepublic

You can't boot Windows XP from a floppy disk the way you used to be able to with DOS. One handy way to easily boot XP is by using a USB flash drive. Here's how to make it work.

Almost everyone who has worked with computers for any length of time at all has run into at least one situation in which a problem left a PC unbootable. What if you could return the machine to a bootable state just by inserting a USB flash drive though? Believe it or not, it is actually possible to install a bootable copy of Windows XP onto a flash drive and then boot a PC off of the flash drive. From there, you can use applications that you have installed on the flash drive (antivirus, antispyware, disk repair, etc.) to fix the PC's problem. In this article, I will show you how.

What's the catch?
As with most cool new techniques, there are a few catches. For starters, not every PC is capable of booting from a USB flash drive. For the most part, computers manufactured within the last two years are generally able to boot from a flash drive. Older systems may require a BIOS update, or might not be able to boot from a flash drive at all.

Another catch is that not every flash drive will get the job done. The primary factors that limit your use of a particular flash drive are capacity and speed. Technically, speed isn't really a limiting factor, but booting Windows will be painfully slow unless you use a flash drive that supports USB 2.0.

The flash drive's capacity is actually a limiting factor though. Surprisingly, there are size limits on both the upper and lower end. Your flash drive can't be too large or too small. There isn't really a documented minimal size for a flash drive. You just need something large enough to hold Windows XP and a few applications. As you probably know, Windows XP normally consumes over a gigabyte of disk space. Later I will show you how to use a free utility to trim the excess fat off of Windows XP and make it a whole lot smaller. Even so, I still recommend that your flash drive be at least a minimum of 256MB in size.

As I mentioned, there is a maximum size for the USB flash drive that you can use. Currently, USB flash drives exist in sizes of up to 4GB, and 8GB flash drives are expected to be available by the end of the year. As nice as it would be to have 8GB to play with, the flash drive that you use for this project can be no larger than 2GB. The reason for this is because you will have to format the flash drive using the FAT-16 file system, which has a 2GB limit. Presently, you are stuck using FAT-16 because most computers will not recognise a flash drive as being bootable if the drive is formatted with anything other than FAT-16.

Preparing your Windows installation CD
One of the requirements for creating our bootable USB flash drive is a Windows XP with Service Pack 2 installation CD. If your Windows XP installation CD doesn't already include Service Pack 2, then you will have to make a CD that includes Service Pack 2 through a technique called slipstreaming.

Other requirements
In addition to your Windows XP installation CD, there are a couple of other things that you are going to need. For starters, you will need the HP USB Disk Storage Format Tool. You can download this tool for free.

Another utility that you are going to need is Bart's Preinstalled Environment Bootable Live Windows CD / DVD, or BartPE for short. You can download this utility for free from the BartPE Web site.

In addition to the software requirements, you must verify that the PC that you will be using to create the Windows deployment has 1.5GB of free hard disk space (minimum) and supports booting from a USB device. I also strongly recommend that the PC be running Windows XP Service Pack 2. Prior to Service Pack 2, Windows XP sometimes had trouble interacting with USB storage devices.

Like this article? Click below to send it to your mobile for free!

Paul V
17/12/2006 02:00 PM

good idea for any tech, you never know when a client has a busted hard drive.

Report offensive content

tamertmt
30/01/2007 09:27 AM

rajesh
31/01/2007 01:11 AM

i am very much nead of usb bootable software for us datadrive

Report offensive content

jizzleh2
05/02/2007 01:44 AM

is it possible to also do this with a windows 2000 OS?

Report offensive content

Zee
26/02/2007 03:39 AM

Valerka
10/03/2007 07:59 PM

Sounds good for those who have enough time to waste

Report offensive content

mahmoud elbehery
24/05/2007 09:55 AM

excellent , it is very interesting topic , thank you very much

Report offensive content

cartos
08/06/2007 05:08 PM

I have a seagate 320g installed as the primary hard drive and windows xp thinks that it is a removable usb mass storage device. Does anyone know how I can stop this from happening?

Report offensive content

KUMAR
03/07/2007 05:03 PM

tarek
27/07/2007 12:03 AM

ali asghar solangi
07/11/2007 03:35 AM

i want software to flash drive plzzzzzzzzzzzz

Report offensive content

qq
03/02/2008 07:07 AM

angaaxai
angaaxai
03/02/2008 07:15 AM

sivaraj
07/02/2008 08:34 PM

kana
12/03/2008 01:49 AM

better. l wonder if you can help me about how to configure my music setting as window perating system is satrting up

Report offensive content

jcpineiro
18/03/2008 06:16 AM

I just tried this on Latitude x300. the laptop recognizes the usb as a boot option. I get messages about Intel Base-code, PXE-2.1, but then it attempts to TRY and use the network (Client mac addr) and gives me messages about No boot filename received. Operating System not found. I trying to use a cruiser USB flash after removing U3 and following all the steps.. 1. formating with the HP util 2. copying over system files from an XP sp2 install 3. creating the PE XP install and copying it (with the util) to the USB. What's up? please email me at jc_pineiro@yahoo.com

Report offensive content

keonkz
18/04/2008 11:18 AM

I have trouble after I make this, when I try to write or save a file on root directory, and what happen after this. The boot system of flashdisk going to be broken, and my flashdisk can not use to boot up again, help me please ...

Report offensive content

no-reply
26/04/2008 05:03 AM

Hi! I don't really have anything add. This is a useful thing. Well that's all. Take care everybody. Have a nice weekend.

Report offensive content

Simo
29/04/2008 01:57 PM

I Did all the steps. but when Itrid to boot the with usb installation , it says Invalid Partition Table, I dont knwo what wrong , can any one hel

Report offensive content

aldogg408
20/05/2008 04:49 PM

thank you it was a big help

Report offensive content

nishant_mcse
11/06/2008 05:47 PM

Can i install windows DESKTOP OS/SERVER OS thorough usb device(usb HDD or usb PEN DRIVE/THUMB DRIVE). or Can i boot windows os through usb devices(HDD/PEN DRIVE)

Report offensive content

anwar shaikh
17/09/2008 01:23 PM

sandeep
03/10/2008 07:36 PM

this is very nice idea thanku for useful thing

Report offensive content

  • Leave a comment

All fields marked with * are required

What do you think

Your e-mail will not be displayed

You must read and type the 6 chars within 0..9 and A..F

You must read and type the 6 chars.


  • 50 significant moments from internet history

  • Linksys WVC54GCA Wireless-G Internet Home Monitoring Camera

  • Microsoft Wireless Media Desktop 1000

  • Logitech Cordless Desktop S520

  • Microsoft LifeCam Show

  • Logitech MX 1100 Cordless Laser Mouse

  • Belkin Flip DVI-D

  • Vodafone Internet Stick

  • Logitech QuickCam Sphere AF

More articles »

Find the right desktop

Brand
  • Multiple options can be selected

    • Linksys WVC54GCA Wireless-G Internet Home Monitoring Camera

      Linksys WVC54GCA Wireless-G Internet Home Monitoring Camera

      Wi-Fi cameras for home security ought to be a no-brainer, and at this price, the Linksys pretty much is. We just wish it worked seamlessly cross-browser, and took better pictures.

    • Microsoft Wireless Media Desktop 1000

      Microsoft Wireless Media Desktop 1000

      Microsoft's Wireless Media Desktop 1000 will provide you with a perfectly capable wireless mouse and keyboard for a more reasonable price than its competition. We just wish Microsoft would give more thought to the design and overall feel of its hardware.

    • Logitech Cordless Desktop S520

      Logitech Cordless Desktop S520

      It's hard to get too excited about Logitech's basic Cordless Desktop S520, but on close inspection, a few design elements help it stand out. If you typically find keyboard hot keys a good idea that's poorly implemented, we think you'll like this mostly well-designed mouse and keyboard set.

    • Microsoft LifeCam Show

      Microsoft LifeCam Show

      The Microsoft LifeCam Show offers improvement over Microsoft's previous laptop webcam, but Logitech still has the laptop webcam to beat.

    • Logitech MX 1100 Cordless Laser Mouse

      Logitech MX 1100 Cordless Laser Mouse

      Logitech's MX 1100 wireless laser mouse is the best in its class, thanks to a wide array of features that make navigation easier.

    More reviews »

    Membership benefits

    Win prizes and other promotion benefits

    Win prizes and other promotion benefits

    As a CNET.com.au member, you're eligible to enter and win any prizes on our site. Sign up for a free CNET.com.au membership now!