Add free space available on disk to partition

All we need is an easy explanation of the problem, so here it is.

I’m trying to add free 8gb available that I left when I was installing Ubuntu. I downloaded GParted iso and used Unetbootin to create USB. When I boot from USB, I can’t resize dev/sda5 to add free 8gb available, it’s colored gray and I can’t move it to the right, to add more space. How do I do that, what am I missing?

UPD: I screened it from my Ubuntu because I can’t screen it from the USB, but I’m booting from USB, when I’m trying to resize.
Add free space available on disk to partition

UPD: Addition to PonJar’s answer. I found similar answer, in short: it’s the same what he said, but it leaves unnecessary 1 mb free space between partitions, in order to get rid of them you need to apply every change, as I understood, before doing the next, but it also somehow will take 1mb from your previous partition, it wasn’t critical (I think so, hopefully) when moving from dev/sda6 to dev/sda5 since I have a lot of unused space in dev/sda6, but it might be critical when I was moving from dev/sda7 to dev/sda6, since it’s only 95 mb, I avoided that by leaving 1 mb when moving free space and it didn’t change from 95 to 94 as it was before. Read the PonJar’s comments about it.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

You have to move the space first so that it’s next to sda5. To do that move sda7 fully to the right into the unallocated space. The space will then be between sda7 and sda 6. Then move sda6 in the same way. Then you can expand sda5.

Method 2

Yes, you can’t add your free 8gb to dev/sda5, because both are not neighbour drives. You can join them if they are neighbour drives. Just create a new partition for free 8gb and link it to dev/sda5.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply