GPT fdisk
rodsbooks.com
- Free plan
- Windows
- macOS
- Linux
What GPT fdisk is
GPT fdisk is a free package of text-based tools for creating and managing partition tables. It includes gdisk, cgdisk, sgdisk, and FixParts. Gdisk offers an interactive editor for GUID Partition Table (GPT) data and can convert MBR tables or BSD disklabels to GPT. Cgdisk provides a curses-based interactive interface with fewer features, while sgdisk is designed for scripts and quick command-line tasks. FixParts repairs certain MBR damage and can switch partition types between primary and logical. The tools can verify GPT structures, back up partition data, and provide recovery functions. Gdisk verification reports issues such as bad CRCs or mismatched main and backup data but usually does not repair them. GPT fdisk runs on Linux, macOS, and Windows, with support also described for FreeBSD. Downloads include packages, binaries, and source files.
Who it suits
GPT fdisk suits administrators and advanced users who need text-based partition-table editing, conversion, backup, or repair across Linux, macOS, Windows, or FreeBSD. Sgdisk also suits scripting and repeatable command-line tasks.
Good to know, and what to watch
- Free plan with Linux, macOS, and Windows support
- Includes interactive, curses, scripting, and repair tools
- Converts MBR or BSD labels to GPT
- Backs up partition data and offers recovery functions
- Aligns new partitions on 1 MiB boundaries by default
- Sgdisk performs minimal error checking
- Sgdisk changes do not require confirmation
- macOS blocks repartitioning the system disk
- FreeBSD cannot save changes when a partition is mounted
The verdict
GPT fdisk combines several focused tools for GPT management, conversion, verification, backup, and selected MBR repairs. Its text interfaces and safety limitations make it better suited to users comfortable with partition administration.
What the maker publishes
- Backup and recovery
- The tools provide options to back up partition data and access GPT data recovery functions. source
- Conversion
- gdisk can convert an MBR partition table or BSD disklabel to GPT format. source
- Conversion
- gdisk can read an MBR partition table or BSD disklabel and convert it to GPT without damaging partition contents. source
- Disk image limitation
- sgdisk can operate on raw disk image files but does not support compressed or other advanced disk image formats. source
- Distribution packages
- GPT fdisk is included in most major Linux distributions’ standard package repositories, though some distributions may provide outdated versions. source
- Downloads
- The download page lists Linux RPM and Debian packages, Windows and macOS binaries, and source files; it says the EFI binary is available only through version 1.0.4. source
- Download version
- The download page identifies GPT fdisk version 1.0.10 and was last updated February 19, 2024. source
- Founded
- 2009 source
- FreeBSD limitation
- The FreeBSD version normally cannot save partition-table changes when a partition on the disk is mounted. source
- GPT support
- gdisk, cgdisk, and sgdisk work with GUID Partition Table (GPT) disks. source
- Included tools
- The package consists of gdisk, cgdisk, sgdisk, and FixParts. source
- Interactive editor
- gdisk provides an interactive interface for manipulating GPT data structures, including advanced settings such as partition-table size. source
- Interfaces
- gdisk is interactive and text-mode, sgdisk is a command-line tool suited to scripts, and cgdisk is curses-based and interactive. source
- macOS limitation
- The project says System Integrity Protection in macOS 10.11 and later blocks low-level access needed to repartition the system disk, while USB flash drives remain accessible. source
- Maker
- The GPT fdisk pages identify Roderick W. Smith as the primary author. source
- MBR repair
- FixParts repairs certain types of MBR disk damage and can change partition types between primary and logical. source
- Origin
- Rod Smith says he first wrote GPT fdisk in 2009, initially focusing on MBR-to-GPT conversion. source
- Partition alignment
- On new disks, GPT fdisk attempts to align partitions on 1 MiB boundaries by default. source
- Platforms
- The project describes GPT fdisk as available for Linux, FreeBSD, macOS, and Windows. source
- Purpose
- GPT fdisk is a set of text-mode tools for creating and manipulating partition tables. source
- Repair and backup
- GPT fdisk can help recover damaged GPT data structures, and gdisk, sgdisk, and cgdisk can save partition data to a backup file. source
- Scripting
- sgdisk is a command-line tool intended for scripts and quick tasks, with fewer features than gdisk. source
- Support contact
- The download page invites users to email Rod Smith with problems or comments about that page at [email protected]. source
- Supported operating systems
- The tutorial describes GPT fdisk as available for Linux, FreeBSD, macOS, and Windows. source
Checked against the maker's pages on 4 Oct 2026.