[Bug 1097570] Re: grub2-signed can not find the right device when there are two filesystems containing the file '.disk/info'.

Launchpad Bug Tracker 1097570 at bugs.launchpad.net
Mon Dec 23 12:56:24 UTC 2013


This bug was fixed in the package grub2 - 1.99-21ubuntu3.14

---------------
grub2 (1.99-21ubuntu3.14) precise; urgency=low

  * Handle FAT filesystems on non-512B disks (LP: #1065281).
  * Probe FusionIO devices (LP: #1237519).
  * On Linux, read partition start offsets from sysfs if possible
    (LP: #1237519).

grub2 (1.99-21ubuntu3.13) precise; urgency=low

  * Revamp hidden timeout handling by adding a new timeout_style environment
    variable and a corresponding GRUB_TIMEOUT_STYLE configuration key for
    grub-mkconfig.  This controls hidden-timeout handling more simply than
    the previous arrangements, and pressing any hotkeys associated with menu
    entries during the hidden timeout will now boot the corresponding menu
    entry immediately (LP: #1178618).  As part of merging this, radically
    simplify /etc/grub.d/30_os-prober; if it finds other OSes it can now
    just set timeout_style=menu and make sure the timeout is non-zero.
  * Fix mismerge of GRUB_RECOVERY_TITLE option in 1.99-21ubuntu3.12.

grub2 (1.99-21ubuntu3.12) precise; urgency=low

  * debian/build-efi-images: Where possible, make use of the device path
    derived from the EFI Loaded Image Protocol to compute the prefix
    (LP: #1097570).
  * Add GRUB_RECOVERY_TITLE option, to allow the controversial "recovery
    mode" text to be customised (LP: #1240360).
 -- Colin Watson <cjwatson at ubuntu.com>   Thu, 05 Dec 2013 16:53:48 +0000

** Changed in: grub2 (Ubuntu Precise)
       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/1097570

Title:
  grub2-signed can not find the right device when there are two
  filesystems containing the file '.disk/info'.

Status in OEM Priority Project:
  Triaged
Status in OEM Priority Project precise series:
  Triaged
Status in “grub2” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Precise:
  Fix Released
Status in “grub2” source package in Raring:
  Invalid

Bug description:
  SRU justification:

  [Impact] When using UEFI, GRUB doesn't always determine the correct boot device to chain to if multiple Ubuntu bootable media are attached.
  [Test Case] Described below.
  [Regression Potential] When I fixed this in saucy, I made a mistake that broke UEFI Secure Boot (fixed in 2.00-18ubuntu4).  I made sure to cherry-pick that fix as well here, but it's worth testing both paths.

  Original report follows:

  * Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130108)
  precise-desktop-amd64.iso from http://cdimage.ubuntu.com/precise/daily-live/current/ .

  * Package Version
  grub2-signed 1.9~ubuntu12.04.2+1.99-21ubuntu3.7

  * Reproduce Steps
  1. Use `usb-creator-gtk` to create a bootable USB drive by precise-desktop-amd64.iso
  2. Use this USB drive to boot "Try Ubuntu without installing" on an UEFI secure boot enabled laptop.
  3. Create only one 1GB primary fat32 partition on the disk of the laptop with GPT-based disk layout.
  4. Mount fat32 partition on /mnt
      $ sudo mount /dev/sda1 /mnt
  5. Manually copy all contents from the USB stick into the fat32 partition.
      $ sudo cp -av /cdrom/.disk /cdrom/* /mnt
  6. Set up the EFI boot entry.
      $ sudo apt-get install efibootmgr grub-efi-amd64-signed shim-signed
      $ sudo grub-install --removable --uefi-secure-boot --root-directory /mnt /dev/sda1
      $ sudo efibootmgr -c -d /dev/sda -p 1 -l "\\EFI\\BOOT\\BOOTx64.EFI" -L recovery
  7. Append 'from recovery partition' to every menuentry title in /mnt/boot/grub/grub.cfg .
  8. Reboot and select the boot entry 'recovery' from UEFI boot option menu.

  * Expected Result
  We can see every menu entry of grub with the suffix 'from recovery partition'.

  * Actual Result
  There is no suffix 'from recovery partition' on menu entries of grub.

  P.S. The USB drive is still plunged in the laptop. After we unplug the
  USB drive and select the boot entry 'recovery' from UEFI boot option
  menu, we can see every menu entry of grub with the suffix 'from
  recovery partition'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1097570/+subscriptions



More information about the foundations-bugs mailing list