[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1038862: debian-installer: Doesn't work in UEFI mode with a unsigned GRUB (/boot/grub/fonts/unicode.pf2 not found)



Hi Arnaud,

Arnaud Rebillout <arnaudr@kali.org> (2023-06-22):
> Dear Maintainer,
> 
> This issue doesn't affect Debian (as Debian's installer images come with
> a signed GRUB), but it affects Debian derivatives that use a unsigned
> GRUB in their installer. In particular, it did break the Kali Linux
> installer images a short while ago, cf.
> https://gitlab.com/kalilinux/packages/debian-installer/-/issues/4
> 
> The cause of the issue is this commit:
> https://salsa.debian.org/installer-team/debian-installer/-/commit/a4dc8c0f
> 
> In the change above, the GRUB font was changed from '$prefix/font.pf2'
> to 'unicode'. However nothing was done to copy the unicode font at the
> right location. It's not an issue for Debian, which uses a sigend GRUB,
> ie. a big bundle that embeds everything needed, including this unicode
> font.
> 
> However for derivatives that don't use Debian's signed GRUB (like Kali
> Linux), what we get is a more "traditional" GRUB: a small binary, and
> plenty of modules and other files that GRUB will load as need be. For
> this unsigned GRUB, we must make sure that the unicode font is present
> at the right location.
> 
> I propose the following fixes:
> 
> https://salsa.debian.org/installer-team/debian-installer/-/merge_requests/35
> to change the GRUB font from ascii.pf2 to unicode.pf2, and install it
> under the fonts/ directory.
> 
> https://salsa.debian.org/images-team/debian-cd/-/merge_requests/32 so
> that debian-cd tries to copy fonts from grub/*.pf2 and grub/fonts/.

I'll let Steve comment on this, but having had to deal with far-reaching
consequences of that very change, that seemed trivial enough, Im very
much not convinced I'd like to see more things getting tweaked there.

I acknowledge that this means a maintenance burden for downstream
distributions that would like to use an unsigned GRUB. But then, that's
their choice…


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: