btrfs with hibernation error on start
I installed Manjaro KDE with full disc encryption and choosing btrfs with hibernation. When I boot Manjaro, I get the following message, and then it starts the OS:
Failed to open keyfile.
ERROR: resume: hibernation device '/dev/mapper/luks-xxx
Here is a solution for this:
Issue is solved .. you need to simply edit the
/etc/openswap.conf
## additional arguments are given to mount for keyfile_device ## has to start with --options (if so desired) keyfile_device_mount_options="--options=subvol=@"
the option
keyfile_device_mount_options="--options=subvol=@"
is needed to get BTRS subvolume mounted .. So i was right in a way that openswap was not working .. it could not read the keyfile because it was not able to open swap partition..After editing you should rebuild kernel images ? (not sure if it is needed)
sudo mkinitcpio -P
And you can remove the swap partition from /etc/crypttab.
https://github.com/calamares/calamares/issues/1659#issuecomment-920155121