cscs
30 September 2024 22:31
3
Just to be clear … hibernation itself can require its own configurations depending on the system.
Please see the related guide on swap file hibernation here:
Introduction
A swap file is a popular alternative to dedicated swap partitions.
But using a swap file requires extra steps to enable hibernation.
For quick-install steps skip to this section .
Required HOOKS in mkinitcpio.conf
Either the resume or systemd hook is required for hibernation.
The resume hook will be used here, and should be placed after filesystems.
Instructions Use either of the following methods.
Edit main configuration file `/etc/mkinitcpio.conf`
To edit the HOOKS lines o…