Linux oplossing

Overgang van Windows10 naar Linux Mint: problemen bij laden Linux

1.) "Failed to open \EFI\BOOT\mmx64.efi – Not Found"

Bij het laden van Linux Mint vanaf de USB-stick leek in eerste instantie het proces goed te gaan totdat er een melding kwam dat de harddisk beveiligd was met Bitlock. Het advies werd gegeven om eerst de beveiliging van de harddisk te verwijderen voordat Linux kan worden geïnstalleerd.

Vervolgens Windows10 weer opgestart en de Bitlock beveiliging er af gehaald. Daarna weer een nieuwe poging gedaan om vanaf de USB-stick Linux te installeren.

Echter, toen gaf direct bij het inlezen van de installatiegegevens het systeem de melding "Failed to open \EFI\BOOT\mmx64.efi – Not Found".

Ik heb gecontroleerd of dit bestand in de betreffende directory op de USB-stick aanwezig is. Dat was niet het geval.

Vervolgens op internet gezocht naar een oplossing. De volgende oplossing is gevonden:

  • Ga op de USB-stick naar de directory \EFI\BOOT\

  • Kopieer het bestand grubx64.efi

  • Hernoem het bestand grubx64.efi naar mmx64.efi

  • Plaats het hernoemde bestand in de directory \EFI\BOOT\ van de USB-stick *)

  • Na het opnieuw starten van Linux vanaf de USB-stick kreeg ik de melding: "error: shim_lock protocol not found"

  • Vervolgens heb ik in de BIOS de optie "Secure boot" geïnactiveerd

  • Daarna kon de installatie van Linux Mint probleemloos worden hervat

  • Na de installatie heb ik in de BIOS de optie "Secure boot" weer geactiveerd

*) Bij het plaatsen van het bestand mmx64.efi kreeg ik de melding dat er onvoldoende ruimte op de USB-stick aanwezig was. Voor het maken van de opstart USB-stick had ik gebruik gemaakt van het programma Balena Etcher. Deze formatteert de USB-stick standaard voor 4Gb, terwijl de stick een capaciteit had van 16GB. Ik heb vervolgens het programma Rufus gebruikt. Deze formatteert de stick op de maximale capaciteit. Daarna kon het bestand mmx64.efi moeiteloos worden geplaatst.

2.) Could not create MokListRT: Volume Full

Could not create MokListRT: Volume Full
Could not create MokListXRT: Volume Full
Could not create SbatLevelRT: Volume Full
Could not create MokListTrustedRT: Volume Full
Something has gone seriously wrong: import_mok_state() failed: Volume Full

The solution for me was clearing the EFI variables and then disabling secure boot.

On my Asus X556 laptop, I followed the following steps, but they'll vary for each computer:

  • Press F2 during boot to enter the BIOS

  • Press F7 to enabled Advanced Mode

  • Security > Secure Boot > Secure Boot Control: Enabled. You need to enable Secure Boot to access the key management.

  • Security > Secure Boot > Key Management: Reset to Setup Mode to clear all the variables and keys. It should show "No Key" multiple times.

  • Security > Secure Boot > Secure Boot Control: Disabled. Secure boot must be disabled because there are no valid keys.

  • Save and exit

The message "could not create moklistrt volume full" means that the CMOS memory are reserved for EFI signatures (allowed OS and forbidden OSs) is full and Linux cannot add its own signature. This happens not so rarely as Windows updates and Bios updates often add new entries. My way to solve the problem was to enter in BIOS, Security, Safe boot. manage keys and delete a few entries in the "forbidden" list only. Thise made room in the moklist for the new Linux keys