How to build a customized WinPE 3.0 boot image that contains Ghost32.exe and Network Interface Card (NIC) drivers

Article:TECH194877  |  Created: 2012-08-13  |  Updated: 2013-09-10  |  Article URL http://www.symantec.com/docs/TECH194877
Article Type
Technical Solution


Issue



 

Ghost Solution Suite’s Ghost Boot Wizard only creates Windows PE 2.0 and DOS pre-boot environments. These environments are less and less compatible with newer hardware platforms and do not contain the latest security features available from Microsoft.


Solution



 
Symantec Technical Support for Windows PE is limited to the use and troubleshooting of Ghost. Support is not offered for configuring or troubleshooting Windows PE operations outside the functionality of Ghost. The information below is provided “as is” and questions about Windows PE or the process used to create a Windows PE disk should be directed to Microsoft.
 
  1. Download and install the Windows Automated Installation Kit (WAIK) for Windows 7 from the following URL: http://www.microsoft.com/en-us/download/details.aspx?id=5753
  2. Burn the WAIK ISO file to a DVD or extract the contents of the image file to a folder.
  3. Install Windows Automated Installation Kit using default values. (StartCD.exe if you extracted the files).
  4. Open Deployment Tools Command Prompt.
    • Start>All Programs>Microsoft Windows AIK>Deployment Tools Command Prompt
  1. Mount a Windows PE image.
    1. > copype.cmd x86 c:\winpe_x86
    2. > imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount
  2. Copy the ghost executables to the image.
    1. > copy "C:\Program Files\Symantec\Ghost\gdisk32.exe" c:\winpe_x86\mount
    2. > copy " C:\Program Files\Symantec\Ghost \ghost32.exe" c:\winpe_x86\mount
    3. > copy " C:\Program Files\Symantec\Ghost \GhConfig32.exe" c:\winpe_x86\mount
  3. Add NIC drivers to the image.  The following example command assume you downloaded the drivers such as Intel, Broadcom, and Realtek and added them to a folder called c:\drivers.  The Recurse argument will search all subdirectories for all drivers to add.
 
    1. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers /Recurse
 
  1. Automate the initialization of Ghost as follows:
    • Modify the startnet.cmd batch file (C:\winpe_x86\mount\Window\System32\startnet) with a new line stating "ghost32.exe"
  1. Unmount the image.
    • > imagex /unmount c:\winpe_x86\mount /commit
  1. Close any windows showing this folder and any programs using these files.
  2. Replace the default boot image in \ISO with the new customized image.
    • > copy c:\winpe_x86\winpe.wim c:\winpe_x86\ISO\sources\boot.wim
  1. Create an ISO file.
    • > oscdimg -n -bc:\winpe_x86\etfsboot.com c:\winpe_x86\ISO c:\winpe_x86\winpe_x86.iso
         13. The ISO can now be burned to a CD or DVD as an image to make the CD/DVD bootable.
         14. The following steps are for using the ISO with either an external Hard Drive or USB Flash drive: 
               
Open Command Prompt as Administrator (Search "cmd" in the Start menu search bar, right click "cmd" and select “Run as administrator”.)
The following commands are an example of using Diskpart to partition a drive.
a.     > diskpart
b.    DISKPART> list disk
c.     DISKPART > select disk 1 (or whichever disk is the external drive)
d.    DISKPART > clean
e.     DISKPART > create partition primary
f.     DISKPART > select partition 1
g.    DISKPART > active
h.     DISKPART > format fs=NTFS quick 
i.      DISKPART > assign
j.      DISKPART > exit
         15. Extract the contents of the ISO using a third party tool, such as Winzip, Winrar or 7zip and the copy the contents to either your partitioned External HDD or USB Flash drive.
 




Article URL http://www.symantec.com/docs/TECH194877


Terms of use for this information are found in Legal Notices