Re: hibernate uses a wrong UUID
- Date: Sun, 10 Sep 2017 13:13:31 +0200 (CEST)
- From: Pierre Frenkiel <pierre.frenkiel@xxxxxxxxx>
- Subject: Re: hibernate uses a wrong UUID
On Sat, 9 Sep 2017, Cindy-Sue Causey wrote:
Pierre's bug, he shared that extra bit about how it's checking for a
wrong UUID. It's possible I'm not cognitively grasping that the same
is mentioned in Bug #861057, but right now I'm not seeing that
referenced there. Maybe that was what was going on under the hood on
that closed bug, too..........
I recently increased my swap partition size, and the wrong UUID
was that of the old swap, and was set in the resume option of grub.cfg.
After updating grub, this problem disappears, but anyway, the hibernate stuff in Debian
seems really crazy:
I found 3 different places where the resume can be defined
I tried all 3 together, with the following result
Sep 10 12:20:08 pfr3 kernel: [ 1.186027] PM: Checking hibernation image partition /dev/disk/by-uuid/42b1dc3e-6206-4bd5-9eb4-76e97f94cd65
Sep 10 12:20:08 pfr3 kernel: [ 1.201123] PM: Hibernation image not present or could not be loaded.
Sep 10 12:20:08 pfr3 kernel: [ 2.728912] PM: Hibernation image partition 8:4 present
Sep 10 12:20:08 pfr3 kernel: [ 2.728914] PM: Looking for hibernation image.
Sep 10 12:20:08 pfr3 kernel: [ 2.729062] PM: Image not found (code -22)
Sep 10 12:20:08 pfr3 kernel: [ 2.729064] PM: Hibernation image not present or could not be loaded.
who can explain that?
It seems that the image was not written on disk when issuing the hibernate-disk command, but why ?