Home > Hardware > Install Windows XP Using Bootable Pendrive

Install Windows XP Using Bootable Pendrive

August 21st, 2009


Windows Xp Pen Drive

Why would anyone want to install Windows XP from a pen drive?

  1. Some Laptops like asus eeepc, acer aspire one, hp mini etc don’t have CD-drive
  2. May be their CD drive isn’t working properly like mine, or
  3. They don’t want to waste money on a CD

More over installation from a flash drive is faster compared to a CD.
Before we go on with the tutorial here’s what you’ll need

Requirements
——————

  1. USB flash drive, 1GB or larger
  2. 1 Windows XP installation disc
  3. Assorted files that I’ll describe as we go along.

Note: Your BIOS should support usb boot, some older computers may not support USB boot.

Preparing the flash drive
————————-

First up, we need to prepare the flash drive.

  1. Download and unzip this file, which should contain 2 folders: 1 titled Bootsect, and the other USB_prep8.
  2. Navigate to the USB_prep8 folder and click on usb_prep8.cmd. This will bring up a Windows console window.
  3. Press any key to continue and a PeToUSB window will open.
  4. Make sure your flash drive is selected, and click start to format your flash drive.
  5. When the format is complete, click OK, but do not close the PeToUSB window or the Windows Console.
  6. Open a new console window by typing “cmd” into the run box in the Windows Start Menu.
  7. Directed to the second folder – 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).
  8. 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?
  9. 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).
  10. Close the PeToUSb Window, but make sure not to close the remaining console window yet
  11. You should now see a list of 8 options in the console.
  12. Select one and find the drive with your Windows installation disc.
  13. 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).
  14. Select 3 and enter the drive letter for your USB flash drive.
  15. 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.

Once your usb drive is ready, go to your bios and set USB to first position in boot order. Now plug the usb and restart.

Make sure you back up your important documents and files, firefox bookmarks, and drivers if you lost your drivers cd.

This post explains you how to backup your drivers easily

About sunny

sunny verma has wrote 63 articles on this blog.

I am 26 years old php programmer from India.


We will send you useful technology related Tips.

Related Posts

  1. Install windows games and applications on Linux
  2. Edit Windows Registry to view hidden files
  3. Make windows start faster
  4. Install personal webserver on Ubuntu Desktop
  5. make a windows installation iso lite and small
Author: Categories: Hardware Tags:
  1. August 24th, 2009 at 12:01 | #1

    Nice Trick…..

  2. August 27th, 2009 at 06:07 | #2

    Good post. Always wanted to change installation type to faster one than from CD.

  3. August 30th, 2009 at 00:47 | #3

    good tips .. i’m looking for this .. tnx

    Here u go my little software archive

  4. Siddharth Bose
    September 3rd, 2009 at 04:12 | #4

    I am using a dell inspiron mini 10.1. i created the bootable pendrive and booted. and it worked too, the only problem is that after it copies file from text mode it doesn’t enter gui mode and comtinue with the setup.

    the pendrive works as bootable but it doesn’t install.

    is there any help that i can get

  5. Manish Sinha
    September 16th, 2009 at 11:46 | #5

    Excellent stuff. I was always looking for this and atlast my serch ended here. THANKS !!!!!!!!

  6. September 17th, 2009 at 04:25 | #6

    This not trick, it’s tools for most “windowser”. Because for next days Optict Drive not usefull again :D
    Nice post :D

  7. September 17th, 2009 at 06:41 | #7

    this information very use full ,, wow

  8. shank
    September 21st, 2009 at 05:43 | #8

    woww…. is very interesting…nice

  9. raghu
    September 25th, 2009 at 06:08 | #9

    Thanks a lot.. i was searching for this solution..

    It helped me to gonna rock..

    Regards
    Raghu.

  10. raghu
    September 25th, 2009 at 06:09 | #10

    raghu :
    Thanks a lot.. i was searching for this solution..
    It helped me to gonna rock..
    Regards
    Raghu.
    VA:F [1.3.1_645]

    please wait…

    Rating: 5/55 (5 votes cast)

    @raghu

  11. Zim
    October 26th, 2009 at 04:38 | #11

    Hello,
    I had a strange problem while doing this.
    I was able to create the bootable SD memory disc for Windows XP, for my ACER ASPIRE ONE D250. It started XP installation. It showed 2 options in the boot menu. I selected boot from the memory disc. At the end when it reaches the window where it shows the partitions, I could not see the computer hard disc drive. Instead only the SD memory disc(4GB)was shown there. That means if I proceed, it will install the OS in the SD card.Could you please tell me which settings do I miss, to be able to see the computer hard disc here?

  12. October 30th, 2009 at 11:57 | #12

    I have a notebook and it’s time to start it with XP rather than the vista

  13. PULIN
    November 11th, 2009 at 00:48 | #13

    I don’t get it hw to do.

  14. November 20th, 2009 at 07:00 | #14

    sir you are genious

  15. Sandesh
    July 30th, 2010 at 04:07 | #15

    Excelent……..
    u r genious…

  16. sri
    August 2nd, 2010 at 13:14 | #16

    i cannot find the list with 8 options where would i get that ??? when i open petousb from usb_prep a console window is not opening only petousb window is opening. what shall i do…??? giv me an answer plz…

  17. HARRIS
    August 10th, 2010 at 03:42 | #17

    Thanx for wonderful solutio0n let e try this !!!!!!!!!!!!!!:)

  18. raygun
    August 21st, 2010 at 00:39 | #18

    what to do with FormatEx error[11] while formating.my disk is not formatted with your instructions…………..

  19. Reader
    August 30th, 2010 at 05:40 | #19

    gr8 it worked gr8 for me

  20. anand
    August 31st, 2010 at 16:23 | #20

    after the bootable can it wil can work like pen drive

  21. abhishek ranjan
    September 4th, 2010 at 05:08 | #21

    Best Best Best way Thanks !!!!!!!!!!!!!!Lot of Thanks

  22. jaswinder
    September 17th, 2010 at 04:38 | #22

    i am not able to boot from pen drive…1st boot from pen drive option is showing in bios but failed to boot from it..plz help

  23. Rohit
    September 18th, 2010 at 03:44 | #23

    how to install windows xp to pen drive

  24. Zajc3w
    September 24th, 2010 at 20:10 | #24

    Another not working “solution” always says that my USB is not valid and after booting from it i get message about missing hal.sys :(

  25. Zajc3w
    September 24th, 2010 at 20:22 | #25

    Another not working “solution” always says that my USB is not valid and after booting from it i get message about missing hal.sys :(

    Now it’s fine. I ha ve to change name of setupldr.bin to ntldr :D

  26. Ashish
    September 30th, 2010 at 04:49 | #26

    Hey everybody plzz don’t forget to do this…
    after 15th step..

    “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.”

    I selected NO & it didn’t work..
    So,plz dont do this mistake like me..
    ;-)

  27. Ashish
    September 30th, 2010 at 05:26 | #27

    I have done all the above steps…
    I changed 1st boot device to usb..
    but it cant find boot files from USB and starts pc from hard Disk…
    Can any1 help me???

  28. sarvesh
    October 1st, 2010 at 05:51 | #28

    Hi….
    I was able to create the bootable SD memory disc for Windows XP, for my ACER ASPIRE. It started XP installation. It showed 2 options in the boot menu. I selected boot from usb . At the end when it reaches the window where it didnt show the computer hard disc drives. Instead only the SD memory disc(4GB)was shown there. That means if I proceed, it will install the OS in the SD card.bt still that was not working.Could you please tell me which settings did I miss, to be able to see the computer hard disc there?

  29. shekhar
    October 6th, 2010 at 02:16 | #29

    thnx …………….excellent wrk dudes…………….

  30. Shadab Ahmad
    October 14th, 2010 at 02:18 | #30

    It is really nice. I am creating one for me. I had one for linux, but having XP Installation Flash Drive will be very helpful in my profession. Thanks a lot.

    Br,

  31. noble
    October 27th, 2010 at 16:08 | #31

    i truly am grateful to you.great job with explaining everything.you should try teaching.thx again.

  32. YOUNIS
    November 1st, 2010 at 09:02 | #32

    PULIN :
    I don’t get it hw to do.

    @PULIN

  33. navraj
    November 3rd, 2010 at 01:31 | #33

    thx a lot.

  34. November 16th, 2010 at 21:55 | #34

    Handy trick. This techinque serve as alternative to using CD as well. From my own experience, my DVD/RW is runing at 4x (its turtle speed at this age), I’ll rather do installation from USB which can run double that speed.

    Thanks a bunch.

  35. BIKI GHOSH
    November 22nd, 2010 at 22:19 | #35

    Supperb dude.. it worked!!!!!!!! :D

  36. MANOJ KUMAR
    November 30th, 2010 at 16:52 | #36

    I AM CONFUSED, BECAUSE I AM NOT UNDERSTAND WINDOW XP TO BOOT TO PEN DRIVE
    I AM NOT UNDERSTAND THIS POINT PLZ HELP ME
    I WANT TO WINDOW XP INSTALL USE PEN DRIVE

  37. Sourabh jajoo
    December 7th, 2010 at 11:23 | #37

    this is g8, i use this, it’s working perfectly.

  38. Abdul
    December 14th, 2010 at 18:51 | #38

    I hav gone until the step 11. and at the 12th step hav the prblem. I hav a copy of Winxp SP in my hard disk. I hav extracted iso file and i hav many folders of the xp. I am unable to select the windows soure code. which folder I need to selcet here. plz advise.

    Thanks in advance,
    Abdul

  39. December 15th, 2010 at 10:34 | #39

    first mount ISO image using powerISO or nero and then select that virtual drive

  40. Shameer
    December 16th, 2010 at 19:07 | #40

    This tutorial was very useful.
    My 3hr long search ended here.
    Thanks a lot
    kudos to you !!

  41. Sijith
    December 17th, 2010 at 01:09 | #41

    Great Job..

  42. December 18th, 2010 at 13:51 | #42

    Thank you sir, you are genious…

  43. December 23rd, 2010 at 11:37 | #43

    Worked like a charm. I was not able to use GUI one, but still the seconf option (text mode) worked..

    Thanks

  44. December 23rd, 2010 at 11:40 | #44

    Anyways, I was getting this error “FormatEx Error[11]: An Error Occurred Formating the Drive” while formatting the drive using PeToUSB.. So, I formatted using win7 default utility itself.. No issues. Everything went fine.
    May be this happened because I was trying to format a 16GB pendrive which the software doesnt support.

  45. harsh
    January 5th, 2011 at 12:23 | #45

    I have done all the above steps…
    I changed 1st boot device to usb..
    but it cant find boot files from USB and starts pc from hard Disk…
    Can any1 help me???

  46. Chinmoy Mitra
    January 22nd, 2011 at 17:12 | #46

    @harsh
    Does your computer actually allow booting from USB? USB FDD option does not work, I think USB ZIP drive or Flash option should work.

  47. pankaj
    January 26th, 2011 at 09:08 | #47

    i am using new hdd install to pen drive winxp and hdd to drive is first drive is e and 2nd drive f the my froblem is pen drive is c

  48. vinod
    January 26th, 2011 at 15:53 | #48

    wonderful man….. excellent job…. solved my long back problem… thanks

  49. Bharat
    January 28th, 2011 at 13:54 | #49

    yes, this is wonderful. it is realy work. i was not able to use GUI but second TEXT was worked.

  50. dennis
    February 3rd, 2011 at 08:05 | #50

    thanks the guide through in this regard, i did as you said and everything worked out till the creating the bootable usb stick. but the problem is in the set up…after system configuration, this message shows up:

    File \$win_nt$. ~BT\biosinfo.inf could not be loaded. the error code is 18. set up cannot continue. press any key to exit.

    why is this coming and how do i solve this issue. kindly help me out

  51. February 6th, 2011 at 20:09 | #51

    Thank you dude .its good job.
    But after install with this procedure giving error while install msoffice 2007.(windows install service not updating error)need to do that manually .That problem also has resolved.

    Any way thanks

  52. mathiyalagan.s
    February 8th, 2011 at 23:12 | #52

    Hello Sunny Sir, Iam mathi from chennai.

    I was able to create the bootable Sony pen drive for Windows XP, for my HP 530. It started XP installation. It showed 2 options in the boot menu. I selected boot from usb . At the end when it reaches the window where it didnt show the computer hard disc drives. Instead only the Sony pen drive 4GB)was shown there. That means if I proceed, it will install the OS in the pen drive.bt still that was not working.Could you please tell me which settings did I miss, to be able to see the computer hard disc there?

  53. February 19th, 2011 at 11:37 | #53

    Best solution on net. You are a life saver bro

  54. Sohaib
    March 3rd, 2011 at 20:04 | #54

    I tried out your software but couldnt get my usb disk in the list..
    any suggestions
    Im referring to step 4

  55. Abhash
    March 8th, 2011 at 20:03 | #55

    It doesn’t formats the pendrive…

  56. vishal
    March 9th, 2011 at 23:23 | #56

    thank’s dud i like ur blog’s!!!!!!

  57. ijkanon
    March 10th, 2011 at 15:15 | #57

    op: 12: Select one and find the drive with your Windows installation disc.

    I cant do that

  58. ijkanon
    March 10th, 2011 at 15:24 | #58

    Enter your choice: 1

    Please give the location to your Windows XP Setup Source Files

    Error: The path Input Error: There is no script engine for file extension “.vbs
    “. does not contain Windows XP Source Files

    Press any key to continue . . .

    why???????????

  59. March 17th, 2011 at 22:20 | #59

    I dosent Install Prepairly the os

  60. Zaf Tech Solutions
    March 18th, 2011 at 15:26 | #60

    Verry good site i have solve my problems for this site

  61. NIKHIL
    March 20th, 2011 at 12:46 | #61

    NOT UNDERSTANDING HOW TO MAKE PEN DRIVE BOOTABLE

  62. ashvin
    March 22nd, 2011 at 14:44 | #62

    its very good

  63. WASEEM
    March 28th, 2011 at 15:50 | #63

    Did Each and every step as Described above still when i boot hp mini with USB it displays follwing error message “Disk Error” Press any key to re-start!!!! Mr Sunny should reply to the queries here else this is time wasting.

  64. Rajeev Sharma
    March 29th, 2011 at 14:28 | #64

    its very apt which you have provided such blog on net. Thanks dear

  65. prashant
    April 6th, 2011 at 11:54 | #65

    do not run dos fill do’t format my pc in pen drive

  66. prashant
    April 6th, 2011 at 11:55 | #66

    how to make bootable my pen drive

  67. suchit
    April 11th, 2011 at 21:58 | #67

    must Hai Boos

  68. krishnan
    April 12th, 2011 at 11:37 | #68

    thank u sir its really helpful for me

  69. krishnan
    April 12th, 2011 at 11:57 | #69

    i am work done all step correctly but its not booting what step i did wrong please tell me

  70. krishnan
    April 12th, 2011 at 19:13 | #70

    how to install windows xp in external hard drive

  71. smithil
    April 18th, 2011 at 15:02 | #71

    hello Boss, i have done what ever you wrote your artical but after rebooting from usb it’s getting error:
    File \$win_NT~BT\BIOSINFO.INF counld not not be loaded .
    The error code is 14.
    what could be problem.

  1. No trackbacks yet.