GRUB crashes on loading multiboot2 kernel

Bug #1595312 reported by Safayet Ahmed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) lsb_release -rd
Description: Ubuntu 14.04.4 LTS
Release: 14.04

2) apt-cache policy grub-common
grub-common:
  Installed: 2.02~beta2-9ubuntu1.7
  Candidate: 2.02~beta2-9ubuntu1.7
  Version table:
 *** 2.02~beta2-9ubuntu1.7 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.02~beta2-9ubuntu1.6 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     2.02~beta2-9 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

3) I attempted to boot a customized version of tboot in a UEFI environment (using the multiboot2 command) I expected the system to boot as usual.

4) GRUB displayed the message that it was loading tboot and never went further.

5) Further Details:

After GRUB crashed, I set the "debug" environment variable to "all" in the GRUB configuration file and I tracked the problem to functions in "grub-core/lib/relocator.c" in the source.

This bug was reported in the main GRUB repo:
http://savannah.gnu.org/bugs/?41655

The fix for this was posted back in 2014:
http://git.savannah.gnu.org/cgit/grub.git/commit/?id=46b74dd3cbb3a97a7abeb7f0464de548006e0e3d

I checked the GRUB source obtained through apt-get source and can confirm that the fix listed above was not integrated into Ubuntu's version of GRUB.

Note: This fix was a part of the changes for 2.02-beta3 (released in February 2016). Ubuntu is currently running 2.02-beta2 (even for the newest Ubuntu releases).

Revision history for this message
Safayet Ahmed (safayet-ahmed) wrote :

I pulled and built 2.02~beta3 and can confirm that the bug described above no longer exists with the newer version of open-source GRUB.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.