Tutorial how to boot from any USB Tutorial how to

Document Sample
Tutorial how to boot from any USB Tutorial how to Powered By Docstoc
					                                     Tutorial how to boot from any USB

Tutorial how to boot from any USB

Source:
http://www.tech−archive.net/Archive/WinXP/microsoft.public.windowsxp.embedded/2005−10/msg00332.html



          • From: "Dietmar" <dietmar.stoelting@xxxxxxxxxxx>
          • Date: Sat, 22 Oct 2005 18:49:35 −0400

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


Tutorial how to boot from any USB                                                               1
                                    Tutorial how to boot from any USB


[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

Tutorial how to boot from any USB                                                  2
                                    Tutorial how to boot from any USB
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.




.



      • Follow−Ups:
             ♦ Re: Tutorial how to boot from any USB
                    ◊ From: C.C. Wu
             ♦ RE: Tutorial how to boot from any USB
                    ◊ From: Andrew Roy

      • Prev by Date: Re: SYSTEM_LICENSE_VIOLATION BSOD
      • Next by Date: Xpe demo installation problems
      • Previous by thread: Booting XP Pro from any USB
      • Next by thread: RE: Tutorial how to boot from any USB
      • Index(es):
             ♦ Date
             ♦ Thread



Tutorial how to boot from any USB                                            3