Reference articles on history, science, culture and more
Encyclopedia

GNU Parted

Open-source partition editor

Image credit is listed at the end of this article.

GNU Parted (from GNU partition editor) is a free partition editor, used for creating and deleting partitions. This is useful for creating space for new operating systems, reorganising hard disk usage, copying data between hard disks, and disk imaging. It was written by Andrew Clausen and Lennert Buytenhek.

It consists of a library, libparted, and a command-line front-end, parted, that also serves as a reference implementation.

Currently, GNU Parted runs only under Linux and GNU Hurd.

01Other front-ends

Text-based

nparted is the newt-based frontend to GNU Parted.

Projects have started for an ncurses frontend, that also could be used in Windows (with GNUWin32 Ncurses).

fatresize offers a command-line interface for FAT16/FAT32 non-destructive resize and uses the GNU Parted library.

tparted is the TV/FV-based frontend for GNU Parted.

Graphical front-ends

GParted is a graphical program using the parted libraries. It is adapted for GNOME, one of the two major desktop environments (the other being KDE) for Unix-like installations. It is often included as utility on many live CD distributions to make partitioning easier.

KDE Partition Manager is a Qt graphical program, also included on many live CD distributions, which made use of parted libraries; in version 4.0 its backend KPMcore was ported away from libparted to sfdisk. QtParted was another graphical front-end based on Qt that is no longer being actively maintained.

Pyparted (also called python-parted) is the Python front-end for GNU Parted.

Linux distributions that come with parted by default include Slackware, Knoppix, sidux, SystemRescueCD, Parted Magic, and GParted Live.

GParted uses GNU Parted in the backend
GParted uses GNU Parted in the backend

02Limitations

Parted previously had support for operating on filesystems within partitions (creating, moving, resizing, copying). This support was removed in version 3.0.

Watch videos about GNU PartedExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article GNU Parted, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Images, from Wikimedia Commons:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.