PE Builder v3 plugin

Pe2usb-FULL

Bartpe to UFD, One Button Installer using pe2usb script UPDATED for HDD like install
Script by fafot  

I created a pe2usb-FULL.cmd script that is based on two Bart's scripts: pe2usb and peinst. (This is close to what blackbox described in the other thread). It does the following:
1. If needed formats the UFD by calling the HPUSBFW.EXE.
2. Checking the UFD boot sector.
3. Copy srsp1\ramdisk.sys to the source\i386\system32\drivers.
4. Copy srsp1\setupldr.bin to UFD as ntldr.
5. Copy i386\ntdetect.com to UFD root.
6. Doing HDD like install on the UFD by copying the I386 as minint and Programs.

NO other modifications are needed.
(Format the UFD to FAT to be most compatible. I notice that formatting with Fat32 boot on my 2 PC's but NOT on the laptop. NTFS does not boot at all.

Usage is like Bart’s pe2usb:
Pe2usb-FULL [-f] <USB drive:>

Before using that script do the following:
A. You should copy the pe2usb-FULL.cmd to your <pebuilder> directory.
B. Download the HP format utility from the link above, install and copy the HPUSBFW.EXE to <pebuilder>\srsp1
C. Do steps 2 and 3 from Bart’s pe2usb:

QUOTE

2) Server 2003 SP1 (or a release candidate). You can download this from
   http://www.microsoft.com/downloads/details...20-8E1708C3ED46
   This file is large, about 350MB!!!
  Unpack the files from the service pack (this is not installing) with:
  sr1sp.exe -x, lets assume you extract it to c:\server2003sp1
  Copy the file c:\server2003sp1\i386\setupldr.bin to the <pebuilder>\srsp1 folder
  Expand the file c:\server2003sp1\i386\ramdisk.sy_ to the <pebuilder>\srsp1 folder
  expand -r c:\server2003sp1\i386\ramdisk.sy_ <pebuilder>\srsp1
  You can now remove the c:\server2003sp1 folder, not needed anymore...
3) Build BartPE using pebuilder as normal, you must set the output folder to
   "BartPE", you do not need to generate an ISO image for now.


Further explanations:
The following text is copied from the thread that I started in CD Forum: Bartpe Usb One Button Installer, pe2usb UPDATED for HDD like install.

After reading the 2 topics:
Boot BartPE From USB Flash Drive, please try this!
Pe2usb: Installing BartPE To USB Flash Disk
of how to install BartPE/XPE/Any other PE to USB, I tried them and found the following test results:

I am using UFD Kingston Data Traveller Elite (the fastest in the market today) 512Mb. I made a XPE 1.02 with Bart 3.1.3 total size of BartPE directory: 485Mb, total size of ISO 470Mb (using the -duplicates-once option). I also have AutoRamResizer 1.9 that setup memory between 216 and 255Mb and Ramdriv 5.2.10.2m. I also used ramsize manual script setups and on all of them 256mb was working OK.

Way 1. Bart's pe2usb - the load took 15 minutes!!! on my 2 PC's and laptop.
Way 2. Copying like to HDD and adding setupldr and ramdisk from server2003sp1 like Bart described. That load took on Athlon 2500+ PC with 512Mb memory
4:47 minutes, on P4 3200 1Gb memory: 7:36 min and on Laptop Celeron D 2.666Ghz 768Mb memory: 7:37. (see the script below).

My conclusions: The second way is faster by at least 50% and is not dependent on the ISO size to PC memory relation to load!

a) By using the second way the I could load that 495Mb XPE with 256Mb memory setup by ramsize/AutoRamResizer on 512 Mb PC that is just impossible with the ISO.
b) The loading time is twice to 3 times faster. I don't know why on the Athlon PC it loaded faster (the 1 Gb memory on the P4 3200 is faster) but it looks to me that on any Pentium PC it is taking the same time. The laptop has much slower memory that the P4 PC and it took exactly the same time!

I tried using different format utilities and different HP format utilities. That is another crazy thing. The only format utility that worked OK is the HP HPUSBFW Windows-based Format Utility for HP Drive Key or DiskOnKey USB version 2.00.006 A (6 Feb 04). The newer one version 2.1.8 A from (17 May 04) or (20 Jan 05) did NOT made the stick bootable! The same with the command line HP utility from all 3 packages!


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