{{Short description|Open-source partition editor}} {{Distinguish|GParted}} {{Infobox software | name = GNU Parted | logo = | screenshot = GNU Parted 3.6 screenshot.webp | caption = The {{code|parted}} command and example of disk partition information | author = Andrew Clausen, Lennert Buytenhek | developer = Various | latest release version = {{wikidata|property|preferred|references|edit|Q1486221|P348|P548=Q2804309}} | latest release date = {{wikidata|qualifier|preferred|single|Q1486221|P348|P548=Q2804309|P577}} | latest preview version = {{wikidata|property|preferred|references|edit|Q1486221|P348|P548=Q51930650}} | latest preview date = {{wikidata|qualifier|preferred|single|Q1486221|P348|P548=Q51930650|P577}} | repo = {{URL|https://git.savannah.gnu.org/cgit/parted.git|GNU Parted Repository}} | programming language = C | operating system = Linux, GNU Hurd | genre = Partition editor | license = GPL-3.0-or-later | website = {{URL|https://www.gnu.org/software/parted/}} }} '''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.

{{As of|2013|alt=Currently}}, GNU Parted runs only under GNU/Linux and GNU/Hurd.<ref>[https://www.gnu.org/software/parted/manual/parted.html#Supported-Platforms GNU Parted supported platforms]</ref>

==Other front-ends==

===Text-based=== [[Image:GParted_1.3.1_screenshot.png|thumb|300px|GParted uses GNU Parted in the backend]] '''nparted''' is the newt-based frontend to GNU Parted.<ref>[http://packages.qa.debian.org/n/nparted.html Overview of nparted source package<!-- Bot generated title -->]</ref>

Projects have started for an ncurses frontend,<ref>[https://github.com/davekong/cparted cparted - ncurses interface in python/pyparted]</ref> that also could be used in Windows (with GNUWin32 Ncurses).<ref>[https://gnuwin32.sourceforge.net/packages/ncurses.htm Ncurses<!-- Bot generated title -->]</ref><!-- link has no files, page was last modified 22 Sep 2003. Top-level page has a package for PDCurses, which is not the same thing -->

'''fatresize''' offers a command-line interface for FAT16/FAT32 non-destructive resize and uses the GNU Parted library.<ref>[https://sourceforge.net/projects/fatresize/ SourceForge.net: fatresize<!-- Bot generated title -->]</ref>

'''tparted''' is the TV/FV-based frontend for GNU Parted.<ref>[https://github.com/Kagamma/tparted github.com: tparted]</ref>

===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.<ref>{{Cite web|url=https://stikonas.eu/wordpress/2019/05/02/kde-partition-manager-4-0/|title=KDE Partition Manager 4.0|website=stikonas.eu|language=en-GB|access-date=2024-01-11}}</ref> '''QtParted''' was another graphical front-end based on Qt that is no longer being actively maintained.

'''Pyparted'''<ref>[https://github.com/dcantrell/pyparted pyparted – Python bindings for GNU parted (libparted) github page]</ref> (also called python-parted)<ref>[http://packages.ubuntu.com/dapper/python-parted python-parted package in Ubuntu dapper]</ref> is the Python front-end for GNU Parted.

Linux distributions that come with parted by default include Slackware<ref>{{cite web |title=PACKAGES.TXT (Slackware-current) |url=https://slackware.osuosl.org/slackware-current/PACKAGES.TXT |website=slackware.osuosl.org |access-date=2025-12-25}}</ref>, Knoppix<ref>{{cite web |title=Complete software list DVD (dpkg-l-70.txt) |url=https://knopper.net/knoppix/dpkg-l-70.txt |website=knopper.net |access-date=2025-12-25}}</ref>, sidux{{citation needed|date=December 2025}}, SystemRescueCD<ref>{{cite web |title=Detailed packages list (SystemRescue) |url=https://www.system-rescue.org/Detailed-packages-list/ |website=system-rescue.org |access-date=2025-12-25}}</ref>, Parted Magic<ref>{{cite web |title=Current Program List |url=https://partedmagic.com/current-program-list/ |website=partedmagic.com |access-date=2025-12-25}}</ref>, and GParted Live<ref>{{cite web |title=GParted -- Live CD/USB/PXE/HD |url=https://gparted.org/livecd.php |website=gparted.org |access-date=2025-12-25}}</ref>.

==Limitations== Parted previously had support for operating on filesystems within partitions (creating, moving, resizing, copying). This support was removed in version 3.0.<ref>[http://savannah.gnu.org/forum/forum.php?forum_id=6837 parted 3.0 release notes]</ref>

==See also== {{Portal|Free and open-source software}} *List of disk partitioning software *util-linux: **fdisk **cfdisk **sfdisk *gpart *gparted *FIPS *Master Boot Record manager

==References== {{Reflist}}

==External links== *{{Official website|https://www.gnu.org/software/parted/}} *{{man|8|parted|die.net}}

{{GNU}} {{FLOSS}}

{{DEFAULTSORT:Gnu Parted}} Category:Free partitioning software Parted Category:Software using the GNU General Public License Category:Free software that uses ncurses