
lines are ignored. In the following example, the commands do not specify the fixed
disk on which to operate:
# delete all partitions
/del /all
# create formatted FAT16 primary DOS partition and then create
an extended # partition
/cre /pri /-32 /for /q
/cre /ext
# create formatted FAT16 logical DOS partition
/cre /log /-32 /for /q
The following command deletes all partitions and creates two new ones on the
second fixed disk with confirmation prompting turned off:
gdisk 2 /y /batch:two-new.txt
The following four commands to be executed are a combination of the original
command plus the commands from the batch file:
gdisk 2 /y /del /all
gdisk 2 /y /cre /pri /-32 /for /q
gdisk 2 /y /cre /ext
gdisk 2 /y /cre /log /-32 /for /q
Batch files may be nested recursively. For example, a second file called Std_init.txt
contains the following lines:
1 /batch:two-new.txt
2 /batch:two-new.txt
As a result, the following command performs the actions of two-new.txt on both
fixed disks:
gdisk /batch:std-init.txt
Deleting and wiping your disk
GDisk lets you delete data and partitions on your disk or wipe your entire disk.
You cannot delete a dynamic disk partition with the /del switch.
The switch /del /all deletes all partitions that are on the disk. Any other space
that has not been used for creating a partition is not deleted. Deleting an extended
partition also deletes any logical partition within it.
Managing partitions using GDisk
Deleting and wiping your disk
66
Summary of Contents for GHOST IMAGING FOUNDATION 7.1
Page 1: ...Symantec Ghost Imaging Foundation 7 1...
Page 3: ...Symantec Corporation 20330 Stevens Creek Blvd Cupertino CA 95014 http www symantec com...
Page 78: ...Managing partitions using GDisk Support for large hard disks 78...
Page 100: ...Editing registry keys and values using GhRegEdit Using GhRegEdit 100...
Page 116: ...Using GhostCasting to create and restore images Running Ghost exe on a client computer 116...
Page 122: ...GhostCasting from the command line GhostCast Server command line options 122...
Page 130: ...GDisk disk wipe specifications Determining disk size 130...
Page 166: ...Ghost for Linux Symantec Ghost utility support 166...
Page 170: ...Configuring firewalls Symantec Ghost port configuration 170...
Page 180: ...Troubleshooting Problems running Symantec Ghost 180...