OPERATING SYSTEMSOS Linux

Resize or Extend a Linux Partition/Volume/Disk (Swap – Ubuntu – Gparted)

Tutorial on How to Resize/Extend a Linux Partition, Volume, or Disk using Ubuntu with Gparted. This applies to all versions of Ubuntu and most Linux Distros with a Linux Swap partition. You can extend or resize your storage by using the Gparted utility.

My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com

Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)

Want more info/content?
https://savvynik.com

Userful Commands/Links:

Create Swap File – https://youtu.be/HSbBl31ohjE
balenaEtcher – https://www.balena.io/etcher/
Resize a Virtual Machine – https://youtu.be/DsJBN7WW0zA
Discord Link: https://discord.gg/zZD5q92

source

ubuntu

20 thoughts on “Resize or Extend a Linux Partition/Volume/Disk (Swap – Ubuntu – Gparted)

  • In this tutorial, the author explains how to resize a Linux partition using GParted when you have unallocated space on your hard drive. They demonstrate the process using an Ubuntu system, covering steps from creating a bootable live image to resizing the root file partition and managing swap.

    Highlights
    📟 To resize Linux partitions, create a bootable live image using tools like Balena Etcher.
    🖥 Boot into the live environment and use GParted, a disk management tool, to make the changes.
    💾 Carefully select the correct disk to avoid making changes to the wrong one.
    🔄 If you have a swap partition, turn off swap, resize or move it, and turn it back on.
    📊 Extend the root file partition to utilize unallocated space.
    🔒 Always back up your data before making changes to your disks.
    🚀 After completing the process, restart your system and ensure the changes took effect.

  • I accidentally create swap partition way higher than i need when installing linux, and i would like decrease the swap partition and make home partition the rest of it. is there any way to create home partition in gparted?

  • Thank you for this excellent tutorial, helped me tremendously!

  • After i did this i can't select where download files from my browsers and i can't select where is the default download location. I tried in brave,opera and firefox.

  • Linux simply Rocks, I use RichARCH btw. With it I was able to get Arch Linux up and running simply and quickly.

  • Thank you again Nik! My disk looks great and uncluttered.

  • Thanks a lot ❤ Very nice and easy to follow tutorial. Worked well for me 😊

  • Thank you. I tried watching a few videos before that just dragged on very slowly without saying anything and at the end my question wasn't even answered. Thank you!!!

  • I have zorin os and the storage is shown as 16gib, but the disk i put is 240 gib.

  • Question, if I already have the bootable disk with my linux distro on, can I just skip the 3 steps and just go to gparted step or still have to do all the 4 steps?

  • Thank you very much! I’ve resized partitions many times in the past, I had the issue where I shrunk one partition to add onto another, and my unused space wound up on /dev/sda9, but I couldn’t figure out how to move it over, you covered this topic very well, unlike everyone else!

  • Hey Everything is working fine now ! BUT my booting had become slow, what to do?

  • Idk why im having such a hard time comprehending swaps and ram usage on linux but i am. Im using a shit computer with 4gb ram 32gb storage so trying to optimize it

  • This really helped me. I need to move ubuntu server from a 2tb hdd to a 1tb ssd and i needed to downsize the partition in order to do that.

  • Will this remove the files in the existing ubuntu installation?

  • Works like a charm!
    Thank you brother! You saved my day!

Comments are closed.