"Failed to open key file" at boot, after GRUB

Having two key slots is normal. One is your passphrase and the other is the keyfile.

1 Like

What i would do is if you can boot into a tty or chroot into the system otherwise is uninstall the nvidia drivers with sudo nvidia-installer-dkms -n

This will remove the nividia drivers and install the opensource nouveau drivers

update

Update, I did a reinstall using calamares. This time I used a swapfile. No keyfile error.

So itā€™s the swap partition.

Iā€™m gonna just chill with the swapfile. But at least Iā€™ve narrowed it down to a partition


Iā€™m starting to think it may be the mounting of subvolumes that is the issue.

Ie itā€™s looking for a keyfile prior to the subvolumes being mounted and accessibleā€¦ Or at least thatā€™s what Iā€™m going with.

Correct me this assumption is wrong, but if say the keyfile was deleted, wouldnā€™t the system hang on decryption post grub unlock?

Itā€™s odd as I neevr had this problem using the copy and paste instructions. This was however my first go using the installer with btrfs