My GParted image:
I have Ubuntu on dual-boot with Windows, but I started to need more free space for Ubuntu so I shrank the Windows partition (sda2). But I can't use the unallocated space that I have now, because it`s to the left of the Ubuntu partition (sda5) and GParted doesn't allow me to extend it to the left or the right. I can only shrink the Ubuntu partition.
How exactly can I proceed in order to use that unallocated space for Ubuntu?
Best Answer
The Ubuntu partition
sda5
is a secondary partition to the primary partitionsda4
so you can't resizesda5
beyond the size ofsda4
To resize the Ubuntu partition, you must first resize
sda4
by extending it into the free space you have created. Then the next step is to extendsda5
to use up the extra spaces insda4
. You can do this in gparted and apply the change in one go.Here are the steps:
Good luck.
PS: Should backup important stuff in case things go wrong.