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!
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 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.
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!!
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!!!
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.
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.
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!!
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.
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
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 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.
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.
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
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
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
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!
You saved me from having to format my work laptop, you're a legend!
Love to hear it
Thanks for the clear and easy to follow tutorial! Helped me a lot
You're welcome! Glad you liked it.
Easy and straight to the point. Nice video
I suffered all round the internet till I met this. Freaking legend
Haha well thanks :)
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.
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.
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.
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.
It took hardly 10 min to understand. Thank you so much!!!
np, glad you liked it
This work for me
And without any those ads third party tool
Thanks
Glad to hear that, you're welcome!
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!!
Thanks a lot brother, I have been wondering so long for this solution but nowhere found this great solution
I LOVE YOU THANK YOU FINALLY SOEMTHING THAT WORKED
OMG you bios is like a windows)))) I am using Ubuntu just in case)
Excellent video, I had days looking for a solution, ty
You're welcome!
Thank you for this excellent tutorial, helped me tremendously!
Glad it helped!
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
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.
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.
Perfect !!! Just what i was looking for
Glad you found it!
Exactly
Thanks for posting this - did exactly what I needed!
No problem
Only this tutorial that actually works, other just recommend a lot of useless commands
Works like a charm!
Thank you brother! You saved my day!
Glad to hear it :)
BTW a very handy video.. thank you!
Amazing channel.. so many utility uploads. Subscribed!
Incredibly useful and clear! Great video!
Thanks a lot ❤ Very nice and easy to follow tutorial. Worked well for me 😊
Np, glad to hear it
Great tutorial, thanks Nik!!
Glad you liked it!
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, your video was very helpful for me. Keep up the good work.
No problem, thanks for the support
Thanks a lot. It works successfully for me!
Thanks mate, I learnt something amazing today.
Glad to hear it
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 :)
Helped a lot! October 2022 ubuntu 20.0
The training was complete and practical, thank you 🙏
Glad you liked it!
Very helpfull indeed! Keep up the great work
Thanks :))
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! This was clear and helpful
You’re welcome!
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.
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.
You are awesome my man!
It worked for me.
You were useful. Here's a like. Here's a sub.
Need a Linux Checklist & Mind map? - learn.savvynik.com
Exactly what I need!
you are a f***cking hero!
Thanks bro. You saved me☺
Thanx learned a lot
You're the best man!
:)
You are a star. Thank you
You're welcome!
Thank you sir
It felt like you're awesome!
Haha thanks!
The hardest part for me was creating the bootable USB then updating the BIOS to put USB boot first.
UBUNTU has a Startup Disk Creator.
Thanks, helped a lot
You're welcome! Think about subscribing for more :)
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.
Thanks brother
I have the efi in the way so how do I fix that?
Same for me
thank you, really useful
Glad it was helpful! You're welcome :)
You cool man! Thank you.
Glad you enjoyed it
Great video. Everything worked! Thanks!
Thank you bro!
No problem!
thanks it worked!!
You're welcome!
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
🙏
thanks a lot 🤩
Mil gracias!
thanks man !!!!
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?
Thanks a lot.
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
still have one unallocated space that I cannot attribute to the linux partition
It works wonders!!
:)
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?
Thank you
Cheers!
🍻
Thanks
My filesystem still shows the same size. What do I do to extend the file system to use the fully allocated space?
Thank you :)
You're welcome!
Hey, you don't know Ubuntu disks? Maybe it's available in the newer version.
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.
you are the man!!!!
Thanks :)
I have zorin os and the storage is shown as 16gib, but the disk i put is 240 gib.
Great video ;) +1 like
Thanks!
Thanks a lot
You're welcome!
In love mode, my wifi adapter and bluetooth adapter are not working Nik.
Any idea ? @anybody !
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.
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.
Absolute W
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?
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
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?
Hey Everything is working fine now ! BUT my booting had become slow, what to do?