Update: Before you try all of this, you may want to try using WinToFlash, a utility designed to create a bootable Windows flash drive for Windows XP/Vista/7/Server. If this works for you, you can skip the section on preparing a flash drive and jump straight to the installation instructions. Also, keep in mind, these notes were written for installing Windows XP on the HP 2133 Mini-Note. Although many of these steps will apply for different computers, some of the commands may differ a little bit.
Update 2: If you’re trying to install Windows 7 on a netbook, Microsoft is making things even easier. Just use the Windows 7 USB tool.
Installing Windows XP or any other operating system is easy if you have a USB optical disc drive. But if all you’ve got is a USB flash drive and another computer with a DVD burner, you can still install Windows XP (or many Linux distributions for that matter) on a disc drive-less ultraportable like the HP Mini-Note or the Asus Eee PC. After spending most of Saturday installing Windows XP on my HP Mini-Note I thought I’d share my results with you. Remember, your results may very, so while these are the steps that worked for me, they may not work for you. For example, depending on the version of Windows XP you are using, you may need a different hotfix to install the audio drivers.
There were two resources that were extraordinarily helpful. Bsumpter at MiniNoteUser wrote up an excellent tutorial for installing XP on a Mini-Note, and EeeGuides has a great walkthrough for installing XP on an Eee PC using a flash drive. By combining these methods and a few other, I was able to setup my Mini-Note with a Windows partition, a spare partition for installing Linux, and a large data partition for shared files.
Here’s what you’ll need:
- 1 USB flash drive, 1GB or larger
- 1 Windows XP installation disc
- Assorted files that I’ll describe as we go along.
Preparing the flash drive
First up, we need to prepare the flash drive.
- Download and unzip this file (alternate link 1) (alternate link 2). It should contain 2 folders: 1 titled Bootsect, and the other USB_prep8.
- Navigate to the USB_prep8 folder and click on usb_prep8.cmd. This will bring up a Windows console window.
- Press any key to continue and a PeToUSB window will open.
- Make sure your flash drive is selected, and click start to format your flash drive.
- When the format is complete, click OK, but do not close the PeToUSB window or the Windows Console.
- Open a new console window by typing “cmd” into the run box in the Windows Start Menu.
- Find your Bootsect folder (if you’re not used to DOS commands, you can type “dir” to list directories and files, type “cd foldername” to navigate to a folder name – called foldername in this example, and if there’s a long folder name you can save time by typing the “cd” and just the first few letters and then hitting the Tab key to fill in the rest of the name).
- Once you’re in the Bootsect folder, type “bootsect.exe /nt52 g:” if “g” is the letter assigned to your flash drive. If it’s E, then change the letter to e. If it’s Z, make it z. Get it?
- When this is done, you should see a message letting you know that the bootcode was updated, and you can close this console window (but not the other console window).
- Close the PeToUSb Window, but make sure not to close the remaining console window yet
- You should now see a list of 8 options in the console.
- Select one and find the drive with your Windows installation disc.
- Select 2 and pick a random drive letter (but not one that’s already on your PC, since this will be a virtual drive used for copying your files).
- Select 3 and enter the drive letter for your USB flash drive.
- Select 4 and follow the rest of the on-screen directions and you should be all set.
The process should take about 15-20 minutes. When it’s done, you should have a bootable USB stick that you can use to install Windows XP the same way you would if you had a CD/DVD drive.
A few notes here. First of all, there’s a chance you may get down to step 15 and the program will tell you that it can’t create the virtual drive. This may happen if you’ve already gone through the whole process and are trying to do it again to fix problems. The solution seems to be rebooting your computer and trying again. Or at least that’s what worked for me.
Second, if you use NLite to shrink/slipstream/otherwise modify your Windows XP installation file, make sure you do not remove “manual installation files,” or your USB stick will be pretty much useless.
Installing XP on the netbook
Now it’s time to load Windows XP onto your Mini-Note. If you have a USB CD/DVD drive, you probably skipped all the stuff above, and that’s fine. Most of the following steps should work as well. These instructions should work whether you’re installing Windows XP on a system that came preloaded with SUSE or Windows Vista.
- Insert your USB flash drive in one of the USB ports on your Mini-Note.
- Power on your computer and hit F9 to bring up a boot device selection window. This Fn key may differ if you have a different computer model.
- Choose your flash drive, or if you’re using a USB optical disc drive, select that instead.
- Select 2 for a text-based installation.
- Make sure to delete all of the partitions on the hard drive. While you may have some success creating separate partitions on your hard drive using this method, I did not. If you find yourself with a Hal.dll or bootloader missing error when you’re finished, there’s a good chance it’s because you did not delete all of the partitions. Note that I will be providing instructions in the next section for partitioning your hard drive after installing Windows XP, so you can still create a Linux partition later.
- Create one large NTFS partition (using the quick option will save you a lot of time)
- Follow the on-screen directions.
- At least once during the install process, you will be prompted to reboot your computer. If you try to let it boot from the hard drive, you’ll get an error message. What you need to do is hit F9 again when it reboots and this time select option 1 for a GUI setup.
- Once you’re done installing XP, you may notice that you are unable to boot into Windows from the hard drive. If you have the USB disk installed, again hit F9, and select the GUI option again. Windows should start. You’ll need to edit the boot.ini file:
- Type “msconfig” into the run box in the start menu
- Select the BOOT.INI tab
- First, try the “Check All Boot Paths,” option. This may solve your problem by finding and removing the incorrect boot settings.
- You may also need to edit the boot.ini file manually if it doesn’t read something like ‘multi(o)disk(0)rdisk(o)partition(1)\Windows=”Windows XP Pro” /fastdetect’
- The most likely problem is that wrong partition is selected. It may say (0) or (2) or something like that. The steps below will show you how to backup and edit it.
- Open your System Properties by right-clicking on My Computer and choosing Properties. Alternately, you could type “sysdm.cpl” into the run box in the start menu
- Select the Advanced Tab
- Click the Settings option under Star
tup and Recovery - Click the button that says Edit to open up your boot.ini file in Notepad. It’s a good idea to save a backup now by selecting Save As, and saving the file to a place where you won’t forget it.
- Now you can (somewhat) safely edit the boot.ini file, changing the partition number or other settings to more closely resemble the one I listed above. Save your file, and hopefully you’ll be able to reboot without your USB stick.
Configuring Windows XP
While the steps above will allow you to install Windows XP on your netbook, you may still need to download drivers from your manufacturer before all of the hardware works properly. For instance, to configure the HP Mini-Note 2133 I had to install wireless, audio, and display drivers.
Update: HP has added Windows XP drivers to its support page for the Mini-Note. You should try these official drivers before using the drivers listed below.
Using Parted Magic to create new partitions for Linux or other operating systems
While I tend to use Windows XP on a day to day basis, I wanted to make this a dual boot system so I can install Linux on a separate partition. Most Linux distributions aren’t very particular about where they’re installed. You can put them on a second or third partition, or even on an SD card in your card reader. But Windows likes to have the first partition all to itself. So while you may be able to use the Windows installer to set up partitions on the hard drive, I had more success installing Windows XP first, and then using Parted Magic to resize the Windows partition and create additional partitions.
The best time to do this is right after you install Windows. Your main partition will be fairly clean which will make the resizing operation go much more quickly. We’re talking about the difference between a minute or two and a half hour or more. You’ll also save yourself a lot of pain and heartache if something goes wrong and you wind up wiping your Windows partition, because you won’t have spent days loading and configuring all of your favorite programs yet.
I’m going to assume you’re still using a USB flash drive, but you can also use Parted Magic from a CD-ROM. Detailed instructions for setting up either a flash drive or a CD-ROM are available from the Parted Magic homepage. The main difference is that if you’re using a flash drive, you need to use SYSLINUX to make it bootable.
Once you’ve got your installation media:
- Reboot your Mini-Note with the flash drive or CD-ROM plugged into a USB port.
- Hit F9 and choose the device you want to boot from.
- From the boot menu, make sure to selection option 4: Failsafe Settings
- W
ait a few minutes until you’re presented with a command prompt that says “root@PartedMagic:~#” - Type “menu”
- Choose Xvesa (if you had tried almost anything other than option 4 in step 3, the system would try to boot using Xorg and your display would look all funny/unusable)
- You should now see a graphical user interface that looks a bit like this:

- Click the little blue icon on the bottom of the screen that says “VisParted.” This will bring up a partition manager
- Your primary hard drive should be listed as /dev/sda. But if it’s not, it shouldn’t be too hard to find since you probably only have one 120GB hard drive connected to your PC. Note that VisParted will say your hard drive is actually closer to 112GB.
- There should be one large partition labeled as /dev/sda1. You can right click on this and choose the resize/move option and then resize the partition either by dragging the edges or entering a value into the “new size” box.
- Once your Windows partition is shrunk, you an either leave the rest of your hard drive unpartitioned for future use, create an ext2, ext3 or other partition for Linux, or do something else altogether.
- Click the Apply button to execute.
- When Parted Magic is done working its magic, you can reboot your system by clicking on the shutdown menu at the bottom right side of your screen. If everything went properly, you should still be able to boot into Windows, but you’ll find that your Windows partition is smaller.
Personally, I decided to make a 25GB Windows XP partition for files and settings, a 15GB ext2 partition for installing Ubuntu or other operating systems, and I made a third NTFS partition for storing data that will be accessible no matter which OS I use.
Related:
Leave a Reply
374 Comments on "Install Windows XP on a netbook (USB stick method)"
This is good news. Next, please install some common software on there, and tell us how fast (or slow!) it is? I’d be interested in a typical student mix of Office, Firefox, Acrobat, and something like iTunes, all running at the same time. Thanks!
Well, right now I’m listening to streaming audio using WInamp, I’m posting a reply to your comment in Firefox, and I have Pidgin open in the background and everything seems to be working pretty well. CPU usage is hovering between 15 and 30 percent, and my memory use is under 300MB. Switching windows and tabs is not quite as quick and zippy as it would be on a more powerful computer, but it’s passable.
my cd-dvd drive went invisible as i started the program in the first step!! any one like that?? i’m using hp 530… the drive is tsstcorp
Thanks for documenting all this stuff Brad. It helps a lot!
Do you know if you can under or over clock the cpu, or change how much memory the onboard video uses?
I haven’t gotten arond to over/underclocking yet, but I’ll keep you posted. The 1.2GHz processor is a bit sluggish for some tasks. But you’re also lucky to get 2 hours of battery life out of the standard 3 cell battery, so I’m a bit wary to do too much overclocking. At least the computer runs at its advertised speed, which is more than I can say for some laptops *cough* Eee PC *cough*
lol, I know it… I’m getting the 1.6Ghz model and wanted to be able to under clock to save some battery. I just read over on the mininoteuser forums that there isn’t anything in the bios you can change for video or cpu. 🙁
Thanks again!
No under/overclocking options in the bios. I have the 1.6 Ghz model that runs pretty smooth with me. I have 3 FF windows open with at least 6 tabs a pop, a bunch of other software, my ram usage is at 1Gb, yes I know that’s a lot but i did max out my ram on this baby.
HTH
Excellent writeup, Brad! This should be very helpful for those installing XP on their Mini-Notes. My Mini is working great, and I’m pretty happy with it thus far. The only issue I’ve had is installing the company’s Nortel VPN client, but other than that it’s ran everything I’ve thrown at it admirably.
Thanks Bsumpter, I never would have figured half of this stuff without your useful guide!
Hi bsumpter, are you running at 1 Gig or 2 Gig RAM?
Hello el_nacho.
2 GB of RAM here, but I’m not so sure it’s needed. Even with Lotus Notes, IE, Firefox, Word, and Photoshop open at the same time I’m still not using all the RAM. It’s nice to have it available – might need it someday. But if you’re wondering if you should go to 2GB in your Mini-Note, I’d say it would depend on your choice of OS. Vista – I’d go 2GB. XP – 1GB is probably fine for most cases. Linux – 1GB should do fine.
One thing missing from your “You will require” section;
A computer running M$-Windows.
Those utilities are all Windows executables and I have not yet gotten them to run under Wine.
Thanks for the help real good have it all working except for wireless lan that is giving me some problems. Do you have correct drivrs?”
Hi,
I am having the same problem. Did you ever solve it? Could you share your solution if you did?
I have the same problem too … please help!
I have the same problem too … please help!
I started out with a SUSE system, so I didn’t have a Vista recovery partition to play with. But as for the second installation failing, I have noticed that for some reason this happens to me a lot when installing XP from a USB flash drive. Re-creating the bootable flash drive should work. It just means spending another 15-20 minutes.
What happened at last? any success in keeping vista partition and restoring that partition after installing XP properly
It’s probably worth mentioning that if your USB stick is larger than 2GB, PeToUSB won’t be able to format it. Thus the walkthrough will fail at Preparing the flash drive, Step 5.
Thanks for the note! Since I was using a 1GB flash drive, I didn’t realize that this was a problem.
I’m looking for an alternative method right now, but first I need to figure out exactly what PeToUSB does.
I ended up using the HP USB Disk Storage Format Tool to format the 8GB USB stick with NTFS and then used USB_MultiBoot_9 to make the stick bootable and copy over the XP install files.
Currently installing XP as we speak!
Your walkthrough is an excellent resource, thanks for writing it up and posting it.
hmm, i’m using a kingston 4gb usb stick and petousb formatted it just fine…
I too had the same problem , it failed in formating the usb stick,
am using 8 GB Sony USB stick, some how i formatted using xp format,
will it work/?? any suggestion please , thanks
I’m using a Samsung 2GB Mightydrive USB stick which has formatted fine and I have gone through all the steps seemingly successfully. However, when I try to boot the MiniNote I get missing file errors (error 14), the first one being $WIN_NTS.~BTbiosinfo.inf could not be loaded. The error code is 14.
I have checked the USB stick and it appears that the files are on the device but not in the correct folders??
Any ideas?
Stuart
You might have to boot your Mini-Note with the USB stick plugged in. If this works, you’ll need to go into the MSConfig menu after Windows boots and fix your boot options.
Hmm. I have two suggestions.
1. Try repeating all the steps over again. Sometimes you need to completely reformat the flash drive and add all of the installation files to it again. I have no idea why.
2. It’s possible that you have a USB stick that you cannot boot from. I’m not sure what sets some sticks apart from others, but I do have one stick that I can’t seem to mark bootable no matter how many different Windows or Linux tools I used. If you’ve got a different flash drive or an SD card that you can try, that may help.
Brad, thanks for your help. There appears to be a problem in the code of the usb_prep8.cmd I downloaded in your zip file. I found a post on
http://www.eeeguides.com/2007/11/installing-windows-xp-from-usb-thumb.html
which suggests edits to some of the lines in the code. I edited the usb_prep8.cmd and hey presto, it all works. I now have a Mini-Note running XP Pro and I couldn’t have done it without you!!
If you would like me to document the edits here, I will or I can email you privately
Thanks again
Stuart
Th
This same problem happened for me. Here was the fix, for anyone who is pulling out their hair!
Hi,
I solved the “biosinfo” as well at the missing file at the copy on the virtual disk.
2 solutions :
Do-it-by-yourself and modify usb_prep8.cmd.
Line 519 replace :
xcopy %xpsource%!xpdir!!btfile! %tmpdrive%%btdir% /i /k /y /h
with:
xcopy %xpsource%%xpdir%!btfile! %tmpdrive%%btdir% /i /k /y /h
Line 521, replace :
xcopy %xpsource%!xpdir!!btfile! %tmpdrive%%btdir% /i /k /y /h | tee.bat -a usb_prep.log
with:
xcopy %xpsource%%xpdir%!btfile! %tmpdrive%%btdir% /i /k /y /h | tee.bat -a usb_prep.log
Line 525, replace :
copy /y %xpsource%!xpdir!%%H %tmpdrive%%btdir%%%I
with:
copy /y %xpsource%%xpdir%%%H %tmpdrive%%btdir%%%I
Line 527, rmplace :
copy /y %xpsource%!xpdir!%%H %tmpdrive%%btdir%%%I | tee.bat -a usb_prep.log
with:
copy /y %xpsource%%xpdir%%%H %tmpdrive%%btdir%%%I | tee.bat -a usb_prep.log
Hi Stuart!
I have been keenly following the problem with brad download of the software.Please give me the edited version of usb_prep8.cmd.
regards
karoli
Thank for this topic
would you please share your files to humyo.com ? thx