[Bug 1591818] Re: Add support for running a 64-bit Linux kernel on a 32-bit EFI.

Ubuntu Foundations Team Bug Bot 1591818 at bugs.launchpad.net
Fri Dec 2 16:27:56 UTC 2016


The attachment "grub2_2.02~beta2-9ubuntu1.9.debdiff" seems to be a
debdiff.  The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff.  If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1591818

Title:
  Add support for running a 64-bit Linux kernel on a 32-bit EFI.

Status in OEM Priority Project:
  Fix Released
Status in OEM Priority Project trusty series:
  Fix Released
Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2-signed package in Ubuntu:
  Triaged
Status in grub2 source package in Trusty:
  Fix Released
Status in grub2-signed source package in Trusty:
  Triaged

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,b8d7d8e9-4ac4-46cc-8bd0-8d90d6df1df4,0x800,0x100000)/File(\EFI\ubuntu\grubia32.efi)

  * 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,b8d7d8e9-4ac4-46cc-8bd0-8d90d6df1df4,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi) or \EFI\ubuntu\grubx64.efi if there is no grub-efi-amd64-signed installed.

  [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-9ubuntu1.8

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1591818/+subscriptions



More information about the Ubuntu-sponsors mailing list