Tutorial how to boot from any USB


D

Dietmar

Hi all,

here comes a short tutorial for XP(E) USB boot from any medium:

1.) Set in Bios boot from USB harddisk and disable hyperthreading.

2.) The fresh XP has to be installed as first partition with NO other
harddrive or USB device together. Floppy, CD or DVD drives can stay.
Install XP on a normal harddisk, dont put Intel INF5 or so on it because
this generates new drivers which may not be compatible to USB boot.

I installed only extra network drivers and my soundcard. All the others
things can be installed later.

3.) Set pagefile on fresh XP to disabled.

4.)Then You HAVE TO plug in your USB device, from which You want to start
later.
Let it be detected from the fresh installed XP!!!

5.)Here is the copy of the extra registry entry in Services, load and
unload hive SYSTEM (of your fresh installed XP) from another working XP,
or do the changes to the fresh installed XP direct with regedit in
commandline.

Dont change other USB entries!!!


[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbehci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,62,\
65,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB 2.0 Enhanced Host Controller Miniport
Driver"
"Tag"=dword:00000012

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbhub]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,62,\
68,75,62,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="USB2 Enabled Hub"
"Tag"=dword:00000013

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\USBSTOR]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,55,53,42,\
53,54,4f,52,2e,53,59,53,00
"DisplayName"="USB Mass Storage Driver"
"Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbuhci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,62,\
75,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB Universal Host Controller Miniport Driver"
"Tag"=dword:00000011


The ImagePath is the path to your driver in HEXCODE and you dont need to
change this in your registry.



6.)In Registry, after You installed XP on harddrive, You HAVE TO delete
whole key
MountedDevices in the registry of that fresh XP.

7.)In the windows\system32\config\ of the fresh installed XP delete all
entries with
*.sav *.log *.evt This is only possible from outside (another
installed XP).

8.)Delete old ntdetect.com and set the new one from me into the fresh XP.

9.)Verify that boot.ini is like

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect


10.)Copy and past all files and folders from the fresh XP to your plugged
USB drive. Recyled (Bin) and System Volume Information copy not.


Thats all.
Good luck.
Dietmar


PS: Format your USB stick with the HP format utility hpusbfw.exe , which
gives You a FAT or FAT 32 or NTFS (I think, all those work, I took FAT)
partition and the file allocation table and sets the first partition on
the USB stick itself as aktiv.

There may be errors in the tutorial. You should have to know, what you are
doing.
I am doing my best.
 
Ad

Advertisements

G

Guest

Hi Dietmar,

Please clarify step 8.
Where is new ntdetect.com coming from?
Are you saying to replace the XP Pro version with the XP Embedded version?

Thanks,

Andrew

Dietmar said:
Hi all,

here comes a short tutorial for XP(E) USB boot from any medium:

1.) Set in Bios boot from USB harddisk and disable hyperthreading.

2.) The fresh XP has to be installed as first partition with NO other
harddrive or USB device together. Floppy, CD or DVD drives can stay.
Install XP on a normal harddisk, dont put Intel INF5 or so on it because
this generates new drivers which may not be compatible to USB boot.

I installed only extra network drivers and my soundcard. All the others
things can be installed later.

3.) Set pagefile on fresh XP to disabled.

4.)Then You HAVE TO plug in your USB device, from which You want to start
later.
Let it be detected from the fresh installed XP!!!

5.)Here is the copy of the extra registry entry in Services, load and
unload hive SYSTEM (of your fresh installed XP) from another working XP,
or do the changes to the fresh installed XP direct with regedit in
commandline.

Dont change other USB entries!!!


[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbehci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,62,\
65,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB 2.0 Enhanced Host Controller Miniport
Driver"
"Tag"=dword:00000012

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbhub]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,62,\
68,75,62,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="USB2 Enabled Hub"
"Tag"=dword:00000013

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\USBSTOR]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,55,53,42,\
53,54,4f,52,2e,53,59,53,00
"DisplayName"="USB Mass Storage Driver"
"Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbuhci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,62,\
75,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB Universal Host Controller Miniport Driver"
"Tag"=dword:00000011


The ImagePath is the path to your driver in HEXCODE and you dont need to
change this in your registry.



6.)In Registry, after You installed XP on harddrive, You HAVE TO delete
whole key
MountedDevices in the registry of that fresh XP.

7.)In the windows\system32\config\ of the fresh installed XP delete all
entries with
*.sav *.log *.evt This is only possible from outside (another
installed XP).

8.)Delete old ntdetect.com and set the new one from me into the fresh XP.

9.)Verify that boot.ini is like

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect


10.)Copy and past all files and folders from the fresh XP to your plugged
USB drive. Recyled (Bin) and System Volume Information copy not.


Thats all.
Good luck.
Dietmar


PS: Format your USB stick with the HP format utility hpusbfw.exe , which
gives You a FAT or FAT 32 or NTFS (I think, all those work, I took FAT)
partition and the file allocation table and sets the first partition on
the USB stick itself as aktiv.

There may be errors in the tutorial. You should have to know, what you are
doing.
I am doing my best.
 
D

Dietmar

Hi Andrew,
its not the normal ntdetect.com
I pasted here the whole Hextext.
If you cant rebuild it from that, send me an E-mail.

Good luck
Dietmar
 
D

Dietmar

WAAAAOOOOOO

ITWORKSITWORKSITWORKS

Hi, I succeed to boot my Siemens D1607 with AMD 3200-64 without ANY
Harddisk

to XP desktop and now I am sure, that nearly every motherboard can do USB
BOOT :lol: :lol: :lol:

There are some corrections in my Tutorial which would be quiet difficult
to describe, but you will also succeed!

This was very late in the night
but what a result!!!

Dietmar

PS: I am writing this from Computer with Siemens motherboard no harddrive
is to be seen...hhuihuhui :ph34r: USB forever :ph34r:
 
A

Andrew Roy

Hi Dietmar,

You modified or rewrote ntdetect.com? Wow, Bold!
Why paste HexText? If you want to share it, upload it to xpefiles.com.
I can see why you're so excited! What a great accomplishment for you!

Andrew Roy
 
D

Dietmar

Hi C.C. Wu,

wait a few hours, until my new tutorial, how to do USB boot with XP(E)
from nearly every motherboard, is ready.

Dietmar
 
Ad

Advertisements

D

Dietmar

Hi all

I try to explain what you have to do MORE than in my first tutorial:

Between 5.) and 6.) of first tutorial do the following:

There are 4 complete NEW more needed keys in registry which you have to
build by yourself, like ( this here is for my Western Digital 160BB USB
harddrive)



[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\usb#root_hub]
"Service"="usbhub"
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\usb#root_hub20]
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
"Service"="usbhub"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\USB#Vid_1058&Pid_0300]
"Service"="usbstor"
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\USBSTOR#DiskWDC_____WD1600BB-00FTA0_15.0]
"ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}"
"Service"="disk"

The first and the second COMPLETE key here have to be written AS THEY ARE
with NO modification to registry of your fresh XP (use copy and paste).

The third and the fourth key is the special Vid_Pid_ name of your USB
device and the hardwareID of your USB device.


Service and ClassGUID write ALWAYS AS THEY ARE HERE to registry of fresh
XP.


The Vid_Pid_ name (in the third entry) of your USB device can be found in
ControlSet001\Enum\USB ,
if you have let detected the fresh XP YOUR USB device .

Syntax:

Vid_abcdPid_efgh where abcd and efgh are 4 numbers for your USB device.
The rest of that key has do be exactly the same as mine.

The hardwareID can be found in ControlSet001\Enum\USBSTOR after if you
have let the fresh XP your USB device detected.

It is the first entry in the key HardwareID but you have to change \
against # .
The HardwareID is build as USBSTOR#Diskv(8)p(16)r(4) where for v(8) you
have to put
8 digits (for me WDC_____ ) as the vendor of
device
16 digits (for me WD1600BB-00FTA0_ ) for device and
4 digits (for me 15.0 ) for versions
number.


The complete keys 1-4 needs only to be set up ONE TIME to registry.

If you wish to put your fresh XP to another USB device, you need NO MORE
new entry for that new device! Only let it be detected from your fresh XP
on harddisk.

After that you must do the following in registry of fresh XP:

1.) Delete complete key HKLM\SYSTEM\MountedDevices.

2.) Delete HKLM\SYSTEM\Setup SystemPartition (complete key
SystemPartition) .

3.) Go to HKLM\SYSTEM\Services\USBSTOR . Set start=3 back to start=0
This happens during the detecting of new USB devices and will lead
to crash
07B, if is not corrected. Then, rightclick on USBSTOR permissions,
deny for
System. Now, no more USB device can be detected but in other case
with
every new USB device, start is set back to 3 and give you the next
time 07B.


Copy and paste the files of the fresh XP from another XP or BartPE to your
USB device.
Look, whether the first partition there ist set ACTIV and has a
PARTITIONTABLE! B)

Fat, or Fat32 or NTFS doesnt matter.

Best for testing is for the first time a USB harddisk. SAVE your registry
SYSTEM hive from the fresh installed XP as oft as you can, because you may
need it later if something went wrong.

Good luck B)

Dietmar
 
C

C.C. Wu

Hi Dietmar,

A. You said "3.) Set pagefile on fresh XP to disabled.". I don't understand
it. Could you describe more detail?

B. I have got NTDETECT.COM and changed in into HEX code. I didn't modified
it because I don't know what is needed to be modified. When I used it to
boot my embedded XP,
I got a dark screen. This screen showed up before a scroll bar on the botton
screen. Do you know what's going on? Can you tell me what I need to modify
NTEDTECT.COM?


Thanks

Try and Failure...........
C.C. Wu




Dietmar said:
Hi all,

here comes a short tutorial for XP(E) USB boot from any medium:

1.) Set in Bios boot from USB harddisk and disable hyperthreading.

2.) The fresh XP has to be installed as first partition with NO other
harddrive or USB device together. Floppy, CD or DVD drives can stay.
Install XP on a normal harddisk, dont put Intel INF5 or so on it because
this generates new drivers which may not be compatible to USB boot.

I installed only extra network drivers and my soundcard. All the others
things can be installed later.

3.) Set pagefile on fresh XP to disabled.

4.)Then You HAVE TO plug in your USB device, from which You want to start
later.
Let it be detected from the fresh installed XP!!!

5.)Here is the copy of the extra registry entry in Services, load and
unload hive SYSTEM (of your fresh installed XP) from another working XP,
or do the changes to the fresh installed XP direct with regedit in
commandline.

Dont change other USB entries!!!


[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbehci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,
62,\
65,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB 2.0 Enhanced Host Controller Miniport
Driver"
"Tag"=dword:00000012

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbhub]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,
62,\
68,75,62,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="USB2 Enabled Hub"
"Tag"=dword:00000013

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\USBSTOR]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,55,53,
42,\
53,54,4f,52,2e,53,59,53,00
"DisplayName"="USB Mass Storage Driver"
"Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbuhci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c,75,73,
62,\
75,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB Universal Host Controller Miniport Driver"
"Tag"=dword:00000011


The ImagePath is the path to your driver in HEXCODE and you dont need to
change this in your registry.



6.)In Registry, after You installed XP on harddrive, You HAVE TO delete
whole key
MountedDevices in the registry of that fresh XP.

7.)In the windows\system32\config\ of the fresh installed XP delete all
entries with
*.sav *.log *.evt This is only possible from outside (another
installed XP).

8.)Delete old ntdetect.com and set the new one from me into the fresh XP.

9.)Verify that boot.ini is like

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect


10.)Copy and past all files and folders from the fresh XP to your plugged
USB drive. Recyled (Bin) and System Volume Information copy not.


Thats all.
Good luck.
Dietmar


PS: Format your USB stick with the HP format utility hpusbfw.exe , which
gives You a FAT or FAT 32 or NTFS (I think, all those work, I took FAT)
partition and the file allocation table and sets the first partition on
the USB stick itself as aktiv.

There may be errors in the tutorial. You should have to know, what you are
doing.
I am doing my best.
 
D

Dietmar

Hi all,

my changes in registry are so good,
that you even have NO MORE NEED of the cracked ntdetect.com.

A NORMAL ntdetect.com shipped with original XPPRO SP1 is doing now also
USB boot from any medium!!!


Dietmar

PS: Where are You all, believe me it works!!!
And now no EULA is broken...
 
Ad

Advertisements

C

C.C. Wu

Hi Dietmar,
I'm almost there. I have followed your steps.
Now, I still got 7B Error, but if I put a formatted IDE HDD, the system
could boot normally.
I am trying to disable system to check IDE HDD, or that system check IDE HDD
after boot from USB HDD.
Do you have any idea about my situation?

Have a noice day.
Keep trying.
C.C. Wu.
 
D

Dietmar

Hi all,

here comes complete Tutorial (Version 2) how to do USB boot from any USB
device WITH NO NEED of that cracked ntdetect.com

I succeed to boot full, normal XP SP1 without any new driver direct
(not to RAM) from any USB Medium (USB Stick, USB harddisk) even USB
1.1 or USB 2.0 with 2 motherboards: ASUS P4C800-E Deluxe (Intel) and
Siemens D1607 (AMD)
It is stable.

NOW it is real: XP in pocket

Author: Dietmar Stölting, 26. Oktober 2005
(e-mail address removed)
Germany

Here comes the Tutorial. (Version 2)
Believe me, it works! I say this, because dont give up:
I am a teacher having holidays and this I will show after my pupils.

1.) Set in Bios boot from USB harddisk and disable hyperthreading.

2.) The fresh XP SP1 has to be installed as first partition with NO
other harddrive or USB device together. Floppy, CD or DVD drives
can stay.
Install XP on a normal harddisk, dont put Intel chipsetdriver or so
on it because this generates new drivers, which may not be compatible
to USB boot.
All those things can be done later.

3.) Set pagefile on fresh XP to disabled.

4.)Then You HAVE TO plug in your USB device, from which you want to
start later.
Let it be detected from the fresh installed XP.

5.)Here is the copy of the 8 extra registry entries. Load and unload
hive SYSTEM (of your fresh installed XP) from another working XP, or
BartPE or do the changes to the fresh installed XP direct with
regedit in commandline.

Make a BACKUP of the original hive SYSTEM of the fresh installed XP!

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbehci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,75,73,62,\
65,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB 2.0 Enhanced Host Controller Miniport
Driver"
"Tag"=dword:00000012

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbhub]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,75,73,62,\
68,75,62,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="USB2 Enabled Hub"
"Tag"=dword:00000013

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\USBSTOR]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,55,53,42,\
53,54,4f,52,2e,53,59,53,00
"DisplayName"="USB Mass Storage Driver"
"Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbuhci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,75,73,62,\
75,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB Universal Host Controller Miniport
Driver"
"Tag"=dword:00000011

The "ImagePath" is the path to your driver in HEXCODE and you dont
need to change this in your registry.

Here are the next 4 complete needed keys in registry which you have
to build by yourself, like ( this here is for Western Digital 160BB
USB harddrive)

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\usb#root_hub]
"Service"="usbhub"
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\usb#root_hub20]
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
"Service"="usbhub"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\USB#Vid_1058&Pid_0300]
"Service"="usbstor"
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\USBSTOR#DiskWDC_____WD1600BB-00FTA0_15.0]
"ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}"
"Service"="disk"

The first and the second COMPLETE key here have to be written AS THEY
ARE with NO modification to registry of your fresh XP (use copy and
paste).

The third and the fourth key is the special Vid_&Pid_ name of your
USB device and the hardwareID of your USB device.

Service and ClassGUID write ALWAYS AS THEY ARE HERE to registry of
fresh XP.

The Vid_&Pid_ name (in the third entry) of your USB device can be
found in ControlSet001\Enum\USB ,
if you have let detected the fresh XP YOUR USB device .

Syntax:

Vid_abcd&Pid_efgh where abcd and efgh are 4 numbers for your USB
device.
The rest of that key has do be exactly the same as mine.

The hardwareID can be found in ControlSet001\Enum\USBSTOR after if
you have let the fresh XP your USB device detected.

It is the first entry in the key HardwareID but you have to change \
against # .
The HardwareID is build as USBSTOR#Diskv(8)p(16)r(4)
where for v(8)p(16)r(4) you have to put

8 digits (for me WDC_____ ) as the vendor of device
16 digits (for me WD1600BB-00FTA0_ ) for device and
4 digits (for me 15.0 ) for versions number.

The complete Registry keys 1 - 8 needs only to be set up ONE TIME to
registry.

If you wish to put your fresh XP to another USB device, you need NO
MORE
new entry for that new device! Only let it be detected from your
fresh XP on harddisk.

After you put this 8 keys to the registry of fresh XP, you must do
the following also in the registry of fresh XP:

6.) Delete complete key HKLM\SYSTEM\MountedDevices.

7.) Delete HKLM\SYSTEM\Setup SystemPartition (complete key
SystemPartition) .

8.) Go to HKLM\SYSTEM\Services\USBSTOR . Set start=3 back to start=0
 
D

Dietmar

Hi all,

here comes complete Tutorial (Version 2) how to do USB boot from any USB
device WITH NO NEED of that cracked ntdetect.com

I succeed to boot full, normal XP SP1 without any new driver direct
(not to RAM) from any USB Medium (USB Stick, USB harddisk) even USB
1.1 or USB 2.0 with 2 motherboards: ASUS P4C800-E Deluxe (Intel) and
Siemens D1607 (AMD)
It is stable.

NOW it is real: XP in pocket

Author: Dietmar Stölting, 26. Oktober 2005
(e-mail address removed)
Germany

Here comes the Tutorial. (Version 2)
Believe me, it works! I say this, because dont give up:
I am a teacher having holidays and this I will show after my pupils.

1.) Set in Bios boot from USB harddisk and disable hyperthreading.

2.) The fresh XP SP1 has to be installed as first partition with NO
other harddrive or USB device together. Floppy, CD or DVD drives
can stay.
Install XP on a normal harddisk, dont put Intel chipsetdriver or so
on it because this generates new drivers, which may not be compatible
to USB boot.
All those things can be done later.

3.) Set pagefile on fresh XP to disabled.

4.)Then You HAVE TO plug in your USB device, from which you want to
start later.
Let it be detected from the fresh installed XP.

5.)Here is the copy of the 8 extra registry entries. Load and unload
hive SYSTEM (of your fresh installed XP) from another working XP, or
BartPE or do the changes to the fresh installed XP direct with
regedit in commandline.

Make a BACKUP of the original hive SYSTEM of the fresh installed XP!

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbehci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,75,73,62,\
65,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB 2.0 Enhanced Host Controller Miniport
Driver"
"Tag"=dword:00000012

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbhub]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,75,73,62,\
68,75,62,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="USB2 Enabled Hub"
"Tag"=dword:00000013

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\USBSTOR]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,55,53,42,\
53,54,4f,52,2e,53,59,53,00
"DisplayName"="USB Mass Storage Driver"
"Group"="Boot Bus Extender"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\usbuhci]
"Start"=dword:00000000
"Type"=dword:00000001
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):73,79,73,74,65,6d,33,32,5c,64,72,69,76,65,72,73,5c
,75,73,62,\
75,68,63,69,2e,73,79,73,00
"Group"="Boot Bus Extender"
"DisplayName"="Microsoft USB Universal Host Controller Miniport
Driver"
"Tag"=dword:00000011

The "ImagePath" is the path to your driver in HEXCODE and you dont
need to change this in your registry.

Here are the next 4 complete needed keys in registry which you have
to build by yourself, like ( this here is for Western Digital 160BB
USB harddrive)

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\usb#root_hub]
"Service"="usbhub"
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\usb#root_hub20]
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"
"Service"="usbhub"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\USB#Vid_1058&Pid_0300]
"Service"="usbstor"
"ClassGUID"="{36FC9E60-C465-11CF-8056-444553540000}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDataba
se\USBSTOR#DiskWDC_____WD1600BB-00FTA0_15.0]
"ClassGUID"="{4D36E967-E325-11CE-BFC1-08002BE10318}"
"Service"="disk"

The first and the second COMPLETE key here have to be written AS THEY
ARE with NO modification to registry of your fresh XP (use copy and
paste).

The third and the fourth key is the special Vid_&Pid_ name of your
USB device and the hardwareID of your USB device.

Service and ClassGUID write ALWAYS AS THEY ARE HERE to registry of
fresh XP.

The Vid_&Pid_ name (in the third entry) of your USB device can be
found in ControlSet001\Enum\USB ,
if you have let detected the fresh XP YOUR USB device .

Syntax:

Vid_abcd&Pid_efgh where abcd and efgh are 4 numbers for your USB
device.
The rest of that key has do be exactly the same as mine.

The hardwareID can be found in ControlSet001\Enum\USBSTOR after if
you have let the fresh XP your USB device detected.

It is the first entry in the key HardwareID but you have to change \
against # .
The HardwareID is build as USBSTOR#Diskv(8)p(16)r(4)
where for v(8)p(16)r(4) you have to put

8 digits (for me WDC_____ ) as the vendor of device
16 digits (for me WD1600BB-00FTA0_ ) for device and
4 digits (for me 15.0 ) for versions number.

The complete Registry keys 1 - 8 needs only to be set up ONE TIME to
registry.

If you wish to put your fresh XP to another USB device, you need NO
MORE
new entry for that new device! Only let it be detected from your
fresh XP on harddisk.

After you put this 8 keys to the registry of fresh XP, you must do
the following also in the registry of fresh XP:

6.) Delete complete key HKLM\SYSTEM\MountedDevices.

7.) Delete HKLM\SYSTEM\Setup SystemPartition (complete key
SystemPartition) .

8.) Go to HKLM\SYSTEM\Services\USBSTOR . Set start=3 back to start=0
 
D

Dietmar

Hi all,
here is the rest of my ne tutorial, because it was cut.

8.) Go to HKLM\SYSTEM\Services\USBSTOR . Set start=3 back to start=0
 
D

Dietmar

One try more, I dont know why my tutorial is always cut


8.) Go to HKLM\SYSTEM\Services\USBSTOR . Set start=3 back to start=0
This happens during the detecting of new USB devices and will lead to
crash
07B, if is not corrected. Then, rightclick on USBSTOR permissions,
deny for
System. Now, no more USB device can be detected but in other case
with
every new USB device, start is set back to 3 and give you the next
time 07B.
You can later set back USBSTOR permissions for system to "allowed",
if you want to use another USB device.

9.)In the windows\system32\config\ of the fresh installed XP delete
all entries with
*.sav *.log *.evt This is only possible from outside (another
installed XP).

9.)Verify that boot.ini of the fresh XP is like

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /fastdetect

11.)Copy and paste the files of the fresh XP from another XP or
BartPE to your USB device. Recyled (Bin) and System Volume
Information copy not.
Look, whether the first partition there ist set ACTIV and has a
PARTITIONTABLE!

Fat, or Fat32 or NTFS doesnt matter.

Best for testing is for the first time a USB harddisk. SAVE your
registry SYSTEM hive from the fresh installed XP as OFT AS YOU CAN,
because you may need it later if something went wrong.

Later, format your USB stick with the HP format utility hpusbfw.exe ,
which gives You a FAT or FAT 32 or NTFS (all those work) partition
and the file allocation table and sets the first partition on the USB
stick itself as aktiv.
A nice USB stick is that from BUFFALO with 32 MByte/s.

You can install EWF RAM filter (thanks to S. Fiorito) to allow your
USB stick
to survive years.

There may be errors in the Tutorial.
I do my best.

Good luck
Dietmar

PS: Nice to hear from you, who succeeds USB booting with this
tutorial.
Please give us also the motherboard name.
 
Ad

Advertisements

D

Dietmar

Hi all,

I succeed to do pure USB boot to XP for Shuttle XPC SB61G2 with
Intel Springdale i865G Chipset and Phoenix Bios.
Boottime is about 30 seconds.

This was the third motherboard, that I testet and all works.

I want to prove my own Tutorial (Version2) whether all is ok there.
So I did exactly all the steps from there, and voila real XP in pocket
hihihihihihhuhuhuhu

Nice to hear from you all
Dietmar
 
G

Gert

Hi Dietmar,

Congratulations with your Tutorial (Version2) ! Looks like I'm
beginning to have success with following what you describe there. I've
had to make some guesses though, on points where the description
doesn't match the reality here:

step 7.) Delete HKLM\SYSTEM\Setup SystemPartition (complete key
SystemPartition) .
--> My test system only has a key HKLM\SYSTEM\Setup, and there a string
value called SystemPartition. Is that string value what you mean to
delete ?

step 8.) Go to HKLM\SYSTEM\Services\USBSTOR . ..
--> Perhaps you mean HKLM\SYSTEM\Services\ControlSet001\USBSTOR ? Just
to be sure.

Thank you !
Gert
 
Ad

Advertisements

D

Dietmar

Hi Gert,

yes I mean that string value called SystemPartition and the path to
USBSTOR is
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\USBSTOR

hihi, that is the first small error in may tutorial, that I noticed.

Good luck

Dietmar

PS: Please write, which motherboard you use, the version of your XP and if
all works ok with the tutorial. I want to get better...hihi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top