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.
Yeah. Finally I did it. I was reading articles about it, but really didn't want to do it through the terminal. They said Gparted only will work if free partition is on the right, but it did work for me. Thank you!
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!
Thank you for this! I couldn't figure out why I couldn't resize my partition, and it was because other partitions were in the way. I moved those one by one and then I could resize the one I wanted.
For any one dual booting. When Linux is to the right of the free space. You can move it all the way to the left. Then simply move it all the way to the right while in your fake Linux(I used the USB) and call it a day.
Great video… saved me a bunch of time in transferring three Linux systems to larger 1TB drives. I’ve been using gparted for years, but in such specific ways that I didn’t realize the move/resize function existed, much less would be so easy to use. Truly the Swiss Army knife of Linux partitioning utilities, and together with Balena Etcher or other ‘dd’-based to clone partitions you really can do what you want without too much hassle (not counting the time required to move very large partitions). I use a custom script to do the dd work, but only because Balena Etcher is hardwired to run only a single verification pass. For older drives, and especially older SSD drives, I prefer four to six verification passes just to be on the safe side, but that’s just me. It’s not so important if you’re Etching a temporary boot drive, as in this video, but it might make a difference if you’re cloning truly vital data that you want to assure isn’t corrupted. Thanks for posting this video!!
My one criticism of the video is that it dives into the weeds quickly, showing how you can’t move/resize a mounted partition, and then showing the steps to create a temporary bootable system so you can work in gparted with the target partitions unmounted. That’s a bit like burying the lead story, how gparted will be used in the end. It might have been helpful to describe the overall steps broadly before diving into the weeds right off. But that’s just me… I like to understand the overall path before thinking about individual steps. And really that’s just my one and only criticism. Very helpful!!
Used the gparted live usb with a desktop so I could quickly expand my arch installation. Thank you for showing me the sliding, that's where I got stuck.
God dammit, watched so many tuts and every time the same nonsense and no solution. And finally... i found yours. Thanks man! Helped me out - pretty easy to solve if you know what do to :D. Moving swap fixed it. Couldnt expand main drive.
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!!!
Superb video, as usual. One question: In a dual-boot situation, if Windows is at /sda2, can I use your method to shrink Windows, then extend Linux to the left instead of the right? I need to increase the space for Linux, but my unused space is at to the left of the Linux partition, not the right.
Not as easy to do, you maybe able to move the partition up into the unallocated space but I haven't had much luck with this in the past.. what I normally have to do is clone the partition up to the new space which is tricky as well. They didn't make that scenario easy. LVM's however make this process much easier.
@@SavvyNik Thanks, Nik. I was concerned that GRUB would not be able to find the new starting location for the Linux partition. Apparently it is even more complicated than what I had considered. Appreciate the prompt reply you rendered.'
It is possible as long as you use gparted, but you have to boot into a live USB. Otherwise, it will not let you extend the linux partition as it is mounted.
For any people from the future, in the words of Tom Howard, "It just works" In gparted, you can move Linux to the left and then extend it right. Nothing more to it
How did you manage that? Can you clarify? I have 1) windows, 2) ubuntu. I shrink the windows by 20 Gb, and I end up with the unallocated space right in the middle. How do I expand the Ubuntu partition to the left? Thanks!!
Should i boot into windows to create the unallowcated space before loading into the live usb in order to use Gparted? I'm dual booting with windows being my primary os
Thanks. The big 100-dollar question is what can you do if the EFI partition is in between two partitions and you want to resize one of them and move the EFI partition elsewhere.
So my problem is the efi partition is right in the middle of my unallocated space and ext4 system files partition.... So my only option is to move the efi partition to the left of it all and then grow the filesystem into the unallocated space. If I have to reinstall or repair ah well. Better than having hardly any space.
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?
Hello, thank you for this guide, he helped me a lot. However, I have a problem, because after enlarging of the partition , the system (Openmediavault) boots noticeably longer. What could be the reason?
Hi, i was just wondering if it possible to extend the boot partition? I heard you said not to mess with that partition, but is it ok to only extend it? Thanks
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?
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.
I have a question 🤔 Does EFI System partition has to be in /dev/sda1 only? I have mine in /dev/sda2. I now have /dev/sda1 unallocated. /dev/sda2 by EFI file system partition. /dev/sda3 Linux distribution. How can I add that first partition to my 3 partition?
Hey I tried this but I am getting an error to update e2fsck can you help me with this. I am using gparted on linux mint and changing files of arch linux.
Hello thanks for your tutorial! But when i click resize for ext4 then i get alert " Unable to resize read-only file system /dev/nvme0n1p7 " i don know how to fix this. Please tell me. Thanks u so much
I have window and ubuntu i have a SSD and the partition are like this Efi | window | 40gb | ubuntu / | ubuntu home | swap Now I want to get 20 space from window and add it to 40 gb which is easy so now it will look like this Efi | window | 60gb | ubuntu / | ubuntu home | swap I can do this easy but my question is can I remove 20 gb from my ubuntu home and move it over ubuntu / so that my 60 becames 80 gb Step-1 Efi | window | 60gb | ubuntu / | 20gb | ubuntu home | swap Step-2 Efi | window | 80gb | ubuntu / | ubuntu home | swap Do you think this will break the system i didn't made any changes to efi partion so I think this should be fine
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.
Thanks for sharing the useful details!
pinned
💀a.i.
Man!!! I wasted my day looking for how to do that, and you solve so easy!!! Thanks for sharing. The best video!
No problem glad you found it
Didn't know it was that easy but also hard at the same time 😅
Worked in the end. Thank you!
Thank you! I've looked at many videos on this topic and you just nailed it with the safest and easiest way to achieve this. I really appreciate it!
Glad to hear it. No problem
Yeah. Finally I did it. I was reading articles about it, but really didn't want to do it through the terminal. They said Gparted only will work if free partition is on the right, but it did work for me. Thank you!
No problem glad you were able to get it done
You saved me from having to format my work laptop, you're a legend!
Love to hear it
Thank you! I was searching for hours to know how to do this
You're welcome
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!
Thank you for this! I couldn't figure out why I couldn't resize my partition, and it was because other partitions were in the way. I moved those one by one and then I could resize the one I wanted.
Thanks for the clear and easy to follow tutorial! Helped me a lot
You're welcome! Glad you liked it.
For any one dual booting. When Linux is to the right of the free space. You can move it all the way to the left. Then simply move it all the way to the right while in your fake Linux(I used the USB) and call it a day.
T amo gracias.
i’m so stupid 🤦🤦
Excellent job; clear & concise!
Thank you! ♥️🙏🏼
Easy and straight to the point. Nice video
I suffered all round the internet till I met this. Freaking legend
Haha well thanks :)
Thank you! It worked out for me! you r the only one who showed this trick!!!!!))
Thank you again Nik! My disk looks great and uncluttered.
Incredibly useful and clear! Great video!
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.
This work for me
And without any those ads third party tool
Thanks
Glad to hear that, you're welcome!
Thanks a lot brother, I have been wondering so long for this solution but nowhere found this great solution
Thanks for posting this - did exactly what I needed!
No problem
Super easy! Cheers man, had to increase the size within ubuntu after increasing size of its virtual disk
Perfect !!! Just what i was looking for
Glad you found it!
Exactly
Fabulous tut!! 🙌✨
Great video… saved me a bunch of time in transferring three Linux systems to larger 1TB drives. I’ve been using gparted for years, but in such specific ways that I didn’t realize the move/resize function existed, much less would be so easy to use.
Truly the Swiss Army knife of Linux partitioning utilities, and together with Balena Etcher or other ‘dd’-based to clone partitions you really can do what you want without too much hassle (not counting the time required to move very large partitions). I use a custom script to do the dd work, but only because Balena Etcher is hardwired to run only a single verification pass. For older drives, and especially older SSD drives, I prefer four to six verification passes just to be on the safe side, but that’s just me. It’s not so important if you’re Etching a temporary boot drive, as in this video, but it might make a difference if you’re cloning truly vital data that you want to assure isn’t corrupted.
Thanks for posting this video!!
My one criticism of the video is that it dives into the weeds quickly, showing how you can’t move/resize a mounted partition, and then showing the steps to create a temporary bootable system so you can work in gparted with the target partitions unmounted. That’s a bit like burying the lead story, how gparted will be used in the end.
It might have been helpful to describe the overall steps broadly before diving into the weeds right off. But that’s just me… I like to understand the overall path before thinking about individual steps.
And really that’s just my one and only criticism. Very helpful!!
It took hardly 10 min to understand. Thank you so much!!!
np, glad you liked it
Used the gparted live usb with a desktop so I could quickly expand my arch installation. Thank you for showing me the sliding, that's where I got stuck.
God dammit, watched so many tuts and every time the same nonsense and no solution. And finally... i found yours. Thanks man! Helped me out - pretty easy to solve if you know what do to :D. Moving swap fixed it. Couldnt expand main drive.
Awesome to hear! Glad you liked it.
Excellent video, I had days looking for a solution, ty
You're welcome!
Great tutorial, thanks Nik!!
Glad you liked it!
Works like a charm!
Thank you brother! You saved my day!
Glad to hear it :)
Thank you for this excellent tutorial, helped me tremendously!
Glad it helped!
So much easier to boot to the live desktop disk and resize than the command line. I've done both for ubuntu server. It's a time saver.
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!!!
No problem
Thanks for your efforts
I LOVE YOU THANK YOU FINALLY SOEMTHING THAT WORKED
You are awesome my man!
thank you! had to look for this video since I'm no longer dual booting my steamdeck and wanted the space back for steamos, than you again :)
Superb video, as usual. One question: In a dual-boot situation, if Windows is at /sda2, can I use your method to shrink Windows, then extend Linux to the left instead of the right? I need to increase the space for Linux, but my unused space is at to the left of the Linux partition, not the right.
Not as easy to do, you maybe able to move the partition up into the unallocated space but I haven't had much luck with this in the past.. what I normally have to do is clone the partition up to the new space which is tricky as well. They didn't make that scenario easy. LVM's however make this process much easier.
@@SavvyNik Thanks, Nik. I was concerned that GRUB would not be able to find the new starting location for the Linux partition. Apparently it is even more complicated than what I had considered. Appreciate the prompt reply you rendered.'
It is possible as long as you use gparted, but you have to boot into a live USB. Otherwise, it will not let you extend the linux partition as it is mounted.
For any people from the future, in the words of Tom Howard, "It just works"
In gparted, you can move Linux to the left and then extend it right.
Nothing more to it
@@hector-m-carrillo Did it, and it worked! Thanks to all who replied.
Thank you, your video was very helpful for me. Keep up the good work.
No problem, thanks for the support
Thanks a lot ❤ Very nice and easy to follow tutorial. Worked well for me 😊
Np, glad to hear it
Thanks mate, I learnt something amazing today.
Glad to hear it
The training was complete and practical, thank you 🙏
Glad you liked it!
Very helpfull indeed! Keep up the great work
Thanks :))
Working flawlessly! Thank you.
No problem, glad things worked out
Thanks for the tutorial, it works really well!!!
You're welcome! Glad you liked it.
Thank you! This was clear and helpful
You’re welcome!
Thanks a lot. It works successfully for me!
You're a lifesaver ❤
Helped a lot! October 2022 ubuntu 20.0
Dual boot process works. U should most certainly be able to do it even if the unallocated space is in front of the partition.
How did you manage that? Can you clarify? I have 1) windows, 2) ubuntu. I shrink the windows by 20 Gb, and I end up with the unallocated space right in the middle. How do I expand the Ubuntu partition to the left? Thanks!!
Worked fine for me.
i just went to Disk utility and increased the size of the root partition from the os itself. it accepted, and at the blink of an eye, it was done.
Great video, but how is the preocess if the unallocated space is before the ubuntu partition? how to use that space and merge it with linux partition?
Should i boot into windows to create the unallowcated space before loading into the live usb in order to use Gparted? I'm dual booting with windows being my primary os
It felt like you're awesome!
Haha thanks!
Thanks. The big 100-dollar question is what can you do if the EFI partition is in between two partitions and you want to resize one of them and move the EFI partition elsewhere.
Good luck, that involves cloning between partitions. Typically there's not enough space for that so it has to be cloned between disks.
Exactly what I need!
BTW a very handy video.. thank you!
Amazing channel.. so many utility uploads. Subscribed!
I have the efi in the way so how do I fix that?
Same for me
Thanks bro. You saved me☺
You're the best man!
:)
OMG you bios is like a windows)))) I am using Ubuntu just in case)
So my problem is the efi partition is right in the middle of my unallocated space and ext4 system files partition....
So my only option is to move the efi partition to the left of it all and then grow the filesystem into the unallocated space.
If I have to reinstall or repair ah well. Better than having hardly any space.
I have the same problem rn, how did it go for you?
It actually went totally fine. I moved the efi partition to the far left and then extended the main space into the unallocated. No issues.
@@Ballissle Thanks for answering so fast man, good to hear that everything went ok i might try to do the same
🙏
My filesystem still shows the same size. What do I do to extend the file system to use the fully allocated space?
Need a Linux Checklist & Mind map? - learn.savvynik.com
the lord, the entity. thanks god i find you
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?
Hello, thank you for this guide, he helped me a lot. However, I have a problem, because after enlarging of the partition , the system (Openmediavault) boots noticeably longer. What could be the reason?
I have a Home Partition different from root partition. Can I shrink the home and allocated the space to the root partition using this method?
I am using arch right now and want to extend the size of root partition. Can i do it with ubuntu as you've shown in your video?
You were useful. Here's a like. Here's a sub.
Hi, i was just wondering if it possible to extend the boot partition? I heard you said not to mess with that partition, but is it ok to only extend it? Thanks
Typically no, especially when it's the first partition because that would require moving the root partition which is a mess.
still have one unallocated space that I cannot attribute to the linux partition
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?
You are a star. Thank you
You're welcome!
I had a dual boot with Linuxmint 20.3 and Win 7. The Win 7 has died, how can I reclaim the partition to add back to Linuxmint?
Great video. Everything worked! Thanks!
Can i do the same steps for Kaali Linux..?
i extracted the ubuntu file and some "discks" showed up. i can i delete them??
also a lot of file showed up. i cant delete them either!
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.
Thanks, helped a lot
You're welcome! Think about subscribing for more :)
I have a question 🤔
Does EFI System partition has to be in /dev/sda1 only? I have mine in /dev/sda2.
I now have /dev/sda1 unallocated. /dev/sda2 by EFI file system partition. /dev/sda3 Linux distribution.
How can I add that first partition to my 3 partition?
Nevermind 😊 it worked 🎉❤
Hey Everything is working fine now ! BUT my booting had become slow, what to do?
Hey, you don't know Ubuntu disks? Maybe it's available in the newer version.
I have zorin os and the storage is shown as 16gib, but the disk i put is 240 gib.
I accidentally lowered my storage how do i fix this problem i need my pc it has very important data please help
It worked for me.
please help!!! My flash drive accidentally got removed when i was gparting what should i do
how i can make a raid partion mirror or strip and cash speace in this system
Hey I tried this but I am getting an error to update e2fsck can you help me with this. I am using gparted on linux mint and changing files of arch linux.
Can we do this if it is encrypted?
I assume you have encryption setup with an lvm which is a different method - help.ubuntu.com/community/ResizeEncryptedPartitions
@@SavvyNik thanks
Thank you it helped me
Is there any safe way to extent the /boot system?
Will this remove the files in the existing ubuntu installation?
Can this be done with cmd? I have an arch usb
Hello thanks for your tutorial! But when i click resize for ext4 then i get alert " Unable to resize read-only file system /dev/nvme0n1p7 " i don know how to fix this. Please tell me. Thanks u so much
6:45 cant see whole size, just see exc4 size
Thanx learned a lot
man, my EFI partition is between the root and unallocated space
nevermind, I just figured out a way to do this
I have window and ubuntu i have a SSD and the partition are like this
Efi | window | 40gb | ubuntu / | ubuntu home | swap
Now I want to get 20 space from window and add it to 40 gb which is easy so now it will look like this
Efi | window | 60gb | ubuntu / | ubuntu home | swap
I can do this easy but my question is can I remove 20 gb from my ubuntu home and move it over ubuntu / so that my 60 becames 80 gb
Step-1
Efi | window | 60gb | ubuntu / | 20gb | ubuntu home | swap
Step-2
Efi | window | 80gb | ubuntu / | ubuntu home | swap
Do you think this will break the system i didn't made any changes to efi partion so I think this should be fine