gptfdisk
Text-mode tools for GUID Partition Table (GPT) disks
gptfdisk
Description
GPT fdisk (consisting of the gdisk, cgdisk, sgdisk, and fixparts programs) is a set of text-mode partitioning tools loosely modeled on Linux fdisk. The gdisk, cgdisk and sgdisk programs work on Globally Unique Identifier (GUID) Partition Table (GPT) disks, rather than on Master Boot Record (MBR) partition tables, but may also be used on MBR disks to convert them to GPT. The fixparts program repairs certain types of damage to MBR disks and enables changing partition types from primary to logical and vice-versa.
Install
Channel stable v1.0.9-1
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install gptfdisk
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.