Ubuntu – How to extend main partition with gparted live cd

gpartedpartitioning

I booted with gparted and it shows my main partition and an extended, wiht linux-swap inside(I do not know what this is) and I have about 17.00 GB of free space on a new partition but I cant seem to merge. When I click on the main partition and put resize it does not give me any options to merge, resize, etc.

enter image description here

update

enter image description here

Best Answer

First, you need to delete the partition (New Partition #1) Then you will be able to resize sda1