Hibernation device not found

Hello. I have installed a new SSD alongside the old one. I have moved my swap partition there.
I got a missing swap error, which I easily corrected in fstab.
But I am still getting this error during boot:

ERROR: resume: hibernation device "UUID=[uuid I won't copy]" not found

How can I tell Manjaro the device has changed?

BTW: since the swap is shared between Manjaro and Ubuntu, is it safe to use it to hibernate? Is there any way I can use an hibernation file on my root partition?

You probably have to rebuild your initramfs and update GRUB… :arrow_down:

sudo mkinitcpio -P && sudo update-grub

Yes, but only on the condition that you do not hibernate one system and then boot into the other one. If you plan on doing that, then you need to have separate swap devices for either system.

Yes, there is. You can create a swap file. :arrow_down:

Swap File (Arch Wiki)

Thanks @Aragorn !

1 Like

Update the resume UUID in /etc/default/grub and run sudo update-grub.

It’s just a random number (version 4 UUID), chosen when you create a partition or filesystem.

https://stackoverflow.com/questions/1709600/what-kind-of-data-can-you-extract-from-a-uuid

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.