How to create a Windows installation USB drive

I personally used this to install Windows XP on my Asus Eee PC 1000HA.

<a href“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/xpinstall.jpg”><img alt“XP Install” src“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/xpinstall.jpg” width320></img></a>

Please note this tutorial works on all computers not just the Asus Eee PC.

To complete this tutorial you need a 32bit version of Windows XP or Windows Vista installed on your home PC.

What you'll need: USB_PREP8 ( alternative download)<br /> PeToUSB ( alternative download)<br /> Bootsect.exe ( alternative download)<br /> Special Note: If you use the program Nlite be sure to keep the manual installation files as the USB_prep8 script relies on these files.

Extract the files in Bootsect.zip<br /> The next step is to extract USB_prep8 and PeToUSB.<br /> Next copy the PeToUSB executable into the USB_prep8 folder.<br /> Inside of the USB_prep8 folder double click the executable named usb_prep8.cmd.

The window that opens will look like this:

<a href“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/usbprep1.JPG”><img alt“USB Preparation 1” src“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/usbprep1.JPG” width320></img></a>

Press any key to continue

You next window will look like this:

<a href“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/petousb.JPG”><img alt“PE to USB” src“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/petousb.JPG” width320></img></a>

These settings are preconfigured for you all you need to do now is click start.<br /> Once the format is complete DO NOT close the window just leave everything as it is and open a command prompt from your start menu (type cmd in the search bar or run box depending on your version of windows.).

Inside of the command windows go to the directory you have bootsect.exe saved. 60<use directoryname“” the“” folders“” to“” cd“” switch“” command“”>61 <br /> Now type “bootsect.exe /nt52 R:” NOTE R: is the drive letter for my USB stick if yours is different you need to change it accordingly. What this part does is write the correct boot sector to your USB stick, this allows your PC to boot from the USB stick without it nothing works.<br /> Please note: When running the bootsect.exe command you cannot have any windows open displaying the content of your USB stick, if you have a window open bootsect.exe will be unable to lock the drive and write the bootsector correctly. If all went well you should see “Bootcode was successfully updated on all targeted volumes.” Now you can close this command prompt (don't close the usbprep8 one by mistake) and the petousb window. You window you see now should look like this: <a href“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/usbprep2.JPG”><img alt“USB Preparation 2” src“../../../../twiki/pub/Main/CreateWindowsInstallationUSB/usbprep2.JPG” width320></img></a> If it doesn't try pressing enter. Now you need to enter the correct information for numbers 1-3.<br /> Press 1 and then enter. A folder browse window will open for you to browse to the location of you XP setup files (aka your cdrom drive with xp cd in)<br />Press 2 and enter a letter not currently assigned to a drive on your PC<br />Press 3 and enter the drive letter of your USB stick<br />Press 4 to start the process. The script will ask you if its ok to format drive T:. This is just a temp drive the program creates to cache the windows installation files. Press Y then enter. Once it's done formating press enter to continue again, you can now see the program copying files to the temp drive it created. Once this is done press enter to continue again. Next you will see a box pop up asking you to copy the files to USB drive yes/no you want to click yes. Once the script has completed copy files a popup window asking if you would like to USB drive to be preferred boot drive U: select YES on this window. Now select yes to unmount the virtual drive. Ok we are done the hard part, close the usbprep8 window. Now make sure your Eee pc is configured with USB as the primary boot device.<br /> Insert your USB drive and boot up the Eee. On the startup menu you have two options, select option number 2 for text mode setup. From this point on it is just like any other windows XP installation delete/recreate the primary partition on your Eee pc and format it using NTFS. Make sure you delete ALL partitions and recreate a single partition or you will get the hal.dll error message. Once the text mode portion of setup is complete it will boot into the GUI mode (you can press enter after the reboot if your too excited to wait the 30 seconds) Once the GUI portion of setup is complete you will again have to boot into GUI mode this will complete the XP installation and you will end up at you XP desktop. It is very important that you DO NOT REMOVE THE USB STICK before this point. Once you can see your start menu it is safe to remove the usb stick and reboot your pc to make sure everything worked. This method has advantages over all current no cdrom methods of installing XP to the Eee. You do not have to copy setup files in DOS to the SSD and install from there. It gives you access to the recovery console by booting into text mode setup, and it gives you the ability to run repair installations of XP if you have problems later on. I hope this worked out for you and please post feedback to the comments section. ===== Related ===== * Main.CreatingALinuxLiveUSB – Main.FredPettis - 18 Nov 2008