In Tumbleweed hibernation is disabled by default due to security issues; basically, you could resume from the RAM image bypassing the secure boot mechanism.
If you don’t mind that (at your own risk) you need:
- switch off Secure Boot in the firmware (AKA BIOS);
- provide a swap partition (or other equivalent) at least as large as your RAM;
- create a file named /etc/dracut.conf.d/99-fix-resume.conf
for instance with the following command:
# nano /etc/dracut.conf.d/99-fix-resume.conf
with the following content:
add_dracutmodules+="resume"
- then rebuild the initrd with the following command:
# dracut -fv
- add to the boot command line an option like:
resume=/dev/disk/by-uuid/<insert the UUID of your swap partition here>
for instance using YaST-Bootloader, in the Kernel Parametrs tab, editing the “Optional Kernel Command Line Parameter” line.
At this point reboot with your fingers crossed and hibernate should work.
Please note that if your system has an Nvidia graphics card or is of the “Optimus” kind hibernation might not work because the Nvidia chip might not wake up with the right configuration.