

1·
15 days agoBoth, Canadairs have been flying near the runways for hours, refueled at the airport and took water near the runways (but usually that’s okay, because they try to stay out of the way).
Both, Canadairs have been flying near the runways for hours, refueled at the airport and took water near the runways (but usually that’s okay, because they try to stay out of the way).
You have to use two swaps if you already use one swap, because one will be used when the system is on, but the second will be used to set the RAM content + the 1st content into SWAP (if any), otherwise, it would fail.
Then, find the hibernation swap uuid:
sudo swapon --show
lsblk -o name,uuid
Then
# /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=xxxx"
#/etc/initramfs-tools/conf.d/resume
resume=UUID=xxxx
# bash
sudo update-grub
sudo update-initramfs -k all -u
# to hibernate on lid switch
# /etc/systemd/logind.conf
HandleLidSwitch=hibernate
Then reboot :)
Note: this method works wonderfully, I use it personally. Just be aware that the hibernation swap content is not encrypted, so you’re vulnerable if your laptop is stolen while hibernated.
I think you’ve tried a distribution for advanced users… Something like Debian would not have triggered that! Also note that regarding dual boot, most of the time, Microsoft can be in cause (if you’re not using UEFI, if you have secure boot, and others).