spacer
Support - Platinum Support
tab end BCS Web Site divider MySupport divider Log Out navbar end
navbar end home symantec alerting service security center knowledge base navbar end
spacer
BCS Knowledge Base

spacer
spacer

Rate This Document
1x3 spacer
1x1 spacer

print this documentDocument ID:2002091914103925
Last Modified:02/12/2010

How to use Ghost command line switches

Situation:Ghost Technical Support has advised you to use a command line switch to resolve a particular problem, or you want to use the Ghost command line to accomplish a task that you are not able to accomplish using the graphic user interface or options menu.

Solution:To run Ghost from a command line
  1. Reboot the computer with the proper boot package in the drive.
    Note: this can be a floppy, CD, USB (or PXE) for DOS, Windows PE is not loadable from floppy.

  2. Once Ghost loads and you see the Ghost User Interface, select quit.
    Note: If the boot package is DOS based then this will return you to a DOS command prompt similar to the following:

    A:\Ghost>

    If the boot package is Windows PE based then this will return you to a command prompt similar to the following:

    X:\Windows\System32>

    You will need to change the focus to the x:\Ghost directory by entering" \Ghost".

  3. To enter a Ghost command line, you must start with the name of the correct executable.
    If you are unsure of which version you have, Type DIR at the command prompt, then press Enter. Review the list of files to see which executable is present on the boot disk.
    Possible executable names are:
    In DOS : Ghost.exe unless you have manually added a diffrent executable.
    In Windows PE: Ghost32.exe, Gdisk32.exe or Ghwalk32.exe and others.

  4. Add a space after the executable name, then add your command line switches.

    The following example shows a command line using the -split switch. This particular example directs Ghost.exe to not split the image file into 2gig pieces in a DOS environment.

    Ghost.exe -split=0

    The following example is a command line needed when imaging IBM/Lanovo systems to capture addition information needed to successfully clone a client from the image from a Windows PE boot environment.

    Ghost32.exe -ib

    The following example is a command that can be run after a successful clone that will use Ghostwalker to change a systems SID.

    Ghwalk32.exe /sure


  5. To run a task from the Ghost Console
    For the Ghost console, the switches are added to the definition for a task or backup regime.
    To add switches to a Clone task
    1. Right-click the task you want to modify, then click Properties.
    2. On the Clone tab, click Advanced.
    3. Add the switches, separated by spaces, in the space provided, then click OK.


    To add switches to an Image Create task
    1. Right-click the Create New Image task definition, then click Properties.
    2. Click Advanced.
    3. Add the switches, separated by spaces, in the space provided, then click OK.
      Note: When using a switch here Ghost.exe or Ghost32.exe is assumed and you just add the switch.
      For example when creating an image of an IBM or Lenove you would use the "-ib" switch.


    To add switches to a backup regime
    1. Right-click on the backup regime definition you want to modify, then click Properties.
    2. Add the switches, separated by spaces, in the space provided, then click OK.

For additional information on Ghost command line switches, refer to the document Switches: Alphabetical list of switches.

print this documentDocument ID:2002091914103925
Last Modified:02/12/2010


rate this document
Does this document answer your question?
Yes
No
Maybe, need to test
None of the above
Is this document well written and easy to use?
Submit specific suggestions to improve the quality of this document.


Product(s): Symantec Ghost 7.0, Symantec Ghost 7.5, Symantec Ghost 8.0, Symantec Ghost 8.2, Symantec Ghost Solution Suite 1.0, Symantec Ghost Solution Suite 1.1, Symantec Ghost Solution Suite 2.0, Symantec Ghost Solution Suite 2.5
Operating Systems(s): DOS, Windows 95, Windows 98, Windows ME, Windows NT, Windows 2000, Windows XP, Linux
Date Created: 09/19/2002

  © 1995-2014 Symantec Corporation. All rights reserved. feedback | legal notices | privacy policy