this post was submitted on 06 Jun 2024
43 points (100.0% liked)

Framework Laptop Community

56 readers
1 users here now

Related links:

Related communities:

founded 3 years ago
MODERATORS
 

I assembled my new Framework laptop 16 yesterday and tested it out with a live Linux Mint environment.

Today I tried to install Linux Mint to a storage expansion card. During the instillation, I had to create a secure boot password for the codecs. When partitioning, I made a 32GB Swap and had the rest of the storage as root. During the instillation, there was a fatal error. I tried unmounting the partitions on the card to create a new table to try again (using fdisk). This also gave an error, so I decided to reboot.

When rebooting, the error shown in the image was displayed and then the computer is powered off. Trying to turn it on without the live USB inserted goes to bios. I tried re imaging the USB, but the Framework still displays the same error. I tried disabling secure boot; same result. I tried factory resetting secure boot; same result. I tried booting without the expansion card; same result.

Transcription:

Failed to open \EFI\BOOT\mmx64.efi - Not Found
Failed to load image ###: Not Found
Failed to start MokManager: Not Found
Something has gone seriously wrong: Import_mok_state() failed: Not Found

The "#"s are completely solid (or possibly checked) characters.

I tried creating a debian USB, but using that gave the same error.

I'm unsure what I should do. Any help would be great. Thank you in advance!

Solution: Go into the BIOS with the USB inserted and locate the boot from file option, then navigate the usb to find the grub efi file and use it to boot.

top 12 comments
sorted by: hot top controversial new old
[–] lorgo_numputz 15 points 3 months ago (1 children)

Upvoted because you came back to put in the solution

[–] s12@sopuli.xyz 2 points 3 months ago
[–] fl42v@lemmy.ml 10 points 3 months ago

The error shown in the image is unreadable. Can you take a pic of it specifically?

[–] Tolookah@discuss.tchncs.de 7 points 3 months ago (1 children)

I'm not able to help, but That text is really hard to read, can you either type it out or give a much better picture?

[–] s12@sopuli.xyz 6 points 3 months ago

Sorry. The hosting site may have reduced the quality. I've added a transcription to the post.

[–] narc0tic_bird@lemm.ee 5 points 3 months ago

I had pretty much the same problem on a ThinkPad T490 after a borked Mint install. It tells the EFI to boot into MOK Manager but doesn't provide it under the path (mmx64.efi).

I don't 100 % remember what I did to fix it but I think I booted into an EFI Shell and wiped boot entries off the NVRAM. Resetting the BIOS should do that, but this may vary by manufacturer.

[–] Luci@lemmy.ca 2 points 3 months ago* (last edited 3 months ago) (1 children)

Kinda sounds like the bootloader didn't install or the boot partition got mangled.

If there isn't anything of value you could just reinstall, would make sense to use fresh media and use the built in verification before installation.

If you need the data back, use a valid live cd to copy it off the system first.

Edit: consider a page file over a swap partition as it can be adjusted on the fly without a reboot. I work with VMs a lot and having a page file has been very helpful when I need a little boost or want to slim down.

[–] s12@sopuli.xyz 2 points 3 months ago (1 children)

Umm... thank you, but I'm not sure you understood my issue.

If there isn’t anything of value you could just reinstall

use a valid live cd

I ... can't.

I don't have any data that needs backing up. It's a new computer. I'm trying to install, but I can't boot off the live media.

[–] Luci@lemmy.ca 4 points 3 months ago (1 children)

Does the bios have an option to EFI boot from a USB? Sometimes there is a tiny file manager in the boot options that will allow you to boot from an EFI file off a USB key and not just by selecting a different boot option, the issue here seems to be that the firmware is trying to boot from a file that doesn't exist. The odd part is that it won't work from your USB because it seem to be trying to chain boot efi files that don't exist.

Are you sure your live media is good? Does it boot on another system?

[–] s12@sopuli.xyz 2 points 3 months ago (1 children)

Sometimes there is a tiny file manager in the boot options that will allow you to boot from an EFI file off a USB key and not just by selecting a different boot option,

This worked!!

Back into my live environment now.

I'll update my post once I've checked that there are no further problems.

[–] Luci@lemmy.ca 2 points 3 months ago

Glad I could help, please leave an upvote on your way out :))

[–] Mangoholic@lemmy.ml 2 points 3 months ago

I am 1st time linux user I wanted to install mint from usb. At first it worked then when i tried to install it, I could not because of bitlocker. I then rebooted but windows already activated bitlocker, and afterwards any usb boot would show the exact same error message you have. I ultimately had to wipe my encrypted partition of win and installed Ubuntu instead. I am happy for now, learning to use linux with Ubuntu and maybe try mint or arch when more advanced. Maybe that helps you in some way best of luck.