The gdisk utility (GPT disk) is a straightforward tool for partitioning disk according to the GPT scheme.

Starting from scratch:

To start from scratch and on an empty disk, we can remove the partitions using:

Protective MBR is GPT with backward compatibility with MBR.

Creating a new partition: 

To create a new partition, we use the below command:

Displaying information about the partition:

Displaying the partition table:

Changing the partition type:

After we finish, we can exit the gdisk tool using the below:

Brando Sabatini and Ikbal C ©. Powered by Blogger.