3 ms·
How do you hibernate with zram file? Is a seperate swap partition necessary for hibernating? Even if I create 200% swap file, I get `Call to Hibernate failed:
by Abishek_Muthian 2y ago
How do you hibernate with zram file? Is a seperate swap partition necessary for hibernating?
Even if I create 200% swap file, I get `Call to Hibernate failed: Not enough suitable swap space for hibernation available on compatible block devices and file systems` on fedora 40.
- RealStickman_ 2y agoYou can't hibernate with zram, the kernel has no way of distinguishing zram swap and normal swap space.
- Abishek_Muthian 2y agoI've concluded that it's a HW driver bug after trying out creating swap file, adding resume device and offset to grub; even tried setting SELinux to permissive. It tries to go into hibernate but immediately wakes up. There are others in Fedora forum who have had successful hibernate with Zram & swapfile. I didn't find anyone else with my laptop Asus ROG Strix Scar 16 (2023) with successful Hibernate either on our Linux discord.
- MrDrMcCoy 2y agoYet another reason why I prefer zswap to zram swap. When properly tuned, it's really great.