How can I add space from unallocated to extended?
Solution 1:
Using Gparted from a Live CD:
Select the swap partition
In the Partition menu, click on "swapoff"
Delete the swap partition
-
Recreate swap at the end of Unallocated (faster than moving it)
Optional: Turn swap back on
Resize sda5 as desired
Solution 2:
- Extend the extended partition.
- Move the 2 GB partition at the end of the extended partition.
- Extend the 10 GB partition.
That will normally do the trick.