sda 8:0 0 400G 0 disk
├─sda1 8:1 0 953M 0 part /boot
├─sda2 8:2 0 7.5G 0 part
├─sda3 8:3 0 1K 0 part
└─sda5 8:5 0 391.6G 0 part /
I'm having this type of partitioning where sda2 is SWAP.
So I wish to remove swap and resize the sda5
I have followed many guides(used search) here and also over some other website, but no luck, if i remove both of the partitions and create new one, the server is not loaded up back and i need to reinstall it fully.
Can't use gparted as I get an error(I'm not VPS and cant run GUI).
Seems my case is specific, so how should i proceed?