Thursday, January 24, 2008

Creating A usb stick that can install XPSP2

Here are the instructions to create USB BOOT STICK.
this came frome microsofts technet site:

http://technet2.microsoft.com/WindowsVista/en/library/08629d0b-56b0-4194-9782-88d01a488ae01033.mspx?mfr=true

The first part of the article talks about setting up files from the AIK/OPK but
i had completed this previously. I want to prep the disk first then get the
files ready.

Microsoft says to use disk part for this work but this is a bad idea im my
opinion especially on a development machine: select the wrong disk
and issue the command "clean" and its all over. The reason that
microsoft chose to use the disk part tools is that it can do things that
the Control panel cant, such as make disk fat32 instead of fat.
Since I had previously used the usb stick for now the control panel
Computer Management tools are a better choice.
Select the Disk Management tool find the removeable usb stick and
quick format the stick.

if this stick was new i would find a computer that wasnt my developement
station and run :

diskpart
select disk 1
cleancreate partition primary size=
select partition 1
active
format fs=fat32
assign
exit

note: THIS ONLY WORKS ON VISTA! XP will not see a usb stick as a DISK, hence you can't
run "select disk 1" againts a usb stick.

And again not on a box that i use for my day to day work from.


Much of this came from the following posting:
http://www.vandomburg.net/installing-windows-xp-from-usb/

I have changed the directory locations for convenience.

1. I created the directory
C:\xpsp2
and copied the the contentents of the xp cd to this directory.

2. I created and another directory
C:\winxpsp2
and extracted the net install XP service pac to this directory.
That is opened the command shell changed to the directory listed above
and ran C:\temp\WindowsXP-KB835935-SP2-ENU.exe -x
This asked if I wanted to extract the files to this location and I clicked
ok. Note I had previous downloded WindowsXP-KB835935-SP2-ENU.exe
for another project.

3. I then run C:\winxpsp2>.\i386\update\update.exe /integrate:C:\home\josburn\xpsp2
and tada what I have already has the sp2 tada!
well i put the instruction in here for completeness I may
want to do this again and have install disk with out.




0 Comments:

Post a Comment

<< Home