Package gdisk

An fdisk-like partitioning tool for GPT disks

http://www.rodsbooks.com/gdisk/

An fdisk-like partitioning tool for GPT disks. GPT fdisk features a
command-line interface, fairly direct manipulation of partition table
structures, recovery tools to help you deal with corrupt partition
tables, and the ability to convert MBR disks to GPT format.

System Administration
Command Description
cgdisk Curses-based GUID partition table (GPT) manipulator
fixparts MBR partition table repair utility
gdisk Interactive GUID partition table (GPT) manipulator
sgdisk Command-line GUID partition table (GPT) manipulator for Linux and Unix