how to fix disk partition which is not in order?

Posted by daygamer77@reddit | linuxadmin | View on Reddit | 9 comments

Hi,

How do you fix this setup

Device       Start       End   Sectors   Size Type
/dev/sda1     2048      4095      2048     1M BIOS boot
/dev/sda2     4096    208895    204800   100M EFI System
/dev/sda3  1257472 536870878 535613407 255.4G Linux LVM
/dev/sda4   208896   1257471   1048576   512M Linux extended boot

As you can see it seems that /dev/sda4 should be /dev/sda3

I am planning to add space on the root partition which is currently on /dev/sda3

Thanks