I want to increase the size of my home partition (ext 4 in picture), I know how to expand partition if there is a free space to the right of my partition. But the partition to the right of my ext4 partition is swap space and I don't know if I want to interefere with that. Is there anyway I can expand my ext 4 partition to get size from the partition left of it (/dev/sda5)? Thanks in advance!
1 Answer
I would recommend using a GParted LiveCD from here. AFAIK you cannot change a partition that is currently mounted.
And about the resizing. You can always remove space from one partition and move it to the left or right side of the partition. That way you can move a free space from the very left to the very right.
-
How do I move a free space from left to right? It doesn't give me any such option.– VamshiJan 19, 2018 at 18:35
-
Click Resize/Move and then click on the partition block with the arrows and drag it to one side.– SakkakuJan 19, 2018 at 21:52
-
Thanks, It works, I will try and get the gparted live and try. Thanks!– VamshiJan 20, 2018 at 5:11
/dev/sda5
is a Windows partition, I would first use Windows tools to shrink it. Then use a Live USB/DVD of Ubuntu and Gparted to move/dev/sda8
(ext4) to the left and then expand it.