archlinux hibernate
Contents
archlinux hibernate
edit config file /etc/mkinitcpio.conf add resume field
|
|
Configure the initramfs
When an initramfs with the base hook is used, which is the default, the resume hook is required in /etc/mkinitcpio.conf. Whether by label or by UUID, the swap partition is referred to with a udev device node, so the resume hook must go after the udev hook. This example was made starting from the default hook configuration:
Remember to rebuild the initramfs for these changes to take effect.
run mkinitcpio -p linux to rebuild the initramfs
rebuild initramfs
|
|
for uefi
|
|
for syslinux
edit /boot/syslinux/syslinux.cfg
Required kernel parameters
resume=_swap_partition_
|
|
hibernate and re start the system.
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate
Author -
LastMod 2015-08-08