[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hibernation fails



On 9/15/25 18:18, Eben King wrote:
On 9/15/25 17:53, Stefan Monnier wrote:
Originally everything was on HD, and hibernation worked flawlessly. Then
I converted it to a hybrid system (/, /boot, /usr, /home, swap on SSD; other filesystems on HD), and hibernation would not even pretend to start unless
I enabled swap on the HD.   Now it's all SSD, and since the conversion
hibernation fails.  It will appear to hibernate (suspend to disk) and power off, but then boot normally.  Here's the suspension from last night from the
journal:
...
There's also the issue of how this partition is guessed when rebuilding
the initrd.  I think you can specify it explicitly with
a RESUME=/dev/... in /etc/initramfs-tools/initramfs.conf, but normally
it's auto-guessed as "the sap partition" (assuming you have one and only
one).

Hmm, and that set off a chain of events.  I did

sudo find /etc -type f -print0 | sudo xargs -0 grep -i resume

and one of the results was

/etc/initramfs-tools/conf.d/resume:RESUME=PARTLABEL=swap

There is no longer such a partition.  So I'll "chmod 0" that file, reboot, and see if hibernate works.  Thanks.  BRB.

Not enough. I even ran "update-grub", same misbehavior. However, I just ran "update-initramfs -u" and that did the trick. Thanks!


Reply to: