Deleting And Wiping Your Disk - Symantec GHOST IMAGING FOUNDATION 7.1 - V1.0 Manual

Table of Contents

Advertisement

66
Managing partitions using GDisk

Deleting and wiping your disk

Deleting and wiping your disk
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
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ghost imaging foundation 7.1

Table of Contents