<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MCB Systems &#187; bartpe</title>
	<atom:link href="http://www.mcbsys.com/techblog/tag/bartpe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcbsys.com/techblog</link>
	<description>Custom Software and I.T. Services</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:58:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>BartPE and UBCD4Win Tips and Tricks</title>
		<link>http://www.mcbsys.com/techblog/2007/11/bartpe-and-ubcd4win-tips-and-tricks/</link>
		<comments>http://www.mcbsys.com/techblog/2007/11/bartpe-and-ubcd4win-tips-and-tricks/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 22:00:00 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[bartpe]]></category>
		<category><![CDATA[ubcd4win]]></category>

		<guid isPermaLink="false">/mark/post/BartPE-and-UBCD4Win-Tips-and-Tricks.aspx</guid>
		<description><![CDATA[
I&#8217;ve been working with Bart Lagerweij&#8217;s BartPE (Preinstalled Environment)  lately to see if I could get a reliable method for restoring partition  images  created by Runtime Software&#8217;s free  DriveImage XML. Most of the issues I&#8217;ve encountered have been  resolved by  adding drivers for network and disk hardware. This article [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>I&#8217;ve been working with Bart Lagerweij&#8217;s <a href="http://www.nu2.nu/pebuilder/" target="_blank">BartPE</a> (Preinstalled Environment)  lately to see if I could get a reliable method for restoring partition  images  created by Runtime Software&#8217;s free <a href="http://www.runtime.org/dixml.htm" target="_blank"> DriveImage XML</a>. Most of the issues I&#8217;ve encountered have been  resolved by  adding drivers for network and disk hardware. This article describes the  changes I&#8217;ve made in order to get BartPE to boot on a variety of  hardware.</p>
<p>After some time working with BartPE, a forum user suggested that I try  the Ultimate Boot CD for Windows, also known as <a title="Ultimate Boot CD  for Windows" href="http://www.ubcd4win.com/" target="_blank">UBCD4Win</a>. This is a significant extension to BartPE.  I&#8217;ve added some comments on UBCD4Win at the end of this article.</p>
<h1><span id="more-71"></span>Disk Management</h1>
<p>I wanted to be able to run Disk Management from the BartPE environment  so I  could create partitions in a disaster recovery scenario. I finally found  an <a href="http://www.geocities.com/digiwiz2003/plugins/MMC.v2.plugin.zip" target="_blank">MMC  plugin</a> that lets me run not only Disk Management, but also Computer  Management with Device Manager and Event Viewer.</p>
<p>In order for the MMC plugin to work, you must also enable the following  plugin in BartPE&#8217;s plugin list: &#8220;RpcSS needs to launch DComLaunch  Service first  &#8211; SP2&#8243;. And in order for that plugin to work with Windows 2003 as well  as  Windows XP SP2, you must edit the plugin&#8217;s dcomlaunch\dcomlaunch.inf  file to  remove the &#8220;.2600&#8243; from the [SetupReg.AddReg] section. The &#8220;.2600&#8243; is  apparently  restricts the registry modification to Windows XP; by removing it, the  modification applies to Windows 2003 as well. The respective lines in  dcomlaunch.inf now look like this:</p>
<p style="padding-left: 30px;">; [SetupReg.AddReg.2600] &#8211; removed .2600 so it will work with Win2003  as  	well as WinXP<br />
[SetupReg.AddReg]</p>
<h1>Disk Hardware</h1>
<p>BartPE recognizes all the IDE and USB drives I&#8217;ve used. However, it  requires  additional drivers to see RAID and SATA controllers. Each set of driver  files  goes in its own folder (of any name) under BartPE\drivers\SCSIAdapter  (even if  it&#8217;s not a SCSI driver). If txtsetup.oem includes multiple OS choices, I   commented out all but the WinXP or Win2003 options in the [scsi]  section.</p>
<ul>
<li>For a Lenovo ThinkPad T60p with a SATA drive, I added the Intel  Matrix  	Storage Manager driver for the 82801GBM SATA AHCI Controller, then  edited  	txtsetup.oem to exclude all but that driver from the [scsi] section.  (Another alternative would have been to change a setting in the  ThinkPad&#8217;s BIOS so that the hard drive runs in IDE compatibility mode. I  did not test this option.)</li>
</ul>
<ul>
<li>For Dell PowerEdge 1500SC and 1600SC servers with PERC 3/SC and  4/SC  	cards, I added the Dell drivers for Win2000/2003, then edited  txtsetup.oem  	to comment out the Win2000 driver in the [scsi] section.</li>
</ul>
<ul>
<li>For a Dell PowerEdge 1900 server with PERC 3/SC and 4/SC cards, I  added  	the Dell driver for Win2003. I used the driver from the CD that came  with the server. To extract the drivers, with the Dell  	&#8220;Installation and Server Management&#8221; version 5.2 CD in the E: drive, I  used the  	following command to create a folder of Windows 2003 drivers for the  PowerEdge  	1900:
<p>E:\server_assistant\driver_tool\bin\make_driver_dir.exe -i e:\ -d  &#8220;C:\delldrivers&#8221;  	-p pe1900 -o w2003 &#8211;extract</p>
<p>I then used the driver in the w2003\sas_raid\r149460 folder. The  txtsetup.oem file only lists  	Windows 2003, so no edit is required. <strong>Note:&nbsp; this driver will  not load unless  	you build the BartPE environment with a Windows 2003 CD.</strong> If  you build it with a  	Windows XP CD, you will get the message &#8220;percsas.sys could not be  found.&#8221;</li>
<li>For a server with a SIIG eSATA II-150 PCI eSATA card (model  	SC-SA2012-S1), I used the drivers from the &#8220;Floppy&#8221; subfolder of the  drivers  	folder, and edited txtsetup.oem to exclude all but the WinXP driver in  the [scsi]  	section. I also had to modify the [Disks] section to remove the winxp/  	subfolder, since the driver is in the same folder as the txtsetup.oem  file.  	The modified lines look like this:
<p>; d3 = &#8220;INITIO INIC1620 S-ATA Adapter for Windows  	XP/2003&#8243;,winxp\inic1620.sys,winxp<br />
d3 = &#8220;INITIO INIC1620 S-ATA Adapter for Windows  XP/2003&#8243;,\inic1620.sys,\</li>
</ul>
<h1>Network Hardware</h1>
<p>BartPE also allows you to add network drivers. Each set of driver files  goes  in its own folder (of any name) under BartPE\drivers\Net. In most cases,  just  copying the XP drivers for any given network card to a subfolder was  enough. A  couple cases warrant special notes:</p>
<ul>
<li>The Dell PowerEdge 1900 has an embedded Broadcom NetXtreme II  adapter. I finally got this to work by following the instructions in <a href="http://www.911cd.net/forums//lofiversion/index.php?t18606.html" target="_blank">this post</a>:</li>
</ul>
<blockquote>
<ol>
<li>Download and extract the <a title="Broadcom NetXtreme II Windows 2003 drivers" href="http://ftp.us.dell.com/network/Bcom_LAN_NX2_26_W2K3_A01.exe" target="_blank">BroadCom  NetXtreme II Windows 2003 drivers</a> from the Dell FTP site.</li>
<li>Open the RIS_Drivers folder and edit the b06nd.inf file. Change 		&#8220;class=net&#8221; to &#8220;class=Net&#8221; and save. After doing that, BartPE can  handle 		the RIS drivers. After the change, the [Version] section of b06nd.inf  looks like this:[Version]<br />
signature&nbsp;&nbsp; = &#8220;$Windows NT$&#8221;<br />
; class       = net &#8212; Apparently BartPE requires that &#8220;Net&#8221; be  capitalized<br />
class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Net<br />
classguid&nbsp;&nbsp; = {4d36e972-e325-11ce-bfc1-08002be10318}<br />
catalogfile = b06nd.cat<br />
compatible&nbsp; = 1<br />
provider&nbsp;&nbsp;&nbsp; = %brcm%<br />
driverver&nbsp;&nbsp; = 04/05/2006,2.6.1.0</li>
<li>Copy the b06nd.inf and b06nd51x.sys files to their own folder  under BartPE\drivers\Net.</li>
</ol>
</blockquote>
<ul>
<li>For the Lenovo ThinkPad T60p, creating a separate folder containing  the Intel  	Pro1000 drivers downloaded from Lenovo is not enough. Google takes me  to a  	few threads about how to create a BartPE plugin, modify .inf files,  etc.  	This is more work than it is worth to me right now. Even if I start  using  	DriveImage XML to back up my T60p, I can always attach a USB hard drive   	containing the image to restore, so the network is not absolutely  required. <span style="color: red;">Update 3/3/2008:</span>&nbsp; I was having  similar trouble getting Intel network drivers to work on a Dell Optiplex  755. I came across a blog that said that the issue is that the drivers  are incompatible with Windows 2003, so you have to use Windows XP SP2  media when building the BartPE image. Sure enough, once I had done that,  I was able to load the network on the ThinkPad under BartPE!</li>
</ul>
<h1>Boot from USB Thumb Drive</h1>
<p>By default, BartPE is set to create a bootable CD, which can only be  created  on CD-R media (not RW). Working through all the issues above I created  quite a  collection of coasters. Then I found a little program called <a href="http://gocoding.com/page.php?al=petousb" target="_blank">PEtoUSB</a> that lets me take  the CD folder created by BartPE Builder and create a bootable USB Thumb  Drive.  Brilliant! CD-Rs are good for the &#8220;final&#8221; version, since they are more  universally bootable, but the USB approach would have helped prevent  creating so many  dead discs.</p>
<p><span style="color: red;">Update 3/6/2008:</span>&nbsp; One limitation I&#8217;ve found is  that if I use PEtoUSB under Vista to format the USB drive, the drive  does not boot. Instead I get this error:</p>
<p style="padding-left: 30px;">Remove disks or other media<br />
Press any key to restart</p>
<p>The workaround is to run PEtoUSB under XP to format the drive (uncheck  &#8220;Enable File Copy&#8221;), then run PEtoUSB under Vista only to copy files  (uncheck &#8220;Enable Disk Format&#8221;). The only reason this matters is that my  laptop runs Vista, so when I&#8217;m at a customer site trying to fiddle with  BartPE configurations until I get one that works, the Vista laptop is  the machine that I have available for creating BartPE images.</p>
<h1>UBCD4Win:&nbsp; The Ultimate Boot CD for Windows</h1>
<p><a title="Ultimate Boot  CD for Windows" href="http://www.ubcd4win.com/" target="_blank">UBCD4Win</a> is quite an amazing collection of drivers  and utility programs. Unlike BartPE, it is still actively maintained, so  it is more likely to contain current drivers and programs. It includes  not only Disk Management and DriveImage XML, but browsing, virus  checking, hardware testing, and more, all built as extensions to the  original BartPE system. I only found two &#8220;gotchas&#8221; working with  UBCD4Win:</p>
<ul>
<li>UBCD4Win has so far been able to load network drivers on every  machine I have, including the difficult ThinkPad T60p. It also loaded a  driver for the ThinkPad&#8217;s SATA hard drive. However, it did <em>not</em> load drivers for Dell&#8217;s PERC 3/4/5 RAID controllers. I was able to  rectify that deficiency by simply copying the PERC drivers from my  BartPE build, then creating the UBCD4Win CD using a Windows 2003 CD as  required by the PERC 5 driver.</li>
<li>Because UBCD4Win is so extensive, it is also significantly slower  to boot than 	a BartPE CD. (The UBCD4Win .iso file is 537MB as opposed to my BartPE  build 	which is 169MB.)</li>
</ul>
<p>For now I&#8217;ll keep both CDs around:&nbsp; BartPE for quick booting to a couple  of essential programs, and UBCD4Win for a more comprehensive set of  utilities that will probably load even on hardware I haven&#8217;t tested.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2007/11/bartpe-and-ubcd4win-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

