I'm new with GParted and with linux partition in general.. I followed this answer : How to increase swap space?

But my situation is a bit different and "extend left/right" is driving me crazy.. I can't extend /dev/sda1 with unallocated 7.16 GB.

Someone could explain the right actions in the right order ? Or just tell me that in my case it's not possible..

enter image description here

Thanks a lot !

  • Of course you cannot extend it since there is no empty space right beside it. Tell us what exactly your aim is. Then we can help with exact instruction Mar 11, 2016 at 15:27
  • 1
    There is the swap partition, /dev/sda5, between /dev/sda1 and unallocated space. It needs to be removed before you can extend /dev/sda1. Mar 11, 2016 at 15:30
  • 1
    yes, you should delete /dev/sda5, then resize /dev/sda1 and then recreate /dev/sda5, as the others have pointed out. Mar 11, 2016 at 15:37

1 Answer 1


You can only resize partitions that have unallocated space next to what you want to resize.

So ...

  • make the whole of sda2 unallocated by removing swap.
  • make sda1 larger minus the size you want to use for swap + a few mbs overhead
  • recreate swap partition on sda2
  • Ok thanks, it works like a charm ! I was hesitant about removing the linux-swap partition ! My Ubuntu boot as expected and, now, it has 15Go for sda1.
    – Delphine
    Mar 11, 2016 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.