PFA the current partitions on my disk. The second partition (selected one) is the swap partition (8gb), but recently I upgraded ram and want to make swap 16gb.
I get this message when using systemctl hibernate
:
Failed to hibernate system via logind: Not enough swap space for hibernation
Originally I wanted to shrink nvme0n1p3
and shift it towards right end and then expand the 2nd partition. However life isn't so easy and Gparted
doesn't allow those kind of operations (at least I wasn't able to figure that out).
Another idea I have is to delete the swap partition, and expand the nvme0n1p3
partition to left, and the shrink it from right to make space for swap. However I am not sure whether that will work or is that the best way to go around it. Also if I do this, are there any chances that GRUB would somehow manage to not boot into my OS. I have only one OS, no dual boot.
Can someone pls guide me.