Hibernate

First set up swap.

Next add resume=swap_partition to kernel parameters.

For example, with UUID add:

Initramfs

If using the base hook, add resume after the udev hook in /etc/mkinitcpio.conf:

HOOKS="base udev resume autodetect modconf block filesystems keyboard fsck"

If using the systemd hook, resume isn't needed.

Last updated