GParted


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.

  1. Go to GParted's download page and download the source code.
  2. Go to where you saved the downloaded tar file and extract it:
    tar -xzvf gparted-XXX.tar.gz
    Where XXX is the version of the downloaded GParted.
  3. Install the required libraries (g++, e2fsprogs, parted, gnome-common, gtkmm24, gettext and gnome-doc-utils if you want to build help documentation).
  4. Build GParted with the default configuration file and install it to the default location (/usr/local) using:
    ./configuremakesudo make install
    You can build GParted without help documentation using the flag --disable-doc.

General overview

GParted main window.

 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:

  • Menubar
    The menus on the menubar contain all of the commands you need to work with disk devices and partitions in gparted.
  • Toolbar
    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.
  • Statusbar
    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 ViewDevice 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 ViewPending 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.

Delete partition

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.

  1.  Open the GParted application from application launcher or from the command line.
  2. Enter your password.
  3. Plug the device that you want manipulate it (no need to do that if you want to work with the current HDD).
  4. Refresh the listed devices (use CTRL+R shortcut).
  5. Choose the device that you want to manipulate from the top right combobox.
  6. Write right click on the partition you want to delete, and select Delete from the context menu.
  7. Remember to apply the performed operations before close GParted. Open the Edit menu and select Apply All Operations.

Create partition

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.

  1. Right click on an unallocated partition or on a free space and choose New from the context menu.
  2. Set all the configurations in the creating wizard, then click Add.
  3. 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.