Partitioning: Moving an extended partition (containing / and swap) to extend another partition

Take a look at my GParted screenshot below:

My GParted screenshot

As you can see my sda3 primary partition is separated by the extended partition that contains my / and swap logical partitions.

I'd like to move sda3 to be adjacent with unallocated to extend it. After some reading, the only potential issue I can find has something to do with /boot, which is located in sda1 so it shouldn't be a problem (right?)!

My question is: Is it safe? Any issues I need to be worried about? More importantly: can anyone point me in the right direction? Maybe pointers/step-by-step instructions?

Thanks in advance!

PS: I know my partitioning is a little bit weird (newbie here). I'm planning on shrinking root and merging it with sda3 :)


Considering the fact that your root (/) partition (sda5) is too large and you also intend to reduce its size I think the best method to follow is this:

  1. Increase the size of your Extended Partition (sda4) to the right, i.e. taking in the free space at the end.
  2. Move your swap partition (sda6) to the right (you can make it 4GB as well)
  3. Move your root (/) partition (sda5) to the right and reduce its size to 20-30 GB.
  4. Reduce the size of your Extended Partition (sda4) from the left, leaving a large free space before it.
  5. Finally increase the size of your data partition (sda3) to the right, taking in the whole free space.

You can do this using GParted on a live CD/DVD/USB and you might also need to unmount your swap partition as it will probably be mounted automatically.

Safety? Nothing and nobody is 100% safe ;-)

Normally, all these 5 steps (simply moving and re-sizing partitions) should go well without any problems and your system should be completely unaffected as long as you don't attempt to delete/create partitions.

But, just in case, keep your fingers crossed ;-)

Possible precautions:

  1. Make a backup of your disk or partitions, for example using Clonezilla, Parted Magic, Redo, etc.
  2. Check if your system is intact after performing each step.