Jun 222021
 

Note to self:

If during a Linux update you get the following error:

update-initramfs: Generating /boot/initrd.img-whatever
W: initramfs-tools configuration sets RESUME=UUID=some-uuid-goes-here
W: but not matching swap device is available.
I: The initramfs will attempt to resume from /some/device
I: (some-other-uuid-goes-here)
I: Set the RESUME variable to override this

Check the content of the file /etc/initramfs-tools/conf.d/resume which sets the above mentioned RESUME variable. It probably contains an old UUID. Change it to the correct one and rebuild your ramfs with

update-initramfs -u

That should do the trick.

The current swap partition is usually given in /etc/fstab.

I found this information on this blog.

 Posted by on 2021-06-22 at 18:34