Comment 13 for bug 1924605

Revision history for this message
Achim Behrens (k1l) wrote : Re: Grub2 menu not loading - could not create MokListXRT

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@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.