Install and Use Open Source Disk Partitioning Tool GParted in Linux

Brief: GParted is an incredibly popular and free partition editor available for Linux distros. Here, we take a look at what it offers in brief.

GParted: A Free & Open-Source GUI-based Partition Manager

Gparted Screenshot

GParted is undoubtedly one of the best partition managers for Linux out there. The user interface is very simple and gets the job done.

In some cases, you end up using GParted to fix or format your USB drive as well. I had a USB disk which I couldn’t format in Ubuntu using the “Disks” app – this is where GParted came to the rescue.

So, it is a quite useful tool with a lot of good features. Let me highlight them for you.

Installing GParted on Ubuntu and other Linux distributions

You might have GParted pre-installed. So, make sure to verify that. If you do not have it installed, you can head into the software center to get it installed.

In case you want to use the terminal, simply type in the following command:

sudo apt install gparted

As I mentioned above, if you want the data recovery option, you should install gpart package in addition to gparted package.

If you’re using any other Linux distribution, you can either find it in the respective software manager or simply check out the official download instructions.

Warning!

Playing with disk partitioning is a risky task. Don’t do it unless it’s absolutely necessary. Or else, you might just end up wiping the entire disk.

Using the features of GParted

You can do a lot of things with GParted, ranging from a simple format task to important partitioning tasks. I’ll highlight the key features with some screenshots to help you know more about it before installing it.

Create partition tables

You can create a new partition table for your new disks or erase the content of your existing disk to modify the partition table.

Gparted Create Partition Table

You will be able to select msdos, gpt, atari, and a lot more types of partition tables.

Create, move, label, delete & modify partitions

You can easily create, label, delete or modify the partitions with a bunch of options available within GParted.

Gparted Modify Partitions

Of course, you will have to be careful about what you want to do.

The good thing is that GParted makes sure that you do not directly apply any changes – it queues up your selected operations/tasks and asks for another final confirmation before you hit it.

The tick mark symbol ✓on the top allows you to confirm the changes and then only your changes take into effect.

Here’s another screenshot for the options you have available for the partitions:

Gparted Partition Options

Attempt data rescue

Apart from editing partitions, you can also try to recover your lost data in Linux using the “Attempt Data Rescue” feature as shown in the screenshot below.

Gparted Attempt Data Rescue Feature

It is worth noting that you do not have this feature installed by default – you only see the option visible. So, for the data recovery feature to work, you have to install gpart separately using the following command (on Ubuntu/Debian-based distributions):

sudo apt install gpart

In addition to all the key features, it supports a wide range of storage devices and filesystems. You can learn more about it from the list of features on their official website.

Wrapping Up

GParted is a very useful and important tool when it comes to dealing with disk management and partitions. However, you will have to be careful while using it for the obvious reasons.

Have you tried GParted? Which other partitioning tool you use on Linux? Feel free to share your experiences in the comments below.

Similar Posts

  • I am unable to open Gparted. It is correctly installed. Ubuntu 20.10 I am trying to add a new 3tb hard disk. The system recognizes it, but all attempts to partition fail. I want a single partition for the entire disk.