Managing partitions using GDisk
Showing information about disks
133
The syntax for this command is as follows:
gdisk disk /mbr [/wipe]
Table | /mbr switches |
|
|
Switch | Explanation |
|
|
disk | Represents the physical fixed disk, from 1 to 8. |
|
|
/mbr | Reinitializes the boot code in the Master Boot Record. |
|
|
/wipe | Deletes the partition on the disk. |
|
|
Showing information about disks
The status switch shows information about the fixed disks and partitions on a disk, including the model of the disk. You must specify the disk number to get information about the partitions on a disk.
Depending on the version of GDisk that you require, the syntax for this command is one of the following:
■GDisk: gdisk [disk] [/status] [/raw] [/lba] [/ser]
■GDisk32: gdisk32 [disk] [/status] [/raw] [/lba] [/ser]
Table | /status switches |
|
|
Switch | Explanation |
|
|
disk | Represents the physical fixed disk, from 1 to 8. |
|
|
/raw | Shows the contents of the partition table in CHS form if used with the |
| disk switch. |
|
|
/lba | Shows the contents of the partition table in logical block form if used |
| with the disk switch. |
|
|
/ser | Shows the serial number of the disk. |
|
|