Dear friends,
For the first time I am using Linux Mint with full disk encryption.
However, after installing the system (20.2), I am not able to resize the swap file.
I can actually perform the resize, but it is undone after the next reboot.
The commands I've always used (to generate a 4gb swap file) are these:
swapoff -a
dd if=/dev/zero of=/swapfile bs=1M count=4096
mkswap /swapfile
swapon /swapfile
I didn't have this problem when I used only the encrypted home folder. So, I ask you guys, how do I make the swap file resize persistent?
Best Regards,
Tupi
Swap file resize with LUKS [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Swap file resize with LUKS [SOLVED]
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Swap file resize with LUKS
I solved the problem with the swapspace package
Now I have a dynamic swap file
Now I have a dynamic swap file