Enable Hibernation in openSUSE Tumbleweed
Hibernation or suspend to disk is disabled by default in openSUSE Tumbleweed . You can enable it by small work .
Step 1. sudo nano /etc/dracut.conf.d/99-fix-resume.conf
add_dracutmodules+="resume"
step 2. Rebuild intramfs
sudo dracut -fv
Step 3. Add this to boot command line (Yast boot loader)
resume=/dev/disk/by-uuid/<insert the UUID of your swap partition here>
Now Hibernation should work !
if not
Step 4. Disable Secure boot and restart
Wow ! I can't believe ! After more than 8 years I manage to hibernate successfully my nvidia/desktop for the first time !
ReplyDeleteThe key to solve was the dracut module that it was missing. I already had the resume line on grub, but the dracut module it what fixed it for good !
Without it, after hibernation command followed by a power-on, I got an empty/fresh DE, like a normal reboot.
Glad you got hibernation worked for you mate :)
Delete