How to safely create or resize partitions in Linux using GParted

Here's is the easiest way of creating and resizing hard disk partitions on your Linux PC

Creating or resizing hard disk partitions is usually considered a risky process. One wrongdoing can render the PC unbootable and then comes a lengthy process of recovery.

GParted is a free and open source utility that can simplify the partitioning process. Written in C++, GParted is GUI based and therefore beginner friendly and safe. GParted can be installed on most popular Linux distros including Ubuntu, Fedora, Arch Linux, and their derivatives via their software center.  Alternatively, you can create a Live USB drive. Similar to any other partitioning software, the installed version is useful while partitioning a non-active hard disk, meaning hard disk not running the Linux distro you have booted into.

The GParted Live USB drive is extremely helpful when you want to resize the active partition. Head over to our tutorial on creating the GParted Live USB drive and come back with the bootable drive. Both versions are essentially the same when it comes to using it. If you are working with active partition, boot into the GParted Live USB drive and continue with the creating and resizing hard disk partitions.

Creating and Resizing New Partitions

Step 1) Launch GParted and enter the root password when prompted.

Step 2) Use the drop-down box to select the hard disk that you want to partition.

Select the hard disk
Select the hard disk

Step 3) If you see a lock icon next to the hard disk partition, it implies that the hard disk is currently mounted. You need to first unmount it. To do that, simply right-click on the partition and select “Unmount”. The lock should disappear. If you see any error “Couldn’t unmount..target is busy”, it could be because you are working on the active partition that is running the Linux operating system. You must use GParted Live USB drive in such case.

Unmount Hard diskStep 4) In order to create a new partition, right-click on the item and select “Resize/Move”.

Creating New Partition
Creating New Partition

Step 5) You can drag and resize or simply enter the partition size you need. For example, I’m entering 512000 (500GB) in the “Free Space Following (MiB)” box. This is the new partition size that’s going to get created. Click “Resize/Move” button.

Adjust Size
Adjust Size

Step 6) You should see a new “Unallocated” partition created. This doesn’t have a file system yet. Right-click on it and select “New”.

New Partition
New Partition

Step 7) You can format it to the file system you like. NTFS file system is the best bet for cross-platform operating systems including Windows. ext4 file system is great for Linux only systems. Label it to whatever you want and click “Add”.

Format File System
Format File System

Step 8) Till this point all you did is only a preview. This is the last chance to review the changes you want to apply the changes before you commit. When you are sure about the changes, go ahead and click on the green check button followed by “Apply” to the warning message.

Applying all actions
Applying all actions

Step 7) Wait for the process to finish. When it’s complete, you should see new partition in the file manager.

Process Complete
Process Complete

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities, especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. I hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

1 COMMENT

  1. I’m a Linux newbie even though I’m 71 years old. I’ve never been computer savvy and didn’t like the Windows business model,being a disability pensioner with a very limited income. A friend told me about Linux and installed Ultimate Edition 2.9 onto my computer for me. After a while I switched to Linux Mint with the XFCE desktop and loved it. Whenever I need to know something I just ask Firefox and my help usually comes from one of your postings so may I say thank you very much for sharing your expertise. Studying your information makes me feel like a child being given knowledge by a wiser being.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,241FansLike
399FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

MUST READ

“I am because you are,” is the themed meaning behind the famed Ubuntu operating system. Moreover, this mindful phrase is practical because it continues to lure more individuals into the Ubuntu universe. Because great power beckons great responsibility, Ubuntu is stepping up. It realizes that different users will want to use the Ubuntu operating system software differently.
The Ubuntu Cinnamon Remix brings together Linux Mint's Cinnamon desktop with the Ubuntu Core. While some users are welcoming the new flavor of Ubuntu with open arms, others are scratching their heads, wondering where it fits in.

10 Reasons to use Cinnamon as your Desktop Environment

With the release of Gnome 3 in 2011, there was quite a mixed reaction from users and developers. Most of them preferred the original Gnome that got forked, and one of those forks was Cinnamon. Since the release of Cinnamon 2.0, Cinnamon has evolved to become a desktop environment by itself.

15 Tar command in Linux uses with examples

Tar is a famous utility that is basically used for collecting multiple files in a single archive. This file is often called a 'tarball'. Today, we are going to tell you about the different things you can do with tarballs using the tar command, with practical examples.

How to dual-boot Ubuntu and Fedora on your PC

Every Linux distribution has its capabilities and preferences as per the user requirements. That brings forth the need to run different distros on one laptop. For example, a CyberSecurity enthusiast might prefer to use Ubuntu for development and Kali Linux for penetration testing.

Ubuntu MATE 20.04 LTS Review: Refinement at its Best

Ubuntu MATE 20.04 LTS was released a week ago after two years of development. Official updates and security patches will be provided until April 2025. I have installed it on my test laptop for a spin and here are my observations based on almost a week usage.