~$ sudo swapon --show
gives me this
NAME TYPE SIZE USED PRIO
/dev/sda5 partition 976M 0B -2
I want to increase my swap size. Is there a way to increase this or do I have to create a new partition or a file? I have gparted
installed and I see that there are only 2 partitions as lsblk
shows below -
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sr0 11:0 1 1024M 0 rom
sda 8:0 0 238.5G 0 disk
├─sda5 8:5 0 976M 0 part [SWAP]
└─sda1 8:1 0 237.5G 0 part /
How do I go about increasing the size?