Ubuntu – Resize Move Partitions on Dual Boot System

gparted

I would like to be able to adjust the partitions shown below. Specifically, I want to add an additional 10GB from the unallocated space to /dev/sda5 (Ubuntu install). I will then format the remaining unallocated space as NTFS so it can be shared data between Windows and Ubuntu.

I am unable to increase the size of /dev/sda5 – I am only able to shrink it.

Any assistance would be greately appreciated.

Screenshot

Best Answer

First, it's recommended to backup your data before you proceed.

You need to boot from a Live CD or Live USB (otherwise you can't modify the /dev/sda5 partition since it's your root partition) and run GParted. The following steps should be:

  • enlarge the extended partition (/dev/sda3): I recommend here to use all available space;
  • move /dev/sda7 to the right by 10 GiB;
  • move /dev/sda6 to the right by 10 GiB;
  • enlarge /dev/sda5, adding 10 GiB to it;
  • create a new partition to exchange between Ubuntu and Windows (NTFS).
Related Question