I updated CentOS 7 via yum update
Didn't know about shim and mokutils so didn't exclude that from yum.
Now I can't boot it, I can recover the files on it using another live distro (e.g. ubuntu), but when I try to run the rescue mode from a CentOS USB key it gives me the same error:
Failed to set MokListRT: Invalid Parameter
Something has gone seriously wrong: import_mok_state()
failed: Invalid Parameter
Typical solution found is to:
cp grubx64.efi shimx64.efi
But the folder in which this file should be ( /boot/efi/EFI/centos ) is completely empty (actually, /boot is empty itself, like not even grub is installed)
Anything else that I can try?
I can at least retrieve the files... but nothing more than that.