How to Use GParted to Create and Resize Partitions Easily

GParted is one of the most well-known GUI tools in Linux for creating, resizing, and deleting partitions on your hard drive.

GParted (GNOME Partition Editor) is one of the most well-known GUI partition managing tools in Linux. It’s a free, open-source utility like every other widely used Linux app. The user interface is straightforward and gets the job done.

GParted is written in C++, and being a tool with a GUI, it’s relatively easy to use for anyone. The users can install the app on the most popular Linux distros by using the distro’s software center.

However, there is one crucial detail to keep in mind here. Like most partition managers, GParted can help you create and resize unmounted partitions only.

So, keep in mind that if you’ve installed GParted on your Linux distro, you can’t work with your Linux system’s partition. Therefore, you’ll need the Live USB version of GParted, which is very much the same thing.

GParted Basics

Launch GParted and enter the root password (your password, in most cases) when asked. It will take a few seconds to load up all the necessary information about the mounted or unmounted disks and partitions.

Select the disk you want to partition from the drop-down menu in the top-right.

GParted Selecting Disk

If you see a lock icon next to a disk partition, the partition is currently mounted and cannot be resized, deleted, or anything else. To unmount it, right-click on it and select “Unmount.” The lock should then disappear, allowing you to modify the partition.

Unmounting Partition

However, if you see an error like “Couldn’t unmount … target is busy,” it might be because it’s a live partition that your OS is installed on. Of course, this won’t be a problem with a Live USB. 

Create and Resize Partitions with GParted

With GParted, you can delete a partition to create a new one in another format or resize the partition. While resizing is relatively safer, you’ll have to ensure you don’t resize enough to delete the stored data.

For instance, if you have 40 GB of data on a partition, you should probably keep its size well over 40 GB. To resize, right-click on it and select “Resize/Move.”

Additionally, GParted lets you drag and resize partitions and input the exact size from the keyboard.

Resizing Partitions with GParted

As shown in the image below, you can enter any values in the text fields labeled “Free space preceding” or “Free space following.”

It is generally easier and safer to resize a partition from the tail end from the right (“Free space following”). When ready, click on the “Resize/Move” button. 

Resizing Partitions with GParted

So, you’ll now have an “Unallocated” partition. Therefore, it cannot be used until you allocate a file system.

This can also be done with a right-click. Select “New” from the context menu and then enter a size for the partition if you still want to save some space for another partition.

You can leave the default size as it is if you intend to use the entire space for the partition. Next, select a filesystem of your choice and give it a label (optional). Click “Add” when you’re ready. 

Creating New Partition

Apply Changes

Everything you do in GParted is only a preview. Nothing you did matters yet, and it won’t until you apply those changes.

So click on the “Apply” button at the top to apply your changes. Hit “Close” when the changes are applied, and you’re done. 

Applying Changes
Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%