You are not logged in.

#1 2025-05-08 21:25:15

lusk4
Member
Registered: 2025-05-08
Posts: 1

Secure boot with sbctl returning a bunch of unrecognized PEs

I run Arch with Hyprland and GRUB. When I try to list all signed files or doing sbctl verify, it returns that a bunch of random files from grub and etc have invalid PE headers or are not recognized. Even .png if you look at the entire thing.

Running "sbctl verify" returns this (it always returns other files that have no connection whatsoever to secure boot):

Verifying file database and EFI images in /boot...
/boot/grub/x86_64-efi/keylayouts.mod: invalid pe header

Running "sbctl list-files" returns this:

/boot/grub/x86_64-efi/trig.mod: failed reading PE file: unrecognized PE machine: 0x457f

/usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed: open /usr/lib/systemd/boot/efi/systemd-bootx64.efi.signed: no such file or directory

/boot/grub/x86_64-efi/adler32.mod: failed reading PE file: unrecognized PE machine: 0x457f

/boot/grub/x86_64-efi/ahci.mod: failed reading PE file: unrecognized PE machine: 0x457f

/boot/grub/locale/sr.mo: failed reading PE file: unrecognized PE machine: 0x12de

/boot/grub/themes/starfield/theme.txt: failed reading PE file: unrecognized PE machine: 0x2023

/boot/grub/x86_64-efi/gcry_des.mod: failed reading PE file: unrecognized PE machine: 0x457f

/boot/grub/x86_64-efi/lspci.mod: failed reading PE file: unrecognized PE machine: 0x457f

/boot/grub/x86_64-efi/smbios.mod: failed reading PE file: unrecognized PE machine: 0x457f

/boot/grub/x86_64-efi/video.mod: failed reading PE file: unrecognized PE machine: 0x457f

/boot/grub/locale/en@hebrew.mo: failed reading PE file: unrecognized PE machine: 0x12de

/boot/grub/x86_64-efi/cbmemc.mod: failed reading PE file: unrecognized PE machine: 0x457f

/boot/grub/x86_64-efi/hfspluscomp.mod: failed reading PE file: unrecognized PE machine: 0x457f

I tried signing all the usually needed files and see if I could just ignore this bunch of errors (saw on reddit someone saying it was harmless) and the secure boot didn't work.

Please help ;(

Offline

Board footer

Powered by FluxBB