archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

SWAP on LVM LUKS for hibernation

Open s0rau opened this issue 1 year ago • 3 comments

I would like to use hibernation, I've set zram but I can't use systemctl hibernate with zram. Can you add an option to add a SWAP partition to archinstall ?

root@archinstall : systemctl hibernate 
Call to Hibernate failed: Not enough suitable swap space for hibernation availbe on compatible block devices and file systems

SWAP is fixed to 1GiB , actually system is using only 630MiB

s0rau avatar Feb 22 '24 09:02 s0rau

FYI, zram doesn't support hibernation you either need zswap, swap file or swap partition in order to have hibernation. Swap partition needs to be at least the size of RAM to avoid errors during memory dumps.

SiddharthPant avatar Oct 30 '24 10:10 SiddharthPant

Right but at the moment the archinstall does not seems to let user to add hibernation. Can you add this feature ?

s0rau avatar Oct 30 '24 10:10 s0rau

Similar or duplicate to https://github.com/archlinux/archinstall/issues/994

svartkanin avatar Oct 30 '24 23:10 svartkanin