Search This Blog

Thursday, June 16, 2011

WDS - Customize theToshiba Portege R700 S-1321 boot image

Customize the boot image by adding drivers for Toshiba Portege R700 S-1321

To create a XP custom boot image for R700 was a nightmare to me.
I put all procedures together for peers trying to do the same thing as I have done and myself. (I'm very forgettable!)


1. Down load AIK and driver packages


- AIK (Automated Installation Kit)
I used boot.wim from AIK (6001.18000.080118-1840-kb3aikl_en.iso) as an original image.
AIK can be downloaded from Microsoft.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c7d4bc6d-15f3-4284-9123-679830d629f2
This package can be used to deploy the following OSs.
Windows Server 2003 SP1; Windows XP SP2, Windows Vista
Windows XP SP2 with KB926044
Windows Server 2003 SP1 with KB926044
Windows Server 2003 SP2
Windows Vista family
You need to install AIK on the machine that runs the same OS as your Portege, in my case XP SP3.

- SATA Controller Driver
Vista native boot.wim doesn't include the NIC and AHCI drivers for R700 S-1321, so I needed to download them from Toshiba and Intel site.
I downloaded Intel LAN 14.6 from Toshiba and Intel 5 series AHCI from the Intel web site respectively
Toshiba doesn't provide the AHCI driver, so you have to download it from Intel.


IntelR RST Driver Files (for version 10.1) - F6 Install (32-bit)
IntelR RST Driver Files (for version 10.1) - F6 Install (64-bit)


- NIC Driver
Download Intel LAN Driver Ver. 14.6 (TC00285200A.exe) from Support.Toshiba.com
Extract the file and save it in the convenient place.
I recommend changing the location to save otherwise it will be saved in .tmp format as a default.


2. Install AIK on a PC
  1. Burn the image you downloaded in the Step1 to a DVD using Nero, Sonic or any other third party tool
  2. Insert the DVD into any machine which runs XP (This machine is used for the rest of procedures)
  3. Click Windows AIK Setup to begin the installation
3. Add drivers to the image
I followed the steps Microsoft provided on TechNet.
I followed the steps Microsoft provided on TechNet.
  1. Click Start --> All Programs --> Microsoft Windows AIK --> Windows PE Tools Command Prompt
  2. At the command prompt, type:
copype.cmd x86 c:\winpe_x86
This will create the folder winpe_x86 under C. DON'T create a folder in advance!
Let copype do that. Otherwise, you will end up with an error

If you want to create a boot image for X64, type amd64 instead of x86. For Itanium boot image, type ia64.

Now you have 2 folders, ISO and mount in winpe_x86


  1. At the command prompt, type:
imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount 

peimg /install=*HTA* c:\winpe_x86\mount\Windows
peimg /install=*MDAC* c:\winpe_x86\mount\Windows
peimg /install=*HTA* c:\winpe_x86\mount\Windows
peimg /install=*Scripting* c:\winpe_x86\mount\Windows
peimg /install=*WMI* c:\winpe_x86\mount\Windows
peimg /install=*XML* c:\winpe_x86\mount\Windows
These commands import Windows packages to the boot image. I’m not sure what each package does exactly, but I included all of them to my image might as well.

4.      Now add the NIC drivers
At the command prompt, type:

peimg /install=C:\NIC\Win32\NDIS5x\*.inf c:\winpe_x86\mount\Windows
peimg /install=C:\NIC\Win32\NDIS61\*.inf c:\winpe_x86\mount\Windows
peimg /install=C:\NIC\Win32\NDIS62\*.inf c:\winpe_x86\mount\Windows

In my case, I extracted NIC and SATA drivers in C:\NIC and C:\AHCI respectively.
Since I didn’t know which one is the right inf file for the NIC, I added all inf files from all folders in Win32.

5.   Add the SATA drivers
At the command prompt, type:
peimg /install= C:\AHCI \*.inf c:\winpe_x86\mount\Windows

  1. The next step is an option but I recommend proceeding so that you can include extra tools in your boot image.
copy “c:\program files\Windows AIK\Tools\x86\imagex.exe” c:\winpe_x86\iso\
copy “c:\program files\Windows AIK\Tools\x86\Servicing” c:\winpe_x86\iso\Servicing /s
copy %windir%\system32\msxml6*.dll c:\winpe_x86\iso\Servicing

  1. At the command prompt, type:
Once you run the command, you will be prompted to confirm the operation. Type “Yes” and hit the enter key. You have to type exactly YES here otherwise you will get an error.
peimg /prep c:\winpe_x86\mount\Windows
imagex /unmount c:\winpe_x86\mount /commit
copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim

  1. Now the fully customized boot image has been created. I added the image to the Deployment server. You can also create a bootable media. You can burn winpe_x86.iso to a CD-ROM using any third party image copy utility.
oscdimg –n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso

I will post how to add the image to the Deployment server soon.

No comments:

Post a Comment