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

Adam Conrad adconrad at 0c3.net
Wed Aug 3 12:17:09 UTC 2016


I've tested this grub for regressions, and it's happy here.  As for the
printf itself, while I don't have the right hardware to test on, it's
identical to the printf in xenial and yakkety, so I see no reason to
verify that specifically.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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 Released
Status in grub2-signed source package in Trusty:
  Fix Released

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