LinuxCommandLibrary

gparted

Manage disk partitions graphically

SYNOPSIS

gparted [OPTION...] [DEVICE]

PARAMETERS

--help
    Display usage help and exit

--version
    Display version information and exit

DESCRIPTION

GParted, or GNOME Partition Editor, is a free, open-source graphical tool for managing disk partitions on Linux systems. It provides an intuitive interface to perform operations like creating, resizing, moving, copying, deleting, and checking partitions without data loss in many cases. Built on top of the libparted library, it supports a wide range of filesystems including ext2/3/4, btrfs, FAT16/32, NTFS, HFS+, XFS, and more. Users can view partition details, align partitions for optimal performance, and handle disk labels (e.g., GPT, MSDOS).

GParted is commonly used during system installation, recovery, or maintenance to adjust disk layouts. It displays real-time information on free space, used space, and filesystem status. Operations are queued and applied only after confirmation to prevent mistakes. While powerful, it requires caution as partitioning errors can lead to data loss. Typically launched via command line with root privileges, it opens a GUI window for interactive use. Available in live CDs like SystemRescue or most distro repositories.

CAVEATS

Requires root privileges (sudo gparted). High risk of data loss; always backup first. Needs X11/Wayland display server. Operations on mounted partitions limited.

LIVE USAGE

Boot from GParted Live ISO for non-destructive editing on running systems.

KEY FEATURES

Resize/move/copy without data loss, filesystem checks, label management, SSD alignment.

HISTORY

Developed by Bart Hanlon starting in 2006 as part of the GParted project. Relies on libparted since 1.0. Uses GTK for GUI. Major releases align with feature additions like Btrfs support (v0.4, 2009) and NVMe handling (recent). Widely included in distros and live environments.

SEE ALSO

parted(8), fdisk(8), cfdisk(8), gdisk(8), mkfs(8)

Copied to clipboard