I have a dual boot system with Windows 10 and Ubuntu 17.04, and I have 20Gb of free unallocated space that I want to add to my Ubuntu / partition because I'm running out of space.
Although normally everything works fine, there is a small risk of something going wrong when modifying your partitions, resulting in data loss.
Therefore you should always have a current back-up of your important files before starting.
Boot from a live system, e.g. from the Ubuntu installer DVD/USB drive. Select "Try Ubuntu without installing" in the boot menu.
Start GParted on the live system.
Select your Ubuntu root partition /dev/sda8, right-click on it and click on Resize/Move.
Enlarge the partition by either dragging the left border of its graphic visualization to the left so that it covers up all unallocated space, or manually enter a value in the Free space preceeding field (probably you want 0 or whatever minimal value it allows to keep the partitions properly aligned).
Confirm your modification with the Resize/Move button.
Let GParted begin its work by clicking the green check button labelled "Apply all operations".
Once it is finished, reboot into your normal Ubuntu system on the disk. Done.
You cannot change the size of / on the run. You would have to boot from a live USB and then resize / with Gparted. This can be a risky process as your boot loader GRUB may point to an area of space for starting Ubuntu that has been moved.
Boot from a live system, e.g. from the Ubuntu installer DVD/USB drive. Select "Try Ubuntu without installing" in the boot menu.
Start GParted on the live system.
Select your Ubuntu root partition
/dev/sda8
, right-click on it and click on Resize/Move.Enlarge the partition by either dragging the left border of its graphic visualization to the left so that it covers up all unallocated space, or manually enter a value in the
Free space preceeding
field (probably you want 0 or whatever minimal value it allows to keep the partitions properly aligned).Confirm your modification with the Resize/Move button.
Let GParted begin its work by clicking the green check button labelled "Apply all operations".
Once it is finished, reboot into your normal Ubuntu system on the disk. Done.
You cannot change the size of / on the run. You would have to boot from a live USB and then resize / with Gparted. This can be a risky process as your boot loader GRUB may point to an area of space for starting Ubuntu that has been moved.