How to run DeployAnywhere manually from Ghost Boot media

Article:TECH110135  |  Created: 2008-01-09  |  Updated: 2014-08-18  |  Article URL http://www.symantec.com/docs/TECH110135
Article Type
Technical Solution

Product(s)

Issue



You need to know how to create a Windows PE Ghost Boot CD or USB flash drive that is capable of performing a DeployAnywhere task.

 


Solution



Part 1: Create the Windows PE Ghost Boot Disk that contains the DeployAnywhere Driver Database.

Click Start > Programs > Symantec Ghost > Ghost Boot Wizard. Proceed through the Ghost Boot Wizard as follows:
 

  1. Leave the default Windows PE option selected
  2. Check the box to Include DeployAnywhere Driver Database with the image
  3. Click Next
  4. Select the Standard Ghost Boot Disk
  5. Click Next
  6. Click Next
  7. On the "Network Client Configuration" screen enter any desired user credentials and mapped drive information and then click Next.
  8. On the "Network Client Address" screen, choose either DHCP or Static IP addressing and click Next
  9. On the "Destination Drive Screen," select the type of media that you'd like to build the Windows PE disk on.
  10. Click Next
  11. Click Next
  12. Finish the wizard to complete the boot disk.


Note: Building the Windows PE CD (or ISO) or building a Windows PE Flash Drive could take up to 10 minutes to complete. The Ghost Boot Wizard will display a Finish button when the process has completed.

Part 2: Restoring the Ghost Image
 

  1. Boot the client machine with the Windows PE disk that was built in Part 1
  2. Once the client is fully booted to the Windows PE environment, Ghost will open automatically.
  3. Restore your image either locally or using the Ghost Cast Server session as you normally would.
  4. Once the image has been restored, select the option to Quit Ghost. This should return you to a command line.
    Warning: Do not reboot to the system OS yet.


Part 3: Evaluating the Client Machine to ensure that the appropriate Mass Storage Controller and NIC driver are included in the Driver Database.
 

  1. At the command prompt, type CD\ to return to the root of the "X" drive
  2. You will need to determine what drive letter WinPE assigned the ghost boot drive. To determine the drive letter, take the following steps:
      • Note: To use the /ddb parameter correctly, you'll need to specify the location of the driver database. The driver database will be on the boot media [CD] but not on the "X" drive as this is a RAM drive.
      • You will need to find the drive letter that will allow you to access the CD: The "D" drive, for example. (The actual drive letter may be different on different systems, so start at D: and work your way up.) Once you have found the CD drive, use the dir command to check that it contains the WINDRIVERS folder.
      • In some circumstances, Windows PE will not assign a drive letter to the boot device (the CD-Rom drive). When WinPE doesn't assign the CD-Rom drive a drive letter, you can temporarily assign one using DISKPART. Use the following set of commands to assign a drive letter:
        1. Type diskpart then enter at the a command prompt and press Enter.
        2. Type list volume at the DISKPART> prompt and press Enter.
          • If the CD (With the Label GHBOOTCD) does not have a letter assigned to it, type the following commands to assign one manually
        3. Type select volume 0 (where 0 is the CD volume) and press Enter.
        4. Type Assign and press Enter.
        5. Type list volume and press Enter.
        6. Note the drive letter assigned to the GHBOOTCD and press Enter.
        7. Type exit and Press Enter.
        8. Type x:\ghost\GhDplyAw32.exe /eval /target=c:\Windows /ddb=d:\windrivers where d: is the drive letter assigned to the GHBOOTCD and noted above.
          Note: The evaluation process could take a few minutes to complete. Once the evaluation is completed, you will either receive a message that it was successful or that drivers are missing that are required to perform the Deploy Anywhere step.
  3. If the evaluation process returned a "success" message, type the following command to begin the retargeting process:

If the evaluation process returned a "success" message, type the following command to begin the retargeting process:

    1. Type x:\ghost\GhDplyAw32.exe /target=c:\Windows /ddb=d:\windrivers
    Note: The retargeting process that occurs with GhDplyAw32.exe is what allows you to deploy an OS from one hardware platform to an entirely different hardware platform.
    Note: You may need to utilize DiskPart (from Microsoft) to assign a drive letter for the CD. If you are not familiar with the DiskPart commands please reference the following URL: http://technet.microsoft.com/en-us/library/cc766465.aspx
    2. When the targeted process is successful, move the disk and reboot.


4. If the evaluation process was not successful, make note of the missing driver(s) and proceed to Part 4

Part 4: Adding missing drivers to the Windows PE Boot Disk

Note: You do not need to restore the image a second time before proceeding with Part 4. Since the image has already been restored, you'll only need to reboot the client machine with the new Windows PE disk and then run the DeployAnywhere command line. As long as you do not attempt to boot into Windows before the DeployAnywhere process is successful, you will not need to restore the image a second time.

Note: Before beginning this step, download the drivers that the evaluation reported were missing. You'll be adding these drivers to the Windows PE Boot package in this step.
 

  1. Click Start > All Programs > Symantec Ghost > Ghost Boot Wizard
  2. Leave the default Windows PE option selected
  3. Check the box to Include DeployAnywhere Driver Database with the image
  4. Click Edit
  5. Select the WinPE package you are using from the list and click Edit
  6. Click Add New Driver...
  7. Click the Browse button and browse to the driver files that are to be added to the DeployAnywhere driver database.
  8. Select the folder that contains the files and click OK
  9. In the "Friendly Name Field," enter the name for this new driver template. For example, "GX620MassStorage"
  10. Click OK
  11. Scroll through the list of drivers and check the template that was created in the previous step
  12. Note: The template should appear in alphabetical order based on the Friendly Name you provided in Part 4, Step 9
    • Note: Network Drivers are included on one tab; Storage Drivers are included on the second tab.
  13. Click OK
    • Note: At this point, the Windows PE image will be recompiled to include the additional driver files
  14. Complete the Boot Wizard as directed in Part 1 of this document.
  15. Once the Boot Disk has been completed, boot your client machine with that new media.
  16. Once the PE environment is fully loaded, Ghost will open automatically. Choose the option to Quit Ghost.
  17. At the command prompt, type CD\ to return to the root of the "X" drive.
  18. Type the following command to begin the retargeting process:
    • x:\ghost\GhDplyAw32.exe /target=c:\Windows /ddb=d:\windrivers


For a visual representation of the process described above, download the da.jpg file listed below.

da.JPG






 


Attachments

da.JPG (23 kBytes)

Legacy ID



2008050913544860


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


Terms of use for this information are found in Legal Notices