0

I'm trying to exdend my OS partition. As you will see in the screenshot I provided below, the unallocated partition is not contiguous to one of the partition I wish to increase/grow the size i.e /dev/sda6 in my case

What I'd like to do is :

  • /dev/sda6 + 20 GB borrowed from unallocated
  • /dev/sda7 + 1 GB borrowed from unallocated

How can I do that ?

Below is a screenshot from gparted

gparted screenshot

L. D. James
  • 25,444
Jason Krs
  • 103

1 Answers1

1

These steps should be performed by first booting from live media as mounted partitions shouldn't be modified.

  1. Insure that the swap partition isn't in use by by the live media by opening a terminal and issuing the command swapoff

  2. Delete the swap partition (/dev/sda7 in your example)

  3. Extend /dev/sda6 to the desired size reserving enough space for a swap partition of the desired size.

  4. Recreate the swap partition (of the desired size)

Gparted usage is beyond the scope of this answer but there is a manual available for those who are unfamiliar with it's usage.

Elder Geek
  • 36,752