You are on page 1of 8

How to Install Windows xp using USB Flash Disk

http://www.jcmiras.net/surge/p96.htm
You will badly need this if your computer has no CD-ROM drive, especially for
ASUS EEE-PC and Red fox Wizbook 800.
What you need:
- USB thumb drive with at least 1 GB of capacity. High speed is not necessary
but preferred.
- usb_prep8 (http://www.jcmiras.net/surge/wpcontent/downloads/usb_prep8.zip) and
- bootsect (http://www.jcmiras.net/surge/wp-content/downloads/bootsect.zip)
- a personal computer or laptop with Windows Xp or Vista installed and with
CD-ROM. (so, you have now two computers one with xp/vista installed and
one with NO CD-ROM)
- An installation CD of Windows XP or Vista.

Procedure (for copying XP to USB and configuring USB for


installing XP)

1. extract usb_prep8 and bootsect.


2. Double click usb_prep8.cmd In usb_prep8 folder. A command prompt will
open.
3. Press any key to continue. A PeToUSB window will open;

4. Dont change anything in the PeToUSB window, just click Start.


Formatting of your USB will then start. It will only take a few seconds.
5. DO NOT close the two windows (PetoUSB and usb_prep8).
Now open a new command prompt by typing cmd in the Start->Run box.
In this NEW command prompt, go to the directory where bootsect.exe is saved.
Now type bootsect.exe /nt52 R:.
(for win 7 see at the end changes needed to the above command and
bootsect)
Change R with the letter drive directory of your USB drive. NOTE: When
running the bootsect.exe command you cannot have any windows open
displaying the content of your USB stick. If all went well you should see
Bootcode was successfully updated on all targeted volumes. Now close this
command prompt (Still, Do not close usb_prep8).
6. Now close PeToUSB window. You should see the usb_prep8 command like
this;

7. Now you need to enter the correct information for numbers 1-3.
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 it)
Press 2 and enter a letter NOT currently assigned to a drive on your PC, say
T
Press 3 and enter the drive letter of your USB stick
Press 4 to start the process.
8. 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.
9. Once its done formatting, press enter to continue again, you will now see
the program copying Windows XP files from your CD to the temp drive it
created. This will take around 3-5 minutes. Once this is done press enter to
continue again.
10. Next you will see a box pop up asking you to copy the files from temp drive

to USB drive. Of course, click Yes. This will take around 15 minutes,
depending on the speed of your USB. In my case, it took around 30 Minutes.
11. Once the program 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
12. Youre done with this part. Now select yes to unmount the virtual drive.

Procedure 2 (Installing XP into your PC without CD-ROM


using USB thumb drive)
1. Insert your USB then start your PC, then go to BIOS set-up. Set USB as your
primary boot device. For EEE PC, if it did not boot on the USB after doing this,
there is an option in the BIOS where you can change the primary and
secondary memory, set USB as the primary. When doing this, I also changed
the OS installation from finished to start just to make sure that the
installation will work.
2. On the startup menu you have two options, select option number for text
mode setup.
3. From this point on, it is just like any other windows XP installation. When
prompt, delete all the partition, including the one with labeled BIOS for EEEPC. Recreate the primary partition on your EEE pc and format it using NTFS.
(NOTE! If you dont see your computres HD to the list disable AHCI SATA mode
in bios and set it to IDE)
4. Once the text mode portion of setup is complete, the computer will reboot.
This time, boot into the GUI mode.
5. Once the GUI portion of setup is complete you will again have to boot into
GUI mode to complete the XP installation until you end up at your 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.
That is all, I didnt encounter a problem during my installation of XP for my
Asus EEE-PC 4G. Just strictly follow the procedures discussed above.
All of these were derived from http://www.eeeguides.com/2007/11/installingwindows-xp-from-usb-thumb.html

WIN7 SETUP
A. MANUALLY
How to Build a Bootable USB Drive? or How to Install an Operating System from
a USB Device?
http://blogs.technet.com/b/chenley/archive/2011/10/06/how-to-build-abootable-usb-drive-or-how-to-install-an-operating-system-from-a-usbdevice.aspx
First, and this is a really, really, really, big thing. There is more than one way to
accomplish this task. You can do the whole process manually, (Which I will
demonstrate and document in a moment.) or you can download a tool and
automate the whole process and have the benefit of using .ISO images. The
automated process does not warrant a blog post. Download the Windows 7
USB/DVD download tool follow the 4 step process and you are in business (at
least with windows7, I have not honestly tested the tool to see if you can install
other OSs.)
The manual process for building a USB drive to be used for operating system
installations is as follows.
1. Get a USB Drive of sufficient size to contain the OS installation files you
desire to install. (If you were going to install Windows 7 this drive woul dneed
to be at least 4 GB in size)
2. Make sure the drive is completely empty of its contents. (There should be
absolutely nothing on it, if there is and you want to keep this stuff you need to
move it elsewhere now.)
3. Plug your USB drive into a USB slot on your computer.
4. Make certain the drive is recognized, make a note of the drive letter. Mine
happens to be E:\
5. Go to the start menu and USING ADMINISTRATOR CREDENTIALS open a
command prompt. I right clicked on command prompt and chose to Run As
Administrator.
6. Once your command prompt is open you are going to run a series of
commands using the DiskPart utility.
Type DISKPART and hit Enter
The output form disk part will look like the image

7. Once
DiskPart is open you need to decide which Disk is your USB drive. By default
your internal hard disk was assigned the first ordinal disk number which is 0. if
you have any additional internal disks they will be assigned then ext ordinal
numbers 1, 2 etc. In my system and probably yours too I only have one
internal disk and so Im pretty confident that my USB drive is going to be
assigned DIsk1. however we need to be certain so we type the following
command.
Type LIST DISK and hit Enter

As you
can see the output of the List Disk command shows each of the assigned disks.
In this case you can see my internal hard disk and the USB disk. Make sure you
verify the label of the disk with the size of your USB drive. In my case the USB
disk is in fact DISK 1.
8. Now that we have DiskPart running and we have identified the USB disk we
are going to run a series of commands. Each command is entered and run until
it is completed before executing the next command. For simplicity sake I will
document each command in order of operation and then show the output of
the commands in a single image.
Type Select Disk 1 and then hit Enter
Type Clean and then hit Enter

Type
Type
Type
Type

Create Partition Primary and then hit Enter


Select Partition 1 and then hit Enter
Active and then hit Enter
Format FS=NTFS and then hit Enter

Type Assign and then hit Enter


Type EXIT and then hit Enter

9.
Keep the command prompt open because we arent finished quite yet. While
we have the drive prepped we dont actually have anything on it to install. At
this point you need to put the DVD of whatever it is you want to install into
your DVD drive. I am going to assume you are installing a windows operating
system. If that is the case you will go back to you command prompt and
change to the DVD drive to a directory called BOOT on the DVD.

Type D: cd boot and then hit Enter


Type Bootsect.exe /nt60 E: and then hit Enter

10. Now your USB drive is ready for action. Just one last step. Using Windows
Explorer go to the DVD and copy ALL of the files to the USB drive.

In my case the file copy took about 23 minutes give or take a few. Once the file
copy is complete you have a USB drive that is ready to install operating
systems.
At this point you must be certain that the BIOS on the device that you are going
to be installing to has been configured to boot from the usb device. I put it first
in the boot order. Other than that one small change to the hardware you are
ready to go. Happy installing!
Category Filed in: Personal Computers and Laptops, Windows XP

Local date: August, 2015

You might also like