Add support for running a 64-bit Linux kernel on a 32-bit EFI.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
grub2 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
grub2-signed (Ubuntu) |
Won't Fix
|
High
|
Unassigned | ||
Trusty |
Won't Fix
|
High
|
Unassigned |
Bug Description
[Impact]
* Some platforms only have 32-bit EFI BIOS. When executing `grub-install` on them, it will make the system can not boot up again because of the wrong GRUB EFI payload and UEFI boot entry.
[Test Case]
* Executing `grub-install` on a 32-bit EFI platform should appear the following results.
$ sudo grub-install
Installing for i386-efi platform.
Installation finished. No error reported.
$ sudo efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000
Boot0000* ubuntu HD(1,GPT,
* Executing `grub-install` on a 64-bit EFI platform should appear the following results.
$ sudo grub-install
Installing for x86_64-efi platform.
Installation finished. No error reported.
$ sudo efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000
Boot0000* ubuntu HD(1,GPT,
[Regression Potential]
* This patch is directly backported from Ubuntu 16.04 so it should be OK without any regression.
[Other Info]
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Ubuntu 14.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
grub2 2.02~beta2-
3) What you expected to happen
Executing `grub-install` will install platform files by i386-efi on 32-bit UEFI BIOS.
4) What happened instead
It installed platform files by x86_64-efi instead.
P.S. Ubuntu 16.04 doesn't have this issue.
Changed in oem-priority: | |
importance: | Undecided → High |
description: | updated |
Changed in grub2 (Ubuntu): | |
status: | New → Fix Released |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → High |
Changed in grub2 (Ubuntu Trusty): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-needed removed: verification-done |
Changed in grub2-signed (Ubuntu): | |
status: | New → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Changed in grub2-signed (Ubuntu): | |
importance: | Undecided → High |
Changed in grub2-signed (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in oem-priority: | |
status: | New → Fix Released |
Changed in grub2-signed (Ubuntu): | |
status: | Triaged → Won't Fix |
Changed in grub2-signed (Ubuntu Trusty): | |
status: | Triaged → Won't Fix |
This patch is backported from Ubuntu 16.04.