[Bug 1456911] Re: Ubuntu installation/update-grub fail on specific BIOS

Adam Conrad adconrad at 0c3.net
Tue Aug 2 06:58:21 UTC 2016


Hello Ivan, or anyone else affected,

Accepted grub2 into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/grub2/2.02~beta2-9ubuntu1.12 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Also affects: grub2-signed (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: grub2 (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: grub2-signed (Ubuntu)
       Status: New => Fix Released

** Changed in: grub2-signed (Ubuntu Trusty)
     Assignee: (unassigned) => Adam Conrad (adconrad)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1456911

Title:
  Ubuntu installation/update-grub fail on specific BIOS

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2-signed package in Ubuntu:
  Fix Released
Status in grub2 source package in Trusty:
  Fix Committed
Status in grub2-signed source package in Trusty:
  New

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.d/30_uefi-firmware

  [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 OsIndicationsSupported will be set as 0x1F on Bios, this causes the update-grub fail, also Ubuntu installation fail.

  $ 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-3.19.0-16-generic
  Found initrd image: /boot/initrd.img-3.19.0-16-generic
  Found linux image: /boot/vmlinuz-3.19.0-15-generic
  Found initrd image: /boot/initrd.img-3.19.0-15-generic
  /etc/grub.d/30_uefi-firmware: 34: /etc/grub.d/30_uefi-firmware: arithmetic expression: expecting EOF: " 1f & 1 "
  ~

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1456911/+subscriptions



More information about the foundations-bugs mailing list