archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Hibernate option

Open kubaorlen opened this issue 3 years ago • 8 comments

If you choose swap on zram, installer could setup hibernate option out of the box, to avoid manual fixes after installation. Maybe this possibility should work only if you want install desktop or give user choice Do you want use hibernate? [Y/N] .

kubaorlen avatar Feb 18 '22 15:02 kubaorlen

If anywhere, I'm ok with it being in the desktop profile.

Torxed avatar Feb 18 '22 19:02 Torxed

What configuration is needed for hibernate to work correctly?

dylanmtaylor avatar Feb 18 '22 19:02 dylanmtaylor

I was looking for solution for this issue and I realized it's impossible to use zram for hibernate :D , https://forum.manjaro.org/t/zram-zswap-and-hibernation/82348

but not working hibernate with zram i not the solution. In my opinion, choise beetwen methods of implemetation swap on the computer should be expanded. for eg.

Do you want use swap? [Y/N]
Y

choose the type of swap?
0 swap partition 
1 swap file
2 zram (hibernate not working)

in option swap partition and swap file hibernate will work

if you choose swap partition you can input size of it eg. 4GB

Here is explained how to make hibernation with swap partition and swap file https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation

kubaorlen avatar Feb 19 '22 10:02 kubaorlen

We do expect users to research the options or know what the options mean. Sure the goal is to help new users to feel welcome, but if they after a install realizes for instance that their choices doesnt work, it shouldnt be the end of the world to re-install or manually comfigure something differently.

So explaining everything in menu comments, isnt ideal i would say. The option menu is a nice touch tho, but will be a bit of a PITA to squeeze in. I dont mind a PR on it - but i think it falls far behind on my priority list due to other stuff needing to be dome first :)

Torxed avatar Feb 20 '22 06:02 Torxed

A setup with configured hibernate (e.g. for btrfs) with offset calculation and everything would be amazing.

weilbith avatar Sep 08 '22 05:09 weilbith

Hi! If nobody is currently working on this issue, I can work on it.

lihe07 avatar Dec 07 '23 00:12 lihe07

Hi! If nobody is currently working on this issue, I can work on it.

After just setting this up manually on my own machine, I think it would be an awesome addition for ease of setup.

titandino avatar Dec 27 '23 05:12 titandino