HOME
NORTON'S GDISK COMMANDS

Some of them anyway.
HOME
| Home | BootDisk.exe | BootDisk.zip | GDisk.exe only |

Creating a partition

gdisk disk /cre {/pri| /ext| /log} [/sz: {MB|pcent{p|%}}][ /for [/q] [/v[:label]] ] [/-32] [/ntfat16]

Reinitializing the Master Boot Record
Use the /mbr switch to rewrite the boot code in the Master Boot Record. The usual reason for needing to reinitialize the MBR is to eliminate a boot sector virus residing there. You can also use the /mbr switch with the / wipe option to delete a dynamic disk.

gdisk disk /mbr [/wipe]

Displaying information about disks
The status switch displays information about the fixed disks and partitions on a disk, including the model of the disk. To display the information about the partitions on a disk, you must specify the disk number. The syntax for this command is as follows:

gdisk [disk] [/status] [/raw] [/lba] [/ser]

Deleting and wiping your disk
GDisk provides a choice to delete data and partitions on your disk or wipe your entire disk. You cannot delete a dynamic disk partition. The switch /del/all deletes all partitions that are on the disk. Partitions are removed. Any other space that has not been used for creating a partition will not be deleted. Deleting an extended partition also deletes any logical partition within it. The /diskwipe switch wipes the whole disk, partitions, partition table, MBR and all used and unused spaces.
The syntax for the delete switch command is as follows:

gdisk disk /del {/pri[:nth]|/ext[:nth]|/log:nth|/p:partn-no|/all} [/qwipe|/dodwipe|/customwipe:n]

The syntax for the diskwipe switch is as follows:

gdisk disk /diskwipe [dod| /custom:n]

For example:

Activate or deactivate a partition
The syntax for this command is as follows:

gdisk disk /[-]act /p:partn-no

HOME