1

How to merge this unallocated space to my root partition.

enter image description here

guntbert
  • 13,475
brows
  • 11

1 Answers1

1

First of all, editing partitions always comes with the risk of data loss, so please back up your system first. If you use a laptop, make sure your power supply is connected properly, you don't want to run out of battery while performing such actions.

You can't edit partitions while they are mounted, so you have to boot from your installer medium (USB,DVD) and choose the Try Ubuntu without installing option. Then open GParted. Now perform the following steps:

  1. Select the swap-partition sda6 with a right-click and choose swapoff
  2. Select the extended partition sda2 with a right-click, choose Resize/Move and increase the size of this partition to the right.
  3. Select the swap-partition sda6 with a right-click, choose Resize/Moveand move the partition to the right.
  4. Select the data-partition sda5 with a right-click, choose Resize/Move and move the partition to the right. This will take some time, 66GB of data have to be moved, be patient.
  5. Select the extended partition sda2 with a right-click, choose Resize/Move and decrease the size of this partition on it's left end.
  6. Select your system-partition sda1 with a right-click, choose Resize/Move and increase the size of the partition to the right.

After each step click the Apply-button (the small green check-mark in GParted's toolbar).

mook765
  • 18,644