[Bug 1924605] Re: Grub2 menu not loading - could not create MokListXRT

Achim Behrens 1924605 at bugs.launchpad.net
Wed Apr 21 16:37:56 UTC 2021


I think there is something wrong with the whole uefi/grub/mokutil/efivars/kernel setup on 21.04.
I changed the attributes with chattr -i and checked with lsattr. When running "rm -rf ..." i dont get an error but it doesnt delete the file. Without -rf i get the error "invalid Argument". (Running with sudo or in a root shell)

Efivarfs is mounted rw:
root at ThinkPad:/sys/firmware/efi/efivars# mount | grep efi
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)


I booted a 20.04.2 usb and checked the efivars there and that didnt include all the MoklistXRT variables.

I tried to boot with kernel parameter efi_no_storage_paranoia but that didnt help. kernel is right now 
Command line: BOOT_IMAGE=/boot/vmlinuz-5.11.0-16-generic root=UUID=cd3606bb-9444-4ef8-bcaa-6e21674ca895 ro quiet splash


I still can boot ubuntu because it "just" doesnt show grub but boots to ubuntu anyway. i also can change to the windows bootloader with choosing that on the boot device selection when pressing F12 at boot.
Nonetheless grub is not working as intended and that should be fixed.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1924605

Title:
  Grub2 menu not loading - could not create MokListXRT

Status in grub2 package in Ubuntu:
  Invalid

Bug description:
  Thinkpad T430 I5-3320M
  Ubuntu 21.04 (ZFS)
  Dual boot: Ubuntu and Windows 10 on separate drives

  Steps to reproduce:

  * system update using 'apt update' in terminal. I have attached apt log file. The problem appeared after 'Start-Date: 2021-04-15  19:40:02', last entry.
  * 'zsysctl service gc -vv' - to remove unnecessary states
  * restart the system

  Outcome:

  * Grub2 menu does not show. Instead, error messages appear: 
  'Could not create MokListXRT: Out of Resources'
  'Failed to set MokListXRT: Out of Resources'
  * After 10 sec Ubuntu starts (Ubuntu was previously set as default system)

  Expected outcome:
  * Grub2 menu with Ubuntu, Windows and recovery options

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: grub-efi (not installed)
  ProcVersionSignature: Ubuntu 5.11.0-14.15-generic 5.11.12
  Uname: Linux 5.11.0-14-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu62
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Apr 15 20:13:35 2021
  InstallationDate: Installed on 2021-03-15 (31 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20210315)
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1924605/+subscriptions



More information about the foundations-bugs mailing list