GParted is one of the most popular utilities used for partitioning in GNU/Linux world. GParted is developed and maintained by GNOME software team, and has a great documentation and tutroials around the web created by the community. We'll explain in this article and explore all sorts of useful things this tool can do.
Downloading and Installing
GParted comes by default in a big range of well knows distros, such as Fedora, Ubuntu and of course Uruk GNU/Linux. But in case you don't have it, and for seek to make this article general for all distros, you can follow the next instructions to get GParted installed and ready to use.
With package manager
We advice you to consult your distro's docs to get detailed instructions about installing GParted using the package manager.
Without package manager
Here are the instructions of installing GParted from the source. Please try to install GParted using package manager first.
- Go to GParted's download page and download the source code.
- Go to where you saved the downloaded tar file and extract it:
Where XXX is the version of the downloaded GParted.
tar -xzvf gparted-XXX.tar.gz
- Install the required libraries (g++, e2fsprogs, parted, gnome-common, gtkmm24, gettext and gnome-doc-utils if you want to build help documentation).
- Build GParted with the default configuration file and install it to the default location (/usr/local) using:
You can build GParted without help documentation using the flag
sudo make install
GParted UI designed to be user friendly, practical and handy. GParted main window consists, like all today GUI applications, of many bars, areas and panes. Below are the GUI elements as described in GParted official documentation:
The menus on the menubar contain all of the commands you need to work with disk devices and partitions in gparted.
The toolbar contains a subset of the commands that you can access from the menubar.
- Graphic Display Area
The graphic display area contains the visual representation of the partitions on the selected disk device.
- Text Display Area
The text display area contains the text list of the partitions on the selected disk device.
The statusbar displays information about current gparted activity or the number of operations pending.
- Device Information Pane
The device information pane displays details about the selected disk device.
By default the device information pane is not shown. To show the device information pane, choose View → Device Information.
- Pending Operations Pane
The pending operations pane displays the current list of partition operations in the queue.
By default the pending operations pane is not shown when there are 0 pending operations. To show the pending operations pane, choose View → Pending Operations.
Create, delete, name partitions and more!
GParted is full featured tool for working with partitions. Manipulating partitions with GParted is so easy. Below are some examples of doing specific regular tasks.
You can peform this action from two menus: context menu by clicking on partition, or from Partition menu from the menu bar. However, using the both menus has the same effect.
- Open the GParted application from application launcher or from the command line.
- Enter your password.
- Plug the device that you want manipulate it (no need to do that if you want to work with the current HDD).
- Refresh the listed devices (use CTRL+R shortcut).
- Choose the device that you want to manipulate from the top right combobox.
- Write right click on the partition you want to delete, and select Delete from the context menu.
- Remember to apply the performed operations before close GParted. Open the Edit menu and select Apply All Operations.
All operations in GParted have almost the same workflow. Creating a partition isn't an exception. Do the first five steps from the previous example and continue from that point with us here.
- Right click on an unallocated partition or on a free space and choose New from the context menu.
- Set all the configurations in the creating wizard, then click Add.
- Apply the performed operations.
Where to go next?
Our article was a quick overview of GParted. There are sure more things to learn about GParted. Below are some of resources we advice you to take a look at it.