[Bug 1468111] Re: gcdx64.efi should handle grub.cfg in /efi/boot.

Launchpad Bug Tracker 1468111 at bugs.launchpad.net
Wed Oct 21 15:26:58 UTC 2015


This bug was fixed in the package grub2 - 2.02~beta2-22ubuntu1.2

---------------
grub2 (2.02~beta2-22ubuntu1.2) vivid-proposed; urgency=low

  [ Mathieu Trudel-Lapierre ]
  * debian/build-efi-images: look for grub.cfg in $cmdpath too in gcdx64.efi,
    to simplify embedded scenarios: putting a grub.cfg snippet that loads the
    right "real" grub.cfg can be useful. (LP: #1468111)

 -- Michael Vogt <michael.vogt at ubuntu.com>  Mon, 12 Oct 2015 15:36:51
+0200

** Changed in: grub2 (Ubuntu Vivid)
       Status: Fix Committed => Fix Released

-- 
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/1468111

Title:
  gcdx64.efi should handle grub.cfg in /efi/boot.

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2-signed package in Ubuntu:
  Fix Released
Status in grub2 source package in Vivid:
  Fix Released
Status in grub2-signed source package in Vivid:
  Fix Released

Bug description:
  TEST CASE:
  1. create ubuntu snappy image from 15.04/edge
  2. enable UEFI boot in the bios
  3. verify that it fails to boot and drops into a grub shell

  4. create ubuntu snappy image from 15.04/edge that got build with vivid-proposed
  5. boot and verify that uefi boot works this time.

  Snappy images have grub.cfg in $cmdpath/efi/boot, which then loads a
  better /efi/ubuntu/grub/grub.cfg which will look for the real file on
  the filesystem.

  Snappy personal image built as such currently fails to boot:
  sudo ubuntu-device-flash personal rolling --channel=edge --output image.img

  GRUB fails to find /boot/ which is the typical prefix, and fails to
  find /.disk/info which then really breaks $prefix.

  Workaround is to handle grub.cfg being in $cmdpath directly (in other
  words, in /efi/boot).

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



More information about the foundations-bugs mailing list