Upload
donbloe
View
17
Download
0
Embed Size (px)
Citation preview
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 1/12
WinUSB Tutorial 5www.WinUSB.de
First of all, we have to gather all files which are nessecary for the genericWinUSB:
- Installation CD for Windows XP (Service Pack 1 or 2 is needed)- nLite (www.nliteos.com)- ntdetect.com file from Dietmar- Mergeide.reg (http://support.microsoft.com/?kbit=314082 )
All *.reg files used in the tutorial have to be adabted to your system.
Preparation
1. Copy the XP Installation CD your hard drive (e.g. C:\WinXPORG\)2. Install nLite and try out a bit in order to handle with its function3. Unpack drivers and Hotfixes in a separate folder (e.g. C:\Driver\)
Advice: For people, who wants to experiment with the WinUSB System pleaseread the additional.
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 2/12
Tutorial
1. Copy the following files from the XP Installation CD to the folderC:\Driver\USB\:
hccoin.dll
usbui.dll
usb.inf
usbport.inf
usbstor.inf
usbccgp.sys
usbd.sys
usbehci.sys
usbhub.sys
usbohci.sys
usbport.sys
usbscan.sys
usbser.sys
usbstor.sys
usbuhci.sys
2. Download the file “iata55_cd.exe from the intel website and unpack thefollowing drivers to the C:\Driver\USB folder:(http://downloadfinder.intel.com/scripts-df-external/Detail_Desc.aspx?agr=N&ProductID=2107&DwnldID=9725&strOSs=All&OSFullName=Alle%20Betriebssysteme&lang=deu)
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 3/12
iaahci.cat
iastor.cat
ultra.cat
iaahci.inf
iastor.inf
ultra.inf
iaStor.sys
ultra.sys
3. Copy the txtsetup.oem and the txtsetup.sinf files from the tutorial folderinto the C:\Driver\USB\ folder.
4. Change the content of the usb*.inf files in the USB folder(C:\Driver\USB\):
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
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 4/12
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbccgp.sys
LoadOrderGroup = Boot Bus Extender
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
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 5/12
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
Usbstor.inf
[QV2KUX.AddService]
DisplayName = %QV2KUX.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 0 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\qv2kux.sys
LoadOrderGroup = Boot Bus Extender
[USBSTOR.AddService]
DisplayName = %USBSTOR.SvcDesc%
ServiceType = 1
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 6/12
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\USBSTOR.SYS
LoadOrderGroup = Boot Bus Extender
5. Change the content of the dosnet.if (C:\WINXPORG\i385\:
[Files]
d1,usbboot.inf ++++Schreiben++++++
d1,_default.pif
d1,12520437.cpx
d1,12520850.cpx
.....
6. Copy the usbboot.inf file from the tutorial folder to theC:\WINXPORG\i386 folder.
7. Create a new folder “$oem$” in the directory C:\WINXPORG\, copy (andadapt) the regtweaks.reg and cmdlines.txt from the tutorial folder intothe new C:\WINXPORG\$oem$\ folder.
8. Make a new folder “$$” in the directory C:\WINXPORG\$oem$\ andcreate in the new folder the System32 folder. There you have to create
another folder “DRIVER” so that you have the following hierarchy:
“C:\WINXPORG\$oem$\$$\System32\DRIVER\”
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 7/12
9. Copy the following drivers, which you can find in the “i386” folder or bygoogling, into the directory (..\DRIVER\):
IdeBusDr.sys
IdeChnDr.sys
atapi.sys
intelide.sys
pci.sys
pciide.sys
pciidex.sys
10. Use nLite to setup your individual settings (e.g. Tweaks, Options,etc.)(Advice: Deactivate System recovery and delete unsupervicedInstallation)
11. Copy the drivers into the C:\Driver\USB\ directory. You have tochoose the option “Textmode” and make sure that the usbstor areinstalled as OEM! (This step is very important)
12. Overwrite the files in the C:\WinXPORG\i386 folder replaceingthem with the files from the C:\Driver\USB\ folder (This step is veryimportant too).
13. Use nLite to burn a bootable CD and install XP on a usb device(change the booting order in the bios menu to 1. cd, 2. usb, etc.)
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 8/12
Additional
For people who wants to experiment with the WinUSB System:
• Collect as much Drivers as possiblePossible Sources:
§ http://www.driverpacks.net/Projects/DriverPacks/UpdateTracker.php § http://www.german-
nlite.de/index.php?act=dscript&CODE=showdetails&f_id=92
• You need an adapted regtweaks.reg. You can find it in the tutorial foldernamed “regtweaks_pro.reg”. When you use it by following the tutorial,you have to rename it into “regtweaks.reg” and adapt the content so
that it is fitting to your system.
• The following drivers were needed in the C:\WinXPORG\$OEM\$$\INF\folder which you first have to create (Source: www.driverpacks.net):
815.inf
830.inf
845.inf
845G.inf
850.inf
850860.inf
852.inf
855.inf
860.inf
865.inf
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 9/12
915.inf
915M.inf
945.inf
945GM.inf
dmi_pci.inf
E7220.inf
E7230.inf
E727505.inf
E7500.inf
E7520.inf
E8500.inf
ICH2AUD.inf
ich2br.inf
ich2brm.inf
ICH2Core.inf
ich2corm.inf
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 10/12
ICH2IDE.inf
ICH2ideM.inf
ICH2SMB.inf
ICH2Usb.inf
ich3core.inf
ich3corm.inf
ich3ide.inf
ich3idem.inf
ich3smb.inf
ich3usb.inf
ich4core.inf
ich4id2.inf
ich4ide.inf
ich4usb.inf
ich5core.inf
ich5id2.inf
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 11/12
ich5ide.inf
ich5usb.inf
ich6core.inf
ich6id2.inf
ich6ide.inf
ich6usb.inf
ich7core.inf
ich7id2.inf
ich7ide.inf
ich7usb.inf
ichXdev.inf
IdeChnDr.inf
oem1.inf
oem2.inf
oem3.inf
p64h2.inf
7/18/2019 WinUSB_Tutorial_5.pdf
http://slidepdf.com/reader/full/winusbtutorial5pdf 12/12
• You also have to copy the oem1.inf, oem2.inf and oem3.inf drivers fromthe tutorial folder to the “…\INF\” folder.
• Make sure that the USB-Stick is formatted with FAT(16) and set active(Using nLite to delete all unnaccessary files in order to have a WinUSBthat fits on a USB-Stick)
Advice: This WinUSB will not work on every single system. In this case, youfirst of all have to install WinUSB on a usb-harddisk, format the USB-Stick withUSB Disk Storage Format Tool and finally copy all the files to the USB-Stick.
Tutorial by Dietmar Stölting and Ala2Latest Tutorials and Updates: http://www.WinUSB.de