2

I successfully migrated from my old 120gb SSD to a 256gb SSD by using dd from a gparted Live USB. I am using Ubuntu and Windows 10 with dual-boot (grub). Everything boots fine :-)

Now I want to resize the partitions to get access to the unallocated space. Gparted and Windows do not give me the option to increase the partition size (I guess this is because it would change the position of the boot sectors).

This is how everything looks from the GParted live side: enter image description here Do you have any suggestion to increase the partition sizes of /dev/sda2 and /dev/sda6?

1 Answers1

2

Changing partitions on the fly is dangerous! Make a full System backup using CloneZilla Live First!

As /dev/sda6 is inside an extended partition with no contiguous space behind it, you need to:

  1. Grow the /dev/sda3 partition with the amount that you want to increase /dev/sda6.
  2. move /dev/sda5 to rightmost boundary of the above
  3. extend /dev/sda6 with the space now available to its right

To be able to resize /dev/sda2, I would:

  1. move /dev/sda3 completely to the right
  2. reboot to test
  3. expand /dev/sda2 but leaving 10% of the disc unallocated!
    (that way, you can still expand sda3 to the left or sda2 to the right in the future!)

Done! :-)

Fabby
  • 35,017