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

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Tue Aug 2 19:56:18 UTC 2016


Chad, have you had a chance to try the updated packages from trusty-
proposed? If they are reviewed / tested now and verified to work, should
there be a respin we may be able to include them in the 16.04.1 media.

-- 
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:
  Fix Committed

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