Adding command-line parameters to a boot package

You can add command-line parameters to a boot package to instruct Symantec Ghost to perform certain actions.

For more information, see the Symantec Ghost Reference Guide.

Command-line parameters can be added while creating a Standard Boot Disk, Network Boot Disk, CD/DVD Startup Disk with Ghost, TCP/IP Network Boot Image, boot disk in the Client Type window.

In the following example, the parameters instruct Symantec Ghost to connect to the GhostCast session called test and restore the disk image to the first drive.

Table 2-2 Command parameters
Switch
Description
-sure
Removes the need to confirm the specified details.
-rb
Causes a restart immediately after the cloning operation.
-clone
Used with the parameter src=@mctest and dst=1.
@mc indicates the GhostCast session name. In this case, the session name is test.
The session name must match on the client and server.
dst=1 refers to the destination being fixed disk 1.

In the following example, the parameters instruct Symantec Ghost to back up your main disk to an image on another drive.

-clone,mode=create,src=1,dst=D:\backups\maindrv.gho

Table 2-3 Command parameters
Clone Parameters
Description
mode=create
Creates an image file
src=1
Specifies drive 1 as the source drive
dst=D:\Backups\Maindrv.gho
Saves the image to the file D:\Backups\Maindrv.gho