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: 2012-12-14  |  Article URL http://www.symantec.com/docs/TECH194877
Article Type
Technical Solution


Problem



 

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 commands assume you downloaded Intel, Broadcom, and Realtek drivers to a folder called c:\drivers)
 
    1. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PRO100\Winx64\NDIS5x /Recurse
    2. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PRO100\Winx64\NDIS62 /Recurse
    3. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PRO1000\Winx64\NDIS5x /Recurse
    4. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PRO1000\Winx64\NDIS61 /Recurse
    5. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PRO1000\Winx64\NDIS62 /Recurse
    6. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PROXGB\Winx64\NDIS5x /Recurse
    7. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PROXGB\Winx64\NDIS61 /Recurse
    8. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PROXGB\Winx64\NDIS62 /Recurse
    9. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PLATFORM\IOADMA\Winx64\NDIS5x /Recurse
    10. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PLATFORM\IOADMA\Winx64\NDIS61 /Recurse
    11. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\PLATFORM\IOADMA\Winx64\NDIS62 /Recurse
    12. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Intel\APPS\PROSETDX\Winx64\DRIVERS /Recurse
    13. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Broadcom\win_vista_2k8_x64-15.2.0.5b\win_vista_2k8_x64 /Recurse
    14. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Realtek\Driver_Win7_7058_05212012\WIN7\64 /Recurse
    15. > Dism /Image:c:\winpe_x86\mount /Add-Driver /Driver:c:\drivers\Realtek\Driver_Win7_7058_05212012\WIN7\32 /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
  1. Open Command Prompt as Administrator
    • (Search "cmd" in the Start menu search bar, right click "cmd" and select “Run as administrator”.)
  1. Partition an external hard drive using Diskpart.
    1. > diskpart
    2. DISKPART> list disk
    3. DISKPART > select disk 1 (or whichever disk is the external drive)
    4. DISKPART > clean
    5. DISKPART > create partition primary
    6. DISKPART > select partition 1
    7. DISKPART > active
    8. DISKPART > format fs=NTFS (takes about 8 hours for a 500 GB external drive)
    9. DISKPART > assign
    10. DISKPART > exit
  2. Copy the ISO to the partitioned external hard drive.
    • > xcopy c:\winpe_x86\iso\*.* /s /e /f e:\




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


Terms of use for this information are found in Legal Notices