Install XP On Pendrive
Install XP On Pendrive
News
Software
Articles / Guides
Forums
Links
Blog
...back
Category: Advert
iseme
nt
How to install and run a FULL Windows XP from a USB
drive 12 Apr 2008
Credits
...must go to the people that made this guide possible in the
first place. In recent months, a few blokes going by the
handles of mkiaer, Dietmar and sisal and a few others from
the 911.net forums came up with many good pieces of
research on how to enable any NT-based Windows to boot
from a USB-drive. Little of this guide would exist without
them - in fact the only reason why i write this up is that my
particular solution seems to be lower effort than any of the
steps i saw before. Many of the steps here are the result of
their research.
Version History:
v1.0 - 3rd Mar 2006
rewritten, tested and working against two different
drives with my laptop.
v0.9 - 29th Feb 2006
initial version, untested
What works?
Basically, everything as far as i can see. After completing this
tutorial, your Windows XP install should directly boot off
your USB-drive, and be fully upgradable, DirectX games will
run, all apps i tested work like normal, speed is the same as
with a real HDD (you need USB2 though) - so it is in fact a
fine solution as far as i can see.
Host Hardware USB hardware
Dell Latitude D820 WD Pocket Drive 80gb
DFI Infinity Ultra 2 Dane Elec 4GB USB Stick
Asus M2A-VM HDMI Adata PD2 4GB Stick
HP Compaq 6510b WD 2908A
Compaq nc6400 WD2500BEV
Compaq nc6400 Trekstore i.Beat 2GB
Compaq nc6400 Hitachi DK23EA-30
Compaq nc6220 TrackStore DataStation XU
HP Pavillion dv6700t InfoSafe USB with Toshiba SATA 250GB
Compaq nc6120 Lacie 80gb
Asus P5LD2-VM Vantec IDE to USB cable + Maxtor 60gb PATA
Thinkpad T42 WD HDD Passport 2
Acer Aspire 5600 Ipod 20g Photo
Thinkpad T43 Generic 80gb USb2 case
HP Pavillion dv1000 Generic USB2 HDD
Thinkpad R61 Generic USB2 / Seagate 120 GB
Dell Latitude D620 PQI i221 USB stick
Fujitsu Lifebook E8410C Shintaro USB2 + 80GB Samsung
Dell Inspiron 6400 generic USB2 enclosure
Intel 945 GNT Kingston 4GB SDHC with USB adapter
HP nx6110 Sandisk Cruze 8gb
HP nx6110 OneTouch4 Mini
Dell Latitude D620 Seagate FreeAgent 500GB
Acer Aspire 5710G Adata 4GB stick
...and LOTS more...
Disclaimer
This is a hobby project of mine. I will not assume ANY
responsibility for the correctness of this guide, nor can I be
made liable for any errors, hardware or software problems /
loss that are caused by following this guide. Basically, if
things screw up, its your own fault. Do not follow the guide if
you fear data loss.
Requirements
An existing Windows install for carrying out the steps
in this tutorial
A USB2-compliant Hard disk drive (or a big USB2
stick, see remarks below)
An original Windows XP CD (tested only against SP1
so far, but reported to work on other versions)
A registered version of WinISO (or any other software
that allows direct editing of ISO files)
The Microsoft CAB SDK
A CD-burning software that can handle ISO files. I
like the free burnatonce
How To:
Summary:
Pretty easy one. Simply open WinISO, and select Actions ->
Make ISO from CDROM, and save your CD image.
TXTSETUP.SIF
DOSNET.INF
USB.IN_
USBPORT.IN_
USBSTOR.IN_
Select Actions -> Extract and put the resulting files into some
folder to work on them.
usb.inf
usbport.inf
usbstor.inf
6-A) TXTSETUP.SIF
This file is loaded on the initial install step by the Windows
XP CD installer. In this file, we will change the way Windows
treats USB devices during system setup -- the default is to
only treat them as input devices during installation -- we will
change this to include mass storage driver support (which
needs to be loaded into the installer much earlier in order to
work).
[BootBusExtenders.Load]
pci = pci.sys
acpi = acpi.sys
isapnp = isapnp.sys
acpiec = acpiec.sys
ohci1394 = ohci1394.sys
usbehci = usbehci.sys
usbohci = usbohci.sys
usbuhci = usbuhci.sys
usbhub = usbhub.sys
usbstor = usbstor.sys
[InputDevicesSupport.Load]
usbehci = usbehci.sys
usbohci = usbohci.sys
usbuhci = usbuhci.sys
usbhub = usbhub.sys
usbccgp = usbccgp.sys
hidusb = hidusb.sys
serial = serial.sys
serenum = serenum.sys
usbstor = usbstor.sys
[BootBusExtenders]
pci = "PCI-Bustreiber",files.pci,pci
acpi = "ACPI Plug & Play-Bustreiber",files.acpi,acpi
isapnp = "ISA Plug & Play-Bustreiber",files.isapnp,isapnp
acpiec = "Integrierter ACPI-
Controllertreiber",files.none,acpiec
ohci1394 = "IEEE-1394-Bus-OHCI-konformer
Anschlusstreiber",files.ohci1394,ohci1394
usbehci = "Erweiterter
Hostcontroller",files.usbehci,usbehci
usbohci = "Open Hostcontroller",files.usbohci,usbohci
usbuhci = "Universeller
Hostcontroller",files.usbuhci,usbuhci
usbhub = "Standard-USB-
Hubtreiber",files.usbhub,usbhub
usbstor = "USB-
Speicherklassentreiber",files.usbstor,usbstor
[InputDevicesSupport]
usbehci = "Erweiterter
Hostcontroller",files.usbehci,usbehci
usbohci = "Open Hostcontroller",files.usbohci,usbohci
usbuhci = "Universeller
Hostcontroller",files.usbuhci,usbuhci
usbhub = "Standard-USB-
Hubtreiber",files.usbhub,usbhub
hidusb = "HID-Parser",files.hidusb,hidusb
serial = "Treiber f�r seriellen Anschluss",files.none,serial
serenum = "Enumerator f�r seriellen
Anschluss",files.none,serenum
usbstor = "USB-
Speicherklassentreiber",files.usbstor,usbstor
usbccgp = "USB Generic Parent
Driver",files.usbccgp,usbccgp
[HiveInfs.Fresh]
AddReg = hivedef.inf,AddReg
AddReg = hivesys.inf,AddReg
AddReg = hivesft.inf,AddReg
AddReg = hivecls.inf,AddReg
AddReg = hiveusd.inf,AddReg
AddReg = dmreg.inf,DM.AddReg
AddReg = usbboot.inf,usbservices
[SourceDisksFiles]
usbboot.inf = 1,,,,,,_x,3,,3
bootvid.dll = 1,,,,,,3_,2,0,0,,1,2
kdcom.dll = 1,,,,,,3_,2,0,0,,1,2
6-B) DOSNET.INF
[Files]
d1,usbboot.inf
d1,_default.pif
d1,12520437.cpx
d1,12520850.cpx
....
6-C) usb.inf
[StandardHub.AddService]
DisplayName = %StandardHub.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender
[CommonClassParent.AddService]
DisplayName = %GenericParent.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbccgp.sys
LoadOrderGroup = Boot Bus Extender
6-D) usbport.inf
[EHCI.AddService]
DisplayName = %EHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbehci.sys
LoadOrderGroup = Boot Bus Extender
[OHCI.AddService]
DisplayName = %OHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbohci.sys
LoadOrderGroup = Boot Bus Extender
[UHCI.AddService]
DisplayName = %UHCIMP.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbuhci.sys
LoadOrderGroup = Boot Bus Extender
[ROOTHUB.AddService]
DisplayName = %ROOTHUB.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbhub.sys
LoadOrderGroup = Boot Bus Extender
6-E) usbstor.inf
[USBSTOR.AddService]
DisplayName = %USBSTOR.SvcDesc%
ServiceType = 1
StartType = 0
Tag = 3
ErrorControl = 1
ServiceBinary = %12%\USBSTOR.SYS
LoadOrderGroup = Boot Bus Extender
[usbservices]
HKLM,"SYSTEM\CurrentControlSet\Services\
USBSTOR","DisplayName",0x00000000,"USB Mass Storage
Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\
USBSTOR","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
USBSTOR","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\
USBSTOR","ImagePath",0x00020000,"system32\DRIVERS\
USBSTOR.SYS"
HKLM,"SYSTEM\CurrentControlSet\Services\
USBSTOR","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\
USBSTOR","Type",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbehci","DisplayName",0x00000000,"USB 2.0 Enhanced
Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbehci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbehci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbehci","ImagePath",0x00020000,"system32\DRIVERS\
usbehci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbehci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\
usbehci","Type",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbhub","DisplayName",0x00000000,"USB2 Enabled Hub"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbhub","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbhub","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbhub","ImagePath",0x00020000,"system32\DRIVERS\
usbhub.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbhub","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\
usbhub","Type",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbuhci","DisplayName",0x00000000,"Microsoft USB
Universal Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbuhci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbuhci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbuhci","ImagePath",0x00020000,"system32\DRIVERS\
usbuhci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbuhci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\
usbuhci","Type",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbohci","DisplayName",0x00000000,"Microsoft USB Open
Host Controller Miniport Driver"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbohci","ErrorControl",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\
usbohci","Group",0x00000000,"System Reserved"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbohci","ImagePath",0x00020000,"system32\DRIVERS\
usbohci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\
usbohci","Start",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\
usbohci","Type",0x00010001,1
DOSNET.INF
TXTSETUP.SIF
USB.IN_
USBPORT.IN_
USBSTOR.IN_
Just to be sure all is updated in the ISO, cloase and repoen the
ISO in WinISO. Now, again go to the I386 folder and select
"Add Files". Now add your changed files, in detail:
USBBOOT.INF
DOSNET.INF
TXTSETUP.SIF
USB.IN_
USBPORT.IN_
USBSTOR.IN_
Feel free to use any burning package you want. I used the free
and simple Burnatonce
Emanuel Schleussinger
http://www.ngine.de
(Tags: windows )
Great Article
by Jason on 30
Apr 2008
Worke
d on
the
followi
ng:
Dimm
ension
3100
Inspiro
n 9300
Neede
d to
get XP
drivers
found
on the
DELL
forum
s for
the
followi
ng:
Inspiro
n 1721
Inspiro
n 1521
Used
Sandis
k
Micro4
GB
Cruzer
Don't work
using Win XP
Pro SP2
by Joe on 30
Apr 2008
Hi,
First
my
compu
ter
can
boot
from
USB. I
try
with
DOS
and all
work
good.
Now I
try all
what
you
say
and
it's
work
until
the
compu
ter
restart
. Then
my
syste
m
Boot
again
from
CD
(and
so
want
install
Windo
ws
again).
And I
select
in my
BIOS
in
Boot
seque
nce: 1-
USB
(Kings
ton
DataTr
aveler
4GB)
2-
CDRO
MI
don't
unders
tand
why
my
syste
m
don't
boot
from
USB
after
that.
thanks
by zaga on 30
Apr 2008
It
works
with
xp
home
sp2
and
sp3 on
ASUS
EeePC,
USB
hard
disk.