On Tue, 22 Nov 2022 09:12:00 +1100
Stephen Morris <samorris(a)netspace.net.au> wrote:
> On Mon, 21 Nov 2022 18:54:49 +1100
> Stephen Morris <samorris(a)netspace.net.au> wrote:
>
>> Hi,
>> I am getting the following error message displayed before the
>> display of the grub boot menu, can someone explain to me what this
>> means and why it is occurring in F37 when it was never produced in
>> F36, and what I need to do to rectify it?
>>
>> error:
>> ../../grub-core/kern/efi/sb.c:169:prohibited by secure boot policy
>>
[snip]
These issues seem to be tied to the fact that F37 is now booting with
Grub and not with what F36 was booting with (possibly systemd?), and
in F37 the grub-gfxmode statement in /etc/default/grub that worked
fine in F36 does not work in F37 even though the associated
statements are added to grub.cfg, they seem to be being ignored (I'm
thinking about raising another thread on this issue).
I think you are correct that this is related to the changes to grub
boot. I did a search, and the only relevant thing I came up with for
sb.c was:
https://elixir.bootlin.com/linux/latest/source/fs/ubifs/sb.c
It has something to do with writing architecture to the disk.
The relevant link for grub-core seems to be
https://ask.fedoraproject.org/t/grub-core-error-you-need-to-load-the-kern...
and seems to have something to do with tpm.