[Bug 1063602] Re: 'loadfont unicode' fails in SB-signed EFI image; image and grub-install don't agree on path
Launchpad Bug Tracker
1063602 at bugs.launchpad.net
Mon Oct 8 11:33:10 UTC 2012
This bug was fixed in the package grub2 - 2.00-7ubuntu4
---------------
grub2 (2.00-7ubuntu4) quantal; urgency=low
[ Colin Watson ]
* Install signed images if UEFI Secure Boot is enabled (LP: #1063602).
[ Steve Langasek ]
* debian/patches/ubuntu_uefi_firmware_setup.patch: Output a menu entry
for firmware setup on UEFI FastBoot systems.
-- Colin Watson <cjwatson at ubuntu.com> Mon, 08 Oct 2012 12:16:40 +0100
** Changed in: grub2 (Ubuntu Quantal)
Status: Fix Committed => Fix Released
--
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 Released
Status in “grub2” source package in Quantal:
Fix Released
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