Ubuntu – Ubuntu 20.04 Failed to Set MokListRT: Invalid Parameter


I have a MacBook Pro and only use Ubuntu on it. I just upgraded from 18.04 to 20.04.

Now when I start the computer it says:

Failed to Set MokListRT: Invalid Parameter
Could not create mokListRT: Invalid Parameter
Importing MOK states has failed: import_mok_state() failed: Invalid Parameter
Continuing boot since secure mode is disabled.

Does anyone know EXACTLY how I can fix this?? Step-by-step process I don't want to mess anything up trying to fix this.

Best Answer

  • You have to replace shimx64.efi with grubx64.efi as follows:

    sudo su -
    cd /boot/efi/EFI/ubuntu
    cp grubx64.efi shimx64.efi
  • Related Question