'loadfont unicode' fails in SB-signed EFI image; image and grub-install don't agree on path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Critical
|
Colin Watson | ||
Quantal |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
The stock grub config does the following:
if [ x$feature_
font=unicode
else
[...]
fi
if loadfont $font ; then
[...]
'loadfont unicode' fails in the SecureBoot EFI image with this error:
error: file `/EFI/ubuntu/
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.
Changed in grub2 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in grub2 (Ubuntu Quantal): | |
milestone: | none → ubuntu-12.10 |
Changed in grub2 (Ubuntu Quantal): | |
status: | Triaged → Fix Committed |
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 ] patches/ ubuntu_ uefi_firmware_ setup.patch: Output a menu entry
* debian/
for firmware setup on UEFI FastBoot systems.
-- Colin Watson <email address hidden> Mon, 08 Oct 2012 12:16:40 +0100