PE Builder v3 help
Table of contents

Adding drivers

Adding storage and network drivers to BartPE is very easy. If you add drivers to the drivers folder pebuilder will include them automatically.
Drivers other than storage and network are currently not supported!

You need to copy the Windows XP or Windows 2003 driver files in to the correct location yourself.
Here is where to store drivers:
Type of driverlocation
Storage driversdrivers\SCSIAdapter
Network driversdrivers\Net

Example 1:
Assume you are adding a network driver from broadcom, the NetXtreme BCM57xx. That driver comes as a .zip file called win_xp_2k3_32-7.86.zip. Now you create a new folder "b57xp32" (you can take any name you want) in drivers\Net to hold this driver. Extract the driver .zip file in this new folder and you are done.

This is how the drivers folder should look like:
drivers\Net
drivers\Net\b57xp32
drivers\Net\b57xp32\win_xp_2k3_32
drivers\Net\b57xp32\win_xp_2k3_32\b57win32.cat
drivers\Net\b57xp32\win_xp_2k3_32\b57win32.inf
drivers\Net\b57xp32\win_xp_2k3_32\b57xp32.sys

Storage drivers are added by pebuilder using their txtsetup.oem file. As a txtsetup.oem file can hold several drivers, you should edit this file and exclude the drivers you don't want to use from the [SCSI] section.

Example 2:
Assume you are adding a storage driver from adaptec, the Ultra320. The driver comes as a self-extractable .exe file called u320_fms300s4_win.exe. Now you create a new folder "adpu320" (you can take any name you want) in drivers\SCSIAdapter to hold this driver. Extract the drivers from the self-extractable .exe file in this new folder. Open the file drivers\SCSIAdapter\adpu320\TXTSETUP.OEM in a text editor and search for the [scsi] section, exclude drivers that are not for Windows XP/2003, for example Windows NT 4.0 or Windows 2000. Also exclude drivers that are not compatible with your processor architecture.

Here is a piece of the txtsetup.oem file:
...
[scsi]
#a79xxNT40 = "Adaptec Ultra320 SCSI Cards (Win NT 4.0)"
#a79xxNT50 = "Adaptec Ultra320 SCSI Cards (Win 2000)"
a79xxNTIA32 = "Adaptec Ultra320 SCSI Cards (Win XP/Server 2003 IA-32)"
#a79xxNTIA64 = "Adaptec Ultra320 SCSI Cards (Win XP/Server 2003 IA-64)"
#a79xxNTAMD64 = "Adaptec Ultra320 SCSI Cards (Win Server 2003 AMD64)"
...
Notice that the NT 4.0, Win 2000, IA-64 and AMD64 drivers are excluded by the comment (#) sign.

This is how the drivers folder should look like:
drivers\SCSIAdapter
drivers\SCSIAdapter\adpu320
drivers\SCSIAdapter\Create a folder here and put the storage drivers in it
drivers\SCSIAdapter\adpu320\MAXIO64K.REG
drivers\SCSIAdapter\adpu320\README.TXT
drivers\SCSIAdapter\adpu320\TXTSETUP.OEM
drivers\SCSIAdapter\adpu320\U320DSK1
drivers\SCSIAdapter\adpu320\WIN32BIT
drivers\SCSIAdapter\adpu320\WIN64BIT
drivers\SCSIAdapter\adpu320\WINNT40
drivers\SCSIAdapter\adpu320\WIN32BIT\ADPU320.CAT
drivers\SCSIAdapter\adpu320\WIN32BIT\ADPU320.INF
drivers\SCSIAdapter\adpu320\WIN32BIT\ADPU320.SYS
drivers\SCSIAdapter\adpu320\WIN64BIT\AMD64
drivers\SCSIAdapter\adpu320\WIN64BIT\INTEL64
drivers\SCSIAdapter\adpu320\WIN64BIT\AMD64\ADPU320.CAT
drivers\SCSIAdapter\adpu320\WIN64BIT\AMD64\ADPU320.INF
drivers\SCSIAdapter\adpu320\WIN64BIT\AMD64\ADPU320.SYS
drivers\SCSIAdapter\adpu320\WIN64BIT\INTEL64\ADPU320.CAT
drivers\SCSIAdapter\adpu320\WIN64BIT\INTEL64\ADPU320.INF
drivers\SCSIAdapter\adpu320\WIN64BIT\INTEL64\ADPU320.SYS
drivers\SCSIAdapter\adpu320\WINNT40\ADPU320.SYS
drivers\SCSIAdapter\adpu320\WINNT40\HOTP320.REG
drivers\SCSIAdapter\adpu320\WINNT40\OEMSETUP.INF
You could remove the NT4 and 64bit folders, but it is not really necessary, because the files are not copied by PE Builder.

Table of contents

PE Builder Copyright (c) 2002-2006 Bart Lagerweij. All rights reserved.