Ubuntu installation/update-grub fail on specific BIOS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Critical
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
grub2-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Adam Conrad |
Bug Description
[Impact]
Users on newer UEFI firmware that follows spec 2.4b. (such an any new-ish Lenovo laptops, apparently, perhaps new Dell systems as well, etc.)
[Test case]
With the patch installs may fail to complete, update-grub may fail to run.
1) sudo update-grub
Notice whether the command shows an arithmetic error running /etc/grub.
[Regression potential]
Limited; this fixes a value formatting error which caused any hex to be matched as string rather than an hex value in grub config scripts -- it will still match correctly on older BIOS versions.
---
Some new Bios would like to support the new feature,capsule update, on UEFI spec. 2.4b.
So the UEFI variable OsIndicationsSu
$ sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
/etc/grub.
~
affects: | grub (Ubuntu) → grub2 (Ubuntu) |
Changed in grub2 (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in grub2 (Ubuntu): | |
importance: | High → Critical |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in grub2 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in grub2 (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
description: | updated |
I build a bios from EDKII that set the OsIndicationsSu pported to 0x1f for QEMU.
This could be used to reproduced this issue on QEMU.