DEV Community

Rishi
Rishi

Posted on

23 4

How to expand a Linux partition using GParted?

Your Ubuntu virtual machine is running low on storage space, simply power it off and allocate more virtual hard drive space via the hypervisor settings.

Good job! Power the VM and have a look at your achievement.

Step 2

In this scenario, the VM was initially allocated 20GB, then an additional of 10GB was added.

Now, how do you claim that precious 10GB?

1- Open GParted app.
Step 1

Alternatively,
install via Ubuntu Software Manager or via the command line:

sudo apt-get install gparted
Enter fullscreen mode Exit fullscreen mode

2- Select the current partition which you want to grow/increase.
3- Then click on the orange arrow.
Step 3

4- Drag the slider to the right, to select all of the unallocated space.
Step 4

5- Make sure you are happy with the numbers of bytes 😄 .
Step 5

6- Confirm your selection.
Step 6

7- ⚠️ Read the warning message and think twice before clicking the button.
Step 7

8- Job done! ✔️✔️✔️
Step 8

Oh, I forget to mention! Backup all your important data before attempting this delicate procedure. You have been notified.

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay