WINUSB Tutorial 3 PDF
WINUSB Tutorial 3 PDF
111)
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
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.
Having followed all the instructions, you should now be able to see the bootmenu. This means your computer supports the
USB-boot.
Step 2
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
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
Create a new folder named "Rettung" in the config folder on the USB XP and copy the Registry hive system into it.
Copy the following text, create a new file "otto.reg" an paste the text into the new file:
[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)
Build a new key Group (REG_SZ) (this key is present for the other usb entries)
Group = System Reserved
Update "otto" in the registry. It can be done by closing the registry and restarting it again.
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".
Generate key "LoadOrderGroup" for "usbstor" and set it as in "System Reserved" mode.
Shut the computer down.
Step 6
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.