Debian 11.6 的 grub 升级到 2.06-3~deb11u5 版本,安装此版本后,在一台 飞腾 FT-2000/4 启动,报 EFI 文件错误。
机器信息:
https://linux-hardware.org/?probe=11e15101d3
重启必现
在 Welcome to GRUB!
下出现错误提示,一闪而过
机器在安装 2.06-3~deb11u4 版本没有问题。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
对 Debian grub "2.06-3deb11u4" 版本到 "2.06-3deb11u5" 版本中间的改动进行了排查,发现
是如下这个提交导致的问题,将该提交反转后,重新编译,新的 grubaa64.efi 文件,能够正常启动。
https://salsa.debian.org/grub-team/grub/-/commit/8af342b1f1352e31c618835d8da9df088e48ec31
commit 8af342b1f1352e31c618835d8da9df088e48ec31
Author: Steve McIntyre <93sam@debian.org>
Date: Wed Nov 16 00:11:16 2022 +0000
Add fonts to the EFI images
The previous security updates disallowed loading unsigned fonts when
in SB mode. To make things work again:
* Embed the "unicode" font into the embedded memdisk image so it can
be loaded.
* Add the memdisk to our normal grubx64.efi loader too
* Add a patch from Chris Coulson to make the font loader look for
fonts in the memdisk whenever they're loaded.
Closes: #1024395, #1025352, #1024447
Backported fix from unstable.
这个提交给 efi 文件增加了字体,使 grubaa64.efi 文件大小由原来的 1M 多增加到超过 4M。
https://salsa.debian.org/grub-team/grub/-/commit/8af342b1f1352e31c618835d8da9df088e48ec31
登录 后才可以发表评论