I installed a debian distribution and by mistake created a swap partition with the size of 3MB instead of 3GB. As one can imagine the system is not running very smooth, as soon as enough memory is used (some opened tabs in the web-browser etc.) the hard-drive starts to work like crazy and the whole system almost freezes.
To temporarily work around a proper solution and resize this partition to an appropriate amount of gigabytes, is there a way to move the swap space for an example to the users $HOME
directory?
swapoff
, deleteswap
, recreateswap
with the intended size, updatefstab
. – Jan 30 '18 at 01:06