Ubuntu 18.04 UEFI boot fails: "MokListRT: Out of Resources"

When I try to boot my freshly burned Ubuntu 18.04 from a pen drive in UEFI mode on a Dell Latitude laptop, I get

Failed to set MokListRT: Out of Resources

In addition, I see some random colorful pixels appearing on the upper part of the screen.

In Legacy mode everything goes smoothly, and with the same burning method and configuration Ubuntu 17.10 also boots up without any disruptions – both in Legacy and in UEFI modes.

Is it a bug, a hardware incompatibility issue or am I simply doing something in the wrong way?


I have solved the problem by creating a new boot option, using grubx64.efi loader.


By default, there weren't any EFI loaders selected on the installation media, so that's why BIOS could have some trouble selecting the proper one.

For others strugglng with the same problem on a Dell Latitude, here it is a short guide:

  1. Enter BIOS setup.
  2. Select General > Boot Sequence on the left.
  3. Ensure UEFI is selected and click Add Boot Option.
  4. Enter some name and browse for grubx64.efi on the right file system (in my case it was FS1).
  5. Click Ok, save the settings and that's it!