0% found this document useful (0 votes)
279 views4 pages

WINUSB Tutorial 3 PDF

This document provides instructions for installing Windows XP on a USB device to allow booting from the USB drive. It is a 6 step process that involves copying Windows files to the USB drive, installing Windows XP on the computer's hard drive, copying that installation to the USB drive, modifying registry files, changing USB driver settings, and then rebooting from the USB drive. The goal is to enable booting a full Windows installation from a USB device by overcoming limitations of USB boot capabilities and storage limits of early USB drives.

Uploaded by

Fadzlli Amin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
279 views4 pages

WINUSB Tutorial 3 PDF

This document provides instructions for installing Windows XP on a USB device to allow booting from the USB drive. It is a 6 step process that involves copying Windows files to the USB drive, installing Windows XP on the computer's hard drive, copying that installation to the USB drive, modifying registry files, changing USB driver settings, and then rebooting from the USB drive. The goal is to enable booting a full Windows installation from a USB device by overcoming limitations of USB boot capabilities and storage limits of early USB drives.

Uploaded by

Fadzlli Amin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Tutorial 3 (Release 0.6.

111)

Author: Dietmar Stölting,


11.01.2006,
Germany

Advice: An USB-Stick refuses its function, after approximately 100.000 writing-processes. Assuming that the system needs
only two writing-processes every second, an USB-Stick holds nearly 60 Days (8 hours of working).
Due to this disadvantage we advice you to use an USB-harddisk.

Step 1

1.) (Testing the capability of USB-booting on your computer)

Set all Bios entries for USB as enabled.

Copy the three files ntdetect.com, ntldr and boot.ini to the USB device you want to boot from. The content of the
boot.ini should be:

[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
Professional1"
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP
Professional2"

The USB device from which you want to boot can be a USB harddisk (best device for testing) with FAT16, FAT32 or
NTFS (compressed) it has to be partitioned and the first partition has to be set active. Using an USB-Stick a minimal
capacity of 1GByte is normally required. It is possible to use a 256mb USB-Stick, but this is more problematic and inhibits/
blocks any software update or installation of any other software due to the lack of memory cache.

Never use the USB-Stick without the EWF filter.

Having followed all the instructions, you should now be able to see the bootmenu. This means your computer supports the
USB-boot.

Step 2

2.) (Installing a new XP Version on your harddisk)

Install a new XP (SP1 or SP2) or Windows Server 2003 again on your harddisk.
(It is possible to copy your working XP to the USB device, but we prefer in this case a new installation.)
The XP installation works best, if your IDE harddisk is complete formatted or new.
Caution: No other harddrive or USB device should be connected! Do not install any other drivers than from your XP CD.
This could be done later on.

Step 3

3.) (Copying and customising the new XP installation)

When the new XP installation is working, disable the page file. (Whether the page file can stay on your USB device,
is not certain until now.)

Connect the USB device to your computer with the new installed XP.

Copy and past this new XP to your USB device. (By using another XP installation or BartPE.)
Do not copy recycled data and system volume information.

Replace the ntdetect.com on the USB device by the modified version. It is not needed on all computers but it is more
safe to do so.

(If you have installed XP SP2, you also have to replace all USB driversusb*hci.sys, usbhub.sys,
usbstor.sys, usbport.sys and usbd.sys in USB device folder WINDOWS\system32\drivers by the XP SP1 drivers.)

Step 4

4.) (Backing up and adapting the Registriy)

Create a new folder named "Rettung" in the config folder on the USB XP and copy the Registry hive system into it.

Delete the key "mounted devices" in "otto".

Delete the key "HKLM\otto\ControlSet001\Control\CriticalDeviceDatabase".

Copy the following text, create a new file "otto.reg" an paste the text into the new file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\otto\ControlSet001\Control\CriticalDeviceDatabase]

[HKEY_LOCAL_MACHINE\otto\ControlSet001\Control\CriticalDeviceDatabase\*pnp0000]

"ClassGUID"="{4D36E97D-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\otto\ControlSet001\Control\CriticalDeviceDatabase\*pnp0100]

"ClassGUID"="{4D36E97D-E325-11CE-BFC1-08002BE10318}"

[HKEY_LOCAL_MACHINE\otto\ControlSet001\Control\CriticalDeviceDatabase\*pnp0200]
Step 5
5.) (Installing "otto.reg" and adapting it a second time)

Install "otto.reg" via double click.


For Windows Embedded you need a different otto.reg as CriticalDecviceDatabase which you can copy and paste
from here.
If the general entries (here WD160BB) do not work on your system, you may put the Vid and Pid names and the
HardwareID of your special USB device manually to the CritiacalDeviceDatabase) We additionally show you how to
do these steps in the extra tutorial.

Go to HKLM\otto\ControlSet001\Services and change the following setting:

usbehci : Change start = 3 to start = 0


Change Group = Base... to... Group = System Reserved

usbohci : (if the key is there, if not go to next usbhub)


Change start = 3 to start = 0
Change Group = Base... to... Group = System Reserved

usbhub : Change start = 3 to start = 0


Change Group = Base... to... Group = System Reserved

USBSTOR : Change start = 3 to start = 0

Build a new key Group (REG_SZ) (this key is present for the other usb entries)
Group = System Reserved

usbuhci : Change start = 3 to start = 0


Change Group = Base... to... Group = System Reserved

Export "otto" as hive to folder "config" of your USB device.

Update "otto" in the registry. It can be done by closing the registry and restarting it again.

Copy hive "otto" to folder "Rettung".

Delete hive "SYSTEM".

Rename "otto" to "SYSTEM".

Search on your USB device in the "windows/inf folder for the following files an delete them:
usb.pnf
usbport.pnf
usbstor.pnf

Open all three "*.inf" instances of the three files you deleted an set in each of them the LoadOrderGroup to System
Reserved ONLY for "usbhub", "usbehci", "usbohci", "usbuhci".

Set StartType = 0 ONLY for "usbhub", "usbehci", "usbohci", "usbuhci", "usbstor".

Generate key "LoadOrderGroup" for "usbstor" and set it as in "System Reserved" mode.
Shut the computer down.

Step 6

6.) (Booting from the USB device)

Disconnect all your other harddrives, except the USB device.


Reboot (XP boots from your USB device!)

Make a backup directly from your USB device, in case any errors might occure later on.

If the USB device does not work, you can also try thespecial feature.

Dietmar

Additional:
A Tutorial for the EWF Filter is avaible from SFiorito.

For the Hitachi Microdrive Filter, that shows your USB-Stick as non-removable harddisk, search within theforum and you
will get all the required information.

Test your WinUSB, whether it can boot from other computers, but always make a backup of your USB device before!

Additional

WinUSB is an tutorial written by Dietmar Stölting. This tutorial is constantly in development by the author. Due to the lack
of time, the author has to handle with, there is no possibility to write a final tutorial for every special system. If you make
experiences, that may be helpful for the tutorial by adding information, the author would be very gratefull to receive any
feedback from you.

We hope the tutorial was helpful for you. You can decide to support this project by making a little donation via the "PayPal
- spenden"-Button.

Thank you for visiting www.WinUSB.de

You might also like