GParted

Last updated
Developer(s) GParted developers
Initial releaseAugust 26, 2004;20 years ago (2004-08-26)
Stable release
1.7.0 [1]   OOjs UI icon edit-ltr-progressive.svg / 30 January 2025
Repository GParted Repository
Written in C++ (gtkmm) [2]
Operating system Linux
Type Partition editor
License GPL-2.0-or-later
Website gparted.org

GParted is a GTK front-end to GNU Parted and an official GNOME partition-editing application (alongside Disks). GParted is used for creating, deleting, [3] resizing, [4] moving, checking, and copying disk partitions and their file systems. This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks, and mirroring one partition with another (disk imaging). It can also be used to format a USB drive. [5]

Contents

Background

GParted uses libparted to detect and manipulate devices and partition tables while several (optional) file system tools provide support for file systems not included in libparted. These optional packages will be detected at runtime and do not require a rebuild of GParted. GParted supports the following filesystems: Ext2, Ext3, Ext4, FAT16, FAT32, HFS, HFS+, JFS, Linux-swap, ReiserFS, Reiser4, UFS, XFS, and NTFS. [6] [7]

GParted is written in C++ and uses gtkmm to interface with GTK. The general approach is to keep the GUI as simple as possible and in conformity with the GNOME Human Interface Guidelines.

The GParted project provides a live operating system including GParted which can be written to a Live CD, a Live USB and other media. [8] The operating system is based on Debian. GParted is also available on other Linux live CDs, including recent versions of Puppy, Knoppix, SystemRescueCd [9] and Parted Magic. GParted is preinstalled when booting from "Try Ubuntu" mode on an Ubuntu installation media.

An alternative to this software is GNOME Disks.

Supported features

GParted supports the following operations on file systems (provided that all features were enabled at compile-time and all required tools are present on the system). The 'copy' field indicates whether GParted is capable of cloning the mentioned filesystem. [7]

DetectReadCreateGrowShrinkMoveCopyCheckLabelUUID
APFS YesNoNoNoNoYesYesNoNoNo
Bcachefs YesYesYesYesNoYesYesYesNoNo
BitLocker YesNoNoNoNoYesYesNoNoNo
Btrfs YesYesYesYesYesYesYesYesYesYes
crypt / LUKS [10] YesYesNoYesYesYesYesNoNoNo
exFAT [11] YesYesYesNoNoYesYesYesYesYes
ext2 YesYesYesYesYesYesYesYesYesYes
ext3 YesYesYesYesYesYesYesYesYesYes
ext4 YesYesYesYesYesYesYesYesYesYes
F2FS YesYesYesYesNoYesYesYesNoNo
FAT16 YesYesYesYesYesYesYesYesYesYes
FAT32 YesYesYesYesYesYesYesYesYesYes
HFS YesYesYesNoYesYesYesNoNoNo
HFS+ YesYesYesNoYesYesYesYesNoNo
JFS YesYesYesYesNoYesYesYesYesYes
swap YesYesYesYesYesYesYesNoYesYes
LVM2 PV YesYesYesYesYesYesNoYesNoNo
NILFS2 YesYesYesYesYesYesYesNoYesYes
NTFS YesYesYesYesYesYesYesYesYesYes
ReFS YesNoNoNoNoYesYesNoNoNo
Reiser4 YesYesYesNoNoYesYesYesNoNo
ReiserFS YesYesYesYesYesYesYesYesYesYes
UDF YesYesYesNoNoYesYesNoYesYes
UFS YesNoNoNoNoYesYesNoNoNo
XFS YesYesYesYesNoYesYesYesYesYes
ZFS YesNoNoNoNoYesYesNoNoNo

Cloning with GParted

GParted is capable of cloning by copying and pasting. GParted is not capable of cloning an entire disk, but only one partition at a time. The file system being cloned should not be mounted. GParted clones partitions at the filesystem-level, and as a result is capable of cloning different target-size partitions for the same source, as long as the size of the source filesystem does not exceed the size of the target partition. [12]

See also

References

  1. "GParted 1.7.0". 30 January 2025. Retrieved 31 January 2025.
  2. "The GParted Open Source Project on Open Hub" . Retrieved 2024-12-17.
  3. Carias Stas, Chris Patrick (2021-04-20). "How to Delete Partitions in Linux [Using fdisk and GParted]". It's FOSS. Retrieved 2022-08-17.
  4. Hoffman, Chris (2022-08-12). "How to Enlarge a Virtual Machine's Disk in VirtualBox or VMware". How-To Geek. Retrieved 2022-08-17.
  5. Trevor, Bekolay (2010-05-11). "How to Format a USB Drive in Ubuntu Using GParted". How-To Geek. Retrieved 2022-08-17.
  6. Timme, Falko. "Modify Your Partitions With GParted Without Losing Data" . Retrieved 2022-08-17.
  7. 1 2 "GParted Features" . Retrieved 2018-03-21.
  8. Brockmeier, Joe (2006-05-18). "A quick look at the GParted live CD". linux.com . Retrieved 2022-08-17.
  9. "SystemRescue - Standard partitioning tools". SystemRescue website. Retrieved 2022-08-17.
  10. GParted — News Item 207
  11. GParted News Item 236
  12. "Gparted Manual: Copying and Pasting a Partition".