Managing partitions using GDisk
Overview of main
129
Overview of main command-line switches
GDisk has nine main modes of operation. The first four correspond to the menu options on the Fdisk main menu. The mode in which GDisk operates is selected by one of the following switches:
Table | GDisk main commands | ||
|
|
| |
Mode | Switch | Explanation | |
|
|
|
|
Create | /cre |
| Creates partitions: primary DOS partitions, extended |
|
|
| DOS partitions. This switch functions with GDisk |
|
|
| only. |
|
|
|
|
Delete | /del |
| Deletes partitions of any type, including |
|
|
| partitions. This switch functions with GDisk only. |
|
|
| |
Status (default) | /status | Lists information on the specified fixed disk and its | |
|
|
| partitions. |
|
|
|
|
Activate | ■ | /act | Activates and deactivates a partition (specifying it as |
| ■ | the bootable partition). | |
|
|
|
|
Hide | ■ | /hide | Hides an existing partition or unhides a hidden |
| ■ | partition. | |
|
|
| |
Reinitialize MBR | /mbr | Reinitializes the Master Boot Record. This switch | |
|
|
| functions with GDisk only. |
|
|
| |
Batch | /batch | Uses | |
|
|
| |
Disk wipe | /diskwipe | Wipes the contents of the whole disk. This switch | |
|
|
| functions with GDisk only. |
|
|
| |
Boot.ini | /bootini | Makes a modification to the Windows NT/2000/XP | |
|
|
| boot menu. This switch functions with GDisk32 only. |
|
|
|
|