grub2 does not boot kernels built without CONFIG_EFI_STUB
Bug #1895912 reported by
Michael Zhivich
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
After grub2 update that introduced patch entitled ubuntu-
Attempting to do so fails with the following set of errors:
error: kernel doesn't support EFI handover.
error: you need to load the kernel first
The issue is that grub_errno is never reset if the handoff to linuxefi fails because kernel was not built with CONFIG_EFI_STUB. This causes the code at the end of the function to skip setting "loaded = 1", causing the 2nd error from the initrd loader.
I'm attaching a small patch that appears to resolve the issue.
Changed in grub2 (Ubuntu): | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
The attachment "proposed patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]