Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Grub loader error

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
deodre
Posts: 3
Joined: 2022-11-20 10:30

[Software] Grub loader error

#1 Post by deodre »

Hi,

I have a dual boot configuration on my laptop with 2 drives, one with Windows 11 and one with Debian 11. The secure boot is enabled and I didn't face any problems until now. I recently updated both systems and now when I start the system a message appears before the Grub loader with the text of error: prohibited by secure boot policy. After this error message, the Grub screen shows but not as usual. The box characters are replaced by "?" characters. I don't know much about this subject hence I don't know how to locate the problem. I will attach here an image of what de bootloader looks like: Image.

Thank you!

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [Software] Grub loader error

#2 Post by p.H »

I do not see any image.

deodre
Posts: 3
Joined: 2022-11-20 10:30

Re: [Software] Grub loader error

#3 Post by deodre »

I'm sorry, I don't know what happened to the link. Here is the image: https://imgur.com/a/Mg6ocVD

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Software] Grub loader error

#4 Post by sunrat »

deodre wrote: 2022-11-26 12:09 I'm sorry, I don't know what happened to the link. Here is the image: https://imgur.com/a/Mg6ocVD
You linked to the image web page, not the image itself. It appears to show a normal GRUB screen.

Image
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [Software] Grub loader error

#5 Post by p.H »

sunrat wrote: 2022-11-26 12:39 It appears to show a normal GRUB screen.
Pay attention to the border frame and the up and down arrows that should be displayed at the bottom.

I got the same if UEFI secure boot is enabled after upgrading grub-efi-amd64-signed to the latest stable version (1+2.06+3~deb11u4) and reinstalling GRUB.
It is related with the following changes in grub2 source package:

Code: Select all

grub2 (2.06-3~deb11u4) bullseye-security; urgency=high

  [ Steve McIntyre ]
  * Pull in upstream patches to harden font and image handling -
    CVE-2022-2601, CVE-2022-3775.
See https://bugs.debian.org/cgi-bin/bugrepo ... ug=1024447 for more details. GRUB is not allowed to load fonts from separate files any more when secure boot is enabled, but IIUC it has no embedded fonts yet. Hopefully it will be fixed in the next update.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Software] Grub loader error

#6 Post by sunrat »

p.H wrote: 2022-11-26 13:41
sunrat wrote: 2022-11-26 12:39 It appears to show a normal GRUB screen.
Pay attention to the border frame and the up and down arrows that should be displayed at the bottom.
Aaah, gotcha. It's kinda blurry so I didn't spot that. Nice catch.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

deodre
Posts: 3
Joined: 2022-11-20 10:30

Re: [Software] Grub loader error

#7 Post by deodre »

p.H wrote: 2022-11-26 13:41 See https://bugs.debian.org/cgi-bin/bugrepo ... ug=1024447 for more details. GRUB is not allowed to load fonts from separate files any more when secure boot is enabled, but IIUC it has no embedded fonts yet. Hopefully it will be fixed in the next update.
Thank you for this information and for your help, now the things are much clearer!

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [Software] Grub loader error

#8 Post by p.H »

The issue should be fixed in upcoming Debian 11.6 release scheduled for Saturday, December 17th, 2022. New grub packages are available in bullseye-proposed-updates.

Post Reply