Jump to content

GParted

From Wikipedia, the free encyclopedia
Developer(s)GParted developers
Initial releaseAugust 26, 2004; 20 years ago (2004-08-26)
Stable release
1.6.0[1] Edit this on Wikidata / 26 February 2024
RepositoryGParted Repository
Written inC++ (gtkmm)[2]
Operating systemLinux
TypePartition editor
LicenseGPL-2.0-or-later
Websitegparted.org

GParted (acronym of GNOME Partition Editor) 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]

Background

[edit]

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

[edit]

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]

Detect Read Create Grow Shrink Move Copy Check Label UUID
APFS Yes No No No No Yes Yes No No No
BitLocker Yes No No No No Yes Yes No No No
Btrfs Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
crypt / LUKS[10] Yes Yes No Yes Yes Yes Yes No No No
exFAT[11] Yes Yes Yes No No Yes Yes Yes Yes Yes
ext2 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ext3 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ext4 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
F2FS Yes Yes Yes Yes No Yes Yes Yes No No
FAT16 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
FAT32 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
HFS Yes Yes Yes No Yes Yes Yes No No No
HFS+ Yes Yes Yes No Yes Yes Yes Yes No No
JFS Yes Yes Yes Yes No Yes Yes Yes Yes Yes
swap Yes Yes Yes Yes Yes Yes Yes No Yes Yes
LVM2 PV Yes Yes Yes Yes Yes Yes No Yes No No
NILFS2 Yes Yes Yes Yes Yes Yes Yes No Yes Yes
NTFS Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ReFS Yes No No No No Yes Yes No No No
Reiser4 Yes Yes Yes No No Yes Yes Yes No No
ReiserFS Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
UDF Yes Yes Yes No No Yes Yes No Yes Yes
UFS Yes No No No No Yes Yes No No No
XFS Yes Yes Yes Yes No Yes Yes Yes Yes Yes
ZFS Yes No No No No Yes Yes No No No

Cloning with GParted

[edit]

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

[edit]

References

[edit]
  1. ^ "GParted 1.6.0". 26 February 2024. Retrieved 26 February 2024.
  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. ^ a b "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".