[Bug 1063602] Re: 'loadfont unicode' fails in SB-signed EFI image; image and grub-install don't agree on path
Colin Watson
cjwatson at canonical.com
Mon Oct 8 10:31:00 UTC 2012
** Changed in: grub2 (Ubuntu Quantal)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1063602
Title:
'loadfont unicode' fails in SB-signed EFI image; image and grub-
install don't agree on path
Status in “grub2” package in Ubuntu:
Fix Committed
Status in “grub2” source package in Quantal:
Fix Committed
Bug description:
The stock grub config does the following:
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
[...]
fi
if loadfont $font ; then
[...]
'loadfont unicode' fails in the SecureBoot EFI image with this error:
error: file `/EFI/ubuntu/fonts/unicode.pf2' not found.
From what I can tell, this is because grubx64.efi (from debian/rules)
is built with -p /EFI/ubuntu, but grub-install copies the font to
/boot/grub/fonts (which of course is not on the EFI system partition).
In the non-SB image generated by grub-install, the prefix is set to
/boot/grub, so there's no problem; but for the SB image, we don't know
where /boot/grub will be. Either grub.cfg has to be changed to search
for such files in the SB case, or the fonts (and locales) need to be
installed to /efi/ubuntu and not just to /boot/grub.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1063602/+subscriptions
More information about the foundations-bugs
mailing list