Running BartPE From A USB Drive

 

Bart Lagerweij is a brilliant programmer; not only did he create the BartPE system of creating bootable CDs, but he also found a way of installing the resulting ISO file onto a USB drive & making it bootable. The USB drive he experimented with was able to boot up the computer, but instead of going straight into the BartPE OS, it loaded the BartPE ISO file into the computer's RAM & tricked the system into loading the file as an actual CD!

In other words, the USB drive was programmed to copy the ISO file into the computer's RAM & emulate it as a virtual CD drive).

The implications of this software trick was (& still is) hailed by software enthusiasts as well as IT support technicians; Bart's technique allowed for technicians to boot into BartPE much faster, without the need to burn a CD. And with the advent of netbook computers (laptop computers that carry no optical drive whatsoever,) this technique became invaluable.

However, there are a handful of limitations. Bart's technique of creating bootable USB drives requires the use of a USB disk that has no more than 2 GB of space. This is because the drive has to be formatted as a FAT16 disk with a Windows NT boot sector (which is impossible without a special program). That said, another utility is required; Microsoft's Windows Server 2003 SP1 standalone installer. This is because two files from the package are required for this to work properly. If a USB drive has a capacity greater than 2 GB, this technique will NOT work. The technique will also malfunction if the drive has been formatted in any disk format other than FAT16 (also known as FAT).

Firstly, download the BartPE system files here or in the Downloads page. Then, proceed with preparing the desired utilities as per the BartPE tutorial on this website (creating an ISO disk image isn't necessary). Then, create a folder in the BartPE utility suite's folder; name it as "srsp1."

Secondly, download Microsoft's Windows Server 2003 SP1 installation file (this can be found here, as a 329 MB installation file). Save this file in the folder C:\Temp. Then, open a Command Line window, navigate to the aforementioned folder (using the CD command) & execute the following:

C:\>WindowsServer2003-KB889101-SP1-x86-ENU -x

This allows for the installation file to be extracted as though it were made by a file archiving utility. Choose any folder to extract the installation file into & press the OK button.

Thirdly, navigate to the folder where the installation file was extracted to. look for two files; one named "setupldr.bin" & another named "ramdisk.sy_." Copy both files into the "srsp1" folder of the BartPE utility suite's directory. Then, open a Command Line window, navigate to said folder & execute the following:

C:\>expand -r ramdisk.sy_

Once the above has been completed, the file named "ramdisk.sy_" can be deleted.

Next, download a utility called PEToUSB (available here or in the Downloads page). This utility has the ability to properly format a USB disk & install a Windows XP boot sector. Plug the USB disk into the computer, run the program & make sure that only the Enable Disk Format check box has been checked (do not check any other check boxes & do not select any other radio buttons aside from the USB Fixed or USB Removable radio buttons; those exist to select the type of USB disk to format). Then, press the Start button to format the disk.

Lastly, open a Command Line window, navigate to the BartPE utility suite's folder (using the CD command) & execute the followung:

C:\>pe2usb X:

Where X is the drive letter of the USB disk (replace X with the proper drive letter that corresponds to the USB drive).Once this is done, the USB drive should be bootable & should be able to load a copy of the BartPE ISO file into the computer's RAM.

 
 
html css