3

Please see attached screenshots of BIOS startup settings.

I (you don't need to tell me how stupid I was) accidentally deleted /sda1 on an Ubuntu 16.04 machine resulting in damaged EFI Boot settings.

But I was smart, too, as I had a current backup.

Ran boot recover utility - no joy.

Re-installed the Ubuntu operating system but keep getting these horror messages when booting up so I'm pretty sure it's not a OS problem. Most certainly a BIO/EFI issue.

(the screenshot with the dark background pretty much says it all)

I can boot with Ubuntu usb and access drives, etc. but booting from the hard drive just doesn't work.

Tell me what you need to know to help me. Output of commands will be gladly provided.

boot up error efi

3 Answers3

3

This thread, reply #34 was what worked.

In my case it was not a USB that would not boot (as per the article above) but the desktop machine. To fix it, I booted into a recovery disk like "boot repair" and bypassed the automatic repair sequence that boot repair steps you into once you have booted up in that recovery mode.

Then I opened a terminal and navigated to the /EFI directory on the stricken machine that would not boot.

There were two directories there: BOOT and ubuntu.

I copied the file grubx64.efi from the BOOT directory and placed it into the ubuntu directory and renamed it to mmx64.efi.

Then I closed down the machine and rebooted and entered the BIOS. Therein I set the machine to boot from ubuntu (which was never listed there previously).

That's how I fixed this mess.

There are other useful suggestion in the related thread that might help with similar issues.

Zanna
  • 72,312
0

i face the same issue as jeffschips. After upgrade my system fails with

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

So:

  1. Boot your machine from Live CD/USB, if live usb fails with same error fix it by renaming the file grubx64.efi to mmx64.efi on your usb stick related issue
  2. Mount your EFI, you can found it in gparted as "EFI" in my case it was mount /dev/nvme0n1p1 /mnt/
  3. cd /mnt/EFI
  4. There will be ubuntu and BOOT folders
  5. Copy mmx64.efi to BOOT folder(I've copied all files, this works as well) cp ubuntu/mmx64.efi BOOT/mmx64.efi

Many thanks to jdoty54

0

To fix please try the following on your USB you plan to boot from:

  1. Navigate to the EFI directory and then to the Boot subdirectory.
  2. Locate the grubx64.efi file in the Boot directory.
  3. Copy the grubx64.efi file to your Desktop.
  4. Rename the copied file on your Desktop from grubx64.efi to mmx64.efi.
  5. Copy both grubx64.efi and mmx64.efi from your Desktop.
  6. Paste both grubx64.efi and mmx64.efi into the Boot directory (EFI\Boot).
  7. Paste both grubx64.efi and mmx64.efi into the EFI\boot directory (EFI\boot).