You are not logged in.
So I was following this section of the wiki Unified Extensible Firmware Interface/Secure Boot Shim with keys, and installed grub and its modules that I think I'll need:
grub-install --target=x86_64-efi --efi-directory=/efi --modules="all_videos xfs tpm luks luks2 lvm cryptodisk part_gpt" --sbat /usr/share/grub/sbat.csv --bootloader-id=GRUBgrub then installs without problem, I sign everything up (vmlinuz-linux and grubx64.efi, as said by the wiki), I reenable secure boot, select shimx64.efi at my firmware and reboot.
grub then asks for my password to unlock the boot partition, then it shows me the arch linux entry option and after that this:
error: prohibited by secure boot policy.
error: file '/grub/x64_64-efi/ieee1275.mod' not found.
error: file '/grub/x64_64-efi/vbe.mod' not found.
error: file '/grub/x64_64-efi/vga.mod' not found.
error: prohibited by secure boot policy.
error: prohibited by secure boot policy.
error: prohibited by secure boot policy.
error: prohibited by secure boot policy.
error: prohibited by secure boot policy.
error: prohibited by secure boot policy.
error: prohibited by secure boot policy.
press any key to continue...At pressing any key I get back to grub entries selection.
I tried adding ieee1275, vbe and vga to the modules list but it didn't work as they don't exist (I think they don't exist for x86_64-efi target), also tried preloading all modules at /etc/default/grub that I installed with --modules flag, but the result is the same.
Last edited by ltsdw (2022-10-25 23:50:54)
Offline
Nvm guys I just forget one or two modules, so I set all modules and I was able to boot with secure boot enabled, I guess I'll disable some of them right now to see the minimum of modules that I need for my setup.
thank you ![]()
Offline