GeekPolice Tech TutorialsLog in

 

How to Install Windows From a Flash Drive

Share

20091216
How to Install Windows From a Flash Drive

The first thing you need to do is download the three files below and save them on your desktop.

PeToUSB.zip

USBprep.zip

BOOTsect.zip





Once you have these downloaded, extract PeToUSB.zip and USBprep.zip separately. Then, copy everything from the PeToUSB folder to the USBprep folder. Now, copy the USBprep folder and place it in C:\

Also, extract BOOTsect.zip and put these files directly in the C:\ directory as well.

Next, you need to put your Windows CD in your optical drive and copy all of the contents from it over to a folder in the C:\ directory. I named mine "XP" so it would be easier to recall later.





Navigate to the USBprep folder in C:\ and double click the usb_prep8.cmd file (yours may or may not have the .cmd extension based on the Windows settings you are using. You can enable file extensions by clicking Tools, Folder Options, View tab, then unticking "Hide extensions for known file types" in the Advanced Settings list).


Clicking usb_prep8.cmd opens up the black and white command screen you see above. Follow the directions on-screen by clicking any button and you will be greeted with another window, PeToUSB. If you have your flash drive plugged in, the program should detect it and list it under the destination drive.


Click "Start" in the PeToUSB window, select "Yes" to continue then again click "Yes" when it asks if you are sure you want to repartition and format the disk. Once complete, click "Ok".




Leave all of these windows open and go to "Start", then "Run" and type in "cmd" to bring up the console window.

Type "cd c:\", without the quotes and press Enter.


Now type "bootsect /nt52 M:", without the quotes. In this example, "M" represents the letter of my flash drive. Yours will likely be different so be sure to check beforehand (it should be listed beside your device name in PeToUSB - if not there, simply double click My Computer on your desktop and locate the drive letter there.) then press Enter.


The command window will inform you that Bootcode was successfully updated on all target volumes.






Now, close out of the current command window and also close PeToUSB. Doing this will bring up a new set of options in the original command window, as seen above.


Press "1" then Enter and you will be asked to browse to the folder that you copied Windows to. Select the folder then click "OK".



Click back on the command window and press "2" then Enter. You will be asked to enter a drive letter that is not already taken. You may want to check in My Computer to be sure you select a letter that isn't already being used. In the screenshot above, I selected "O". Press Enter after selecting your drive letter of choice.


Press "3" then Enter and you will be asked for the drive letter of your flash drive. This is the same letter that you used earlier in bootsect. For me, that letter is "M". Input the letter and press Enter.




Finally, press "4" then Enter. You will be asked if you want to proceed with the format. Type "Y" then press Enter.


The system will pause a moment while the format takes place. Then you will be asked to press any key to continue... do so. This starts the first phase of the process which will take a few minutes.



Once again, you will be prompted to press any key to continue... do so. Another dialog box will pop up, asking you if you want to start the file copy. Click "Yes". The command window will again activate and start copying files to the flash drive which will take a few minutes.




After a bit, you will be asked if you would like USB-stick to be Preferred Boot Drive. Click "Yes".


Finally, a dialog box asks if you would like to unmount the Virtual Drive. Click "Yes".


That's it, you are done! You can close the command window and any other relevant windows that may still be open.


But, we are not done. Now comes time to install XP, which as you will find out, is a bit of a different process when using a flash drive. Continue ahead as we walk through this procedure.



Installing XP

Once you have your flash drive loaded with XP, it's time to install it. As mentioned earlier, you need to be sure that your computer supports booting from a USB drive.




Plug in the flash drive then turn on the computer and go into the BIOS (usually by pressing the Delete key at the POST screen). In the BIOS, you will need to set the flash drive as the first boot device, usually called something like "USB Hard Drive". Save and exit to reboot the system.




You will be greeted with the screen you see above which gives you two options: TXT mode or GUI mode. Select TXT mode for now.




Setup will load as normal, but there is one catch that you need to be aware of here. If you are formatting your hard drive and creating a new partition, you will need to turn off the computer immediately after the partition has been formatted (before Windows starts copying files over). Turn the system back on, boot back into TXT mode then direct Windows to leave the current file system intact. This is done because the flash drive can't copy to the new partition unless the computer is restarted and the flash drive is allowed to recognize the new partition. Strange, yes, but that's just how it works. If you aren't creating a new partition, then just carry on as usual.




Once all of the setup files are loaded, the computer will reboot. This time, select GUI mode and continue your installation as you normally would with a CD. It is important that you don't remove the flash drive until you are totally finished with the installation or you may corrupt the install and have to start over again.




This guide should allow you to quickly and easily install Windows XP on a computer without an optical drive such as a netbook. You can, however, use this method on any computer to speed up the installation process, as it is much faster to install from a flash drive versus an optical drive.

Source:http://www.ocia.net/articles/xpflashdrive/page1.shtml
remove_circleSimilar topics

Comments

avatar
Hi,

I have following problem:
When it goes to file copy I get:
Creating LocalSource on Temporary Drive, may take a while ( a few minutes )

Press any key to continue . . .
Parse DOSNET.INF for making Windows XP Setup Bootfolder $WIN_NT$.~BT

The system cannot find the file specified.
File not found - ntdetect.co*
0 File(s) copied
File not found - ntkrnlmp.ex*
0 File(s) copied
File not found - setupldr.bi*
0 File(s) copied
File not found - txtsetup.si*
0 File(s) copied
File not found - biosinfo.in*
0 File(s) copied
The system cannot find the file specified.
File not found - hal.dl*
0 File(s) copied
File not found - halacpi.dl*
0 File(s) copied
File not found - halapic.dl*
0 File(s) copied
File not found - halaacpi.dl*
0 File(s) copied
File not found - drvmain.sd*
0 File(s) copied
File not found - setupreg.hi*
0 File(s) copied
File not found - setupdd.sy*
0 File(s) copied
File not found - spddlang.sy*
0 File(s) copied
File not found - bootvid.dl*
0 File(s) copied
File not found - kdcom.dl*
0 File(s) copied
File not found - kd1394.dl*
0 File(s) copied
File not found - vga.sy*
0 File(s) copied
File not found - videoprt.sy*
0 File(s) copied
File not found - wmilib.sy*
0 File(s) copied
File not found - i8042prt.sy*
0 File(s) copied
File not found - kbdclass.sy*
0 File(s) copied
File not found - pci.sy*
0 File(s) copied
File not found - acpi.sy*
0 File(s) copied
File not found - isapnp.sy*
0 File(s) copied
File not found - acpiec.sy*
0 File(s) copied
File not found - oprghdlr.sy*
0 File(s) copied
File not found - ohci1394.sy*
0 File(s) copied
File not found - 1394bus.sy*
0 File(s) copied
File not found - pcmcia.sy*
0 File(s) copied
File not found - intelide.sy*
0 File(s) copied
File not found - pciide.sy*
0 File(s) copied
File not found - cmdide.sy*
0 File(s) copied
File not found - toside.sy*
0 File(s) copied
File not found - viaide.sy*
0 File(s) copied
File not found - aliide.sy*
0 File(s) copied
File not found - pciidex.sy*
0 File(s) copied
File not found - mountmgr.sy*
0 File(s) copied
File not found - ftdisk.sy*
0 File(s) copied
File not found - partmgr.sy*
0 File(s) copied
File not found - fdc.sy*
0 File(s) copied
File not found - dmload.sy*
0 File(s) copied
File not found - dmio.sy*
0 File(s) copied
File not found - sbp2port.sy*
0 File(s) copied
File not found - lbrtfdc.sy*
0 File(s) copied
File not found - hidclass.sy*
0 File(s) copied
File not found - hidparse.sy*
0 File(s) copied
File not found - usbd.sy*
0 File(s) copied
File not found - usbport.sy*
0 File(s) copied
File not found - usbehci.sy*
0 File(s) copied
File not found - usbohci.sy*
0 File(s) copied
File not found - usbuhci.sy*
0 File(s) copied
File not found - usbhub.sy*
0 File(s) copied
File not found - hidusb.sy*
0 File(s) copied
File not found - kbdhid.sy*
0 File(s) copied
File not found - serenum.sy*
0 File(s) copied
File not found - serial.sy*
0 File(s) copied
File not found - usbstor.sy*
0 File(s) copied
File not found - scsiport.sy*
0 File(s) copied
File not found - usbccgp.sy*
0 File(s) copied
The system cannot find the file specified.
File not found - cpqarray.sy*
0 File(s) copied
File not found - aha154x.sy*
0 File(s) copied
File not found - sparrow.sy*
0 File(s) copied
File not found - atapi.sy*
0 File(s) copied
File not found - symc810.sy*
0 File(s) copied
File not found - aic78xx.sy*
0 File(s) copied
File not found - dac960nt.sy*
0 File(s) copied
File not found - ql10wnt.sy*
0 File(s) copied
File not found - amsint.sy*
0 File(s) copied
File not found - asc.sy*
0 File(s) copied
File not found - asc3550.sy*
0 File(s) copied
File not found - mraid35x.sy*
0 File(s) copied
File not found - ini910u.sy*
0 File(s) copied
File not found - ql1240.sy*
0 File(s) copied
File not found - tffsport.sy*
0 File(s) copied
File not found - aic78u2.sy*
0 File(s) copied
File not found - symc8xx.sy*
0 File(s) copied
File not found - sym_hi.sy*
0 File(s) copied
File not found - sym_u3.sy*
0 File(s) copied
File not found - ql1280.sy*
0 File(s) copied
File not found - ql12160.sy*
0 File(s) copied
File not found - abp480n5.sy*
0 File(s) copied
File not found - asc3350p.sy*
0 File(s) copied
File not found - cd20xrnt.sy*
0 File(s) copied
File not found - ultra.sy*
0 File(s) copied
File not found - adpu160m.sy*
0 File(s) copied
File not found - ql1080.sy*
0 File(s) copied
File not found - i2omp.sy*
0 File(s) copied
File not found - perc2.sy*
0 File(s) copied
File not found - perc2hib.sy*
0 File(s) copied
File not found - hpn.sy*
0 File(s) copied
File not found - dpti2o.sy*
0 File(s) copied
File not found - dac2w2k.sy*
0 File(s) copied
File not found - cbidf2k.sy*
0 File(s) copied
File not found - dmboot.sy*
0 File(s) copied
File not found - nvata.sy*
0 File(s) copied
File not found - nvata.ca*
0 File(s) copied
File not found - nvata.in*
0 File(s) copied
File not found - nvcoi.dl*
0 File(s) copied
File not found - nvide.nv*
0 File(s) copied
File not found - nvuide.ex*
0 File(s) copied
File not found - SYMMPI.x8*
0 File(s) copied
File not found - NVRAID.x8*
0 File(s) copied
File not found - NVATABUS.x8*
0 File(s) copied
File not found - MEGASAS.x8*
0 File(s) copied
File not found - IASTOR.x8*
0 File(s) copied
File not found - CERCSR6.x8*
0 File(s) copied
File not found - AFAMGT.x8*
0 File(s) copied
File not found - AARICH.x8*
0 File(s) copied
File not found - AAC.x8*
0 File(s) copied
File not found - A320RAID.x8*
0 File(s) copied
File not found - symmpi.sy*
0 File(s) copied
File not found - delpseud.in*
0 File(s) copied
File not found - mpixp32.ca*
0 File(s) copied
File not found - symmpi.in*
0 File(s) copied
File not found - symmpi.ta*
0 File(s) copied
File not found - symmpi.pd*
0 File(s) copied
File not found - nvraid.sy*
0 File(s) copied
File not found - NvAtaBus.sy*
0 File(s) copied
File not found - nvraidco.dl*
0 File(s) copied
File not found - nvraid.in*
0 File(s) copied
File not found - nvraid.ca*
0 File(s) copied
File not found - idecoi.dl*
0 File(s) copied
File not found - iastor.sy*
0 File(s) copied
File not found - iastor.in*
0 File(s) copied
File not found - iastor.ca*
0 File(s) copied
File not found - iaahci.ca*
0 File(s) copied
File not found - iaahci.in*
0 File(s) copied
File not found - A320RAID.SY*
0 File(s) copied
File not found - A320RAID.IN*
0 File(s) copied
File not found - A320RAID.CA*
0 File(s) copied
File not found - A320MGT.IN*
0 File(s) copied
File not found - A320MGT.CA*
0 File(s) copied
File not found - cercsr6.sy*
0 File(s) copied
File not found - cercsr6.in*
0 File(s) copied
File not found - cercsr6.ca*
0 File(s) copied
File not found - cercmgt.in*
0 File(s) copied
File not found - cerccin.dl*
0 File(s) copied
File not found - afamgt.sy*
0 File(s) copied
File not found - aarich.sy*
0 File(s) copied
File not found - aichmgt.in*
0 File(s) copied
File not found - aichmgt.ca*
0 File(s) copied
File not found - aarich.in*
0 File(s) copied
File not found - aarich.ca*
0 File(s) copied
File not found - aac.sy*
0 File(s) copied
File not found - aacmgt.in*
0 File(s) copied
File not found - aacevt.ex*
0 File(s) copied
File not found - aaccin.dl*
0 File(s) copied
File not found - aac.in*
0 File(s) copied
File not found - aac.ca*
0 File(s) copied
File not found - megasas.ca*
0 File(s) copied
File not found - megasas.pd*
0 File(s) copied
File not found - megasas.sy*
0 File(s) copied
File not found - nodev.in*
0 File(s) copied
File not found - oemsetup.in*
0 File(s) copied
File not found - DELL_XP.CA*
0 File(s) copied
File not found - DPCHFEN.CA*
0 File(s) copied
File not found - PCVENXP.CA*
0 File(s) copied
The system cannot find the file specified.
The system cannot find the file specified.
The system cannot find the file specified.
File not found - flpydisk.sy*
0 File(s) copied
File not found - classpnp.sy*
0 File(s) copied
File not found - disk.sy*
0 File(s) copied
File not found - ramdisk.sy*
0 File(s) copied
File not found - cdrom.sy*
0 File(s) copied
File not found - sfloppy.sy*
0 File(s) copied
File not found - i2omgmt.sy*
0 File(s) copied
File not found - fastfat.sy*
0 File(s) copied
File not found - ntfs.sy*
0 File(s) copied
File not found - ksecdd.sy*
0 File(s) copied
File not found - cdfs.sy*
0 File(s) copied
File not found - spcmdcon.sy*
0 File(s) copied
File not found - c_1250.nl*
0 File(s) copied
File not found - c_852.nl*
0 File(s) copied
File not found - Bootfont.bi*
0 File(s) copied
File not found - Bootfont.bi*
0 File(s) copied
File not found - kbdpl1.dl*
0 File(s) copied
File not found - vga852.fo*
0 File(s) copied
File not found - l_intl.nl*
0 File(s) copied

Making Windows XP Setup Bootfolder T:\$WIN_NT$.~BT - READY

Copy XPSOURCE folders cmpnents and i386 to TempDrive folder $WIN_NT$.~LS

C:\xp\i386\!DELL_XP.CAB
C:\xp\i386\!DPCHFEN.CAB
C:\xp\i386\!PCVENXP.CAB
C:\xp\i386\12520437.CP_
C:\xp\i386\12520850.CP_


Can you help me?

Best regards,
Michal
avatar
this method worked 100%.........
but i was unable to install ms office 07
avatar
Great post rattakua! May I add that there is an easier approach if anybody wants to know and if this is complicated?
avatar
Rebel wrote:
Great post rattakua! May I add that there is an easier approach if anybody wants to know and if this is complicated?


Feel free to add your way of doing it here. :smile2:
avatar
Go ahead and post your guide in this topic: http://www.GeekPolice.net/tutorials-guides-f13/post-your-guides-here-for-approval-t19995.htm

And I will look over it. If it looks good, it will be approved.
avatar
Sir my computer boots successfully from it when i select it as the boot device...but when i make it the 1st boot device then the computer doesn't boot from it...please help me sir...Smile...
avatar
hiiiiii
there is a prblm occure while installing
the new pop window is not open after selecting all option from the menu which copy the xp into flash drive.

"Another dialog box will pop up, asking you if you want to start the file copy. Click "Yes". The command window will again activate and start copying files to the flash drive which will take a few minutes." it is not working
plzz give me the solution
thnksssss

Last edited by jyoti yadav on 3rd April 2010, 5:57 pm; edited 1 time in total (Reason for editing : some text missing)
avatar
can i direct copy the xp folder into flash drive?????//
avatar
i get an error ntldr missing when i boot from flash drive.!!!!
wat to do?????
avatar
After spending a lot of time trying to get this process (install Windows XP from USB Flash drive) working I found a much easier, quicker, solution. It's called WinToFlash.

http://wintoflash.com

This is an easy way to make Windows XP bootable from a USB Flash drive. (Seriously, easy!)

Optionally you can follow these nLite tutorials to remove unnecessary Windows files before installing Windows:

I just finished doing this on my Asus 1001p netbook, after removing Windows 7 Starter (which consumed over 500MB of the 1Gig of memory.)

I decided to opt for installing Windows XP via a USB Flash drive. I didn't have an external DVD drive available. After following various complicated tutorials (which never did fully work for me) I found a very simple way to take the resulting Windows install files created by nLite (or copied from your Windows install disc) and create a bootable Flash drive: WinToFlash ( http://wintoflash.com ).

With WinToFlash all you need to have is a Folder on your PC containing all the Windows install files. Then you just open WinToFlash, tell it where your Windows install files directory is, then tell it what letter your Flash drive is (i.e. J: ). It does the rest for you. SIMPLE Smile... Once it's done boot from the flash drive on your netbook (or PC you want to install this copy of Windows on).

When I first tried this I was getting bsod (blue screen of death) errors when Windows setup was starting. (The problem was not with WinToFlash) After doing some research online I decided it might be due to some corrupt files (the XP disc I copied files from was too scratched up)... so I located another disc and went through the nLite process again (was easy because it saved my previous settings)... then did the WinToFlash process again. This time Windows XP installed without a problem from my USB Flash drive! (much easier than the tutorials that wanted me to accomplish this with 3+ programs and never worked)

The best thing about this is:

- My Windows install was only 270MB (with all Asus 1001p driver integrated and non-essential windows XP stuff removed, thanks to the nLite tutorial)

- Bootup to XP is fast (less than 30 seconds)

- Memory usage is at less than 200 MB! smile even after installing a bunch of programs (disabled non-essential startup processes).

- No CD/DVD drive necessary for installation.
avatar
hi
i wanna know that after this will my pen drive will again be tured into a simple pendrive
avatar
Fantastic post ...

however with me something went wrong ...

I did everything exactly as per instructions , but when I arrived to press 4

and should been asked if want to start the formatting , what shows up is a window asking if you want to delete a tempimage or save on the top of the black window in which shows up the following

" enter your choice : 4

lets prepare a temporary virtual drive ....
closing existing virtual drives if any ....
virtual disk driver for windows version 3.1
http://chitchat.at.infoseek.co.jp/vmware/

the virtual driver is not installed
virtual disk driver for windows version 3.1
htpp://chitchat.at.infoseek.co.jp/vmware/

the virtual driver is not installed
existing virtual driver if any are closed

**** EXISTING Tempimage. img file was found ****

and shows up a samll window asking if want to delete or no the tempimage.img file ...
...

if I clic yes ...

the program closes and nothing hapen....

I´ll be very happy to have a answer for that ...

thank you

maxkover
avatar
This creates a virtual CD which will boot on almost any netbook.
The CD is perfect in every way. This will also work with any other OS (As long as your flash drive can hold it)
http://techline4teens.com/archives/102
avatar
i have follow the instruction and have make an usb bootable xp. the problem is when entering setup the laptop hardisk is not detected... only the usb storage is available.. can somebody help me..
avatar
im having 3 partition and i just want to install windows by formatting my c drive.

im confused that what i need to do means after formatting my c drive i need to restart the system or just do the normal process......!

i nt creating or deleting the partition......!
Permissions in this forum:
You cannot reply to topics in this forum