archinstall
archinstall copied to clipboard
Hibernate option
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] .
If anywhere, I'm ok with it being in the desktop profile.
What configuration is needed for hibernate to work correctly?
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
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 :)
A setup with configured hibernate (e.g. for btrfs) with offset calculation and everything would be amazing.
Hi! If nobody is currently working on this issue, I can work on it.
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.