[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs

Launchpad Bug Tracker 757631 at bugs.launchpad.net
Thu Jun 16 00:35:12 UTC 2011


This bug was fixed in the package grub2 - 1.99-7ubuntu1

---------------
grub2 (1.99-7ubuntu1) oneiric; urgency=low

  * Resynchronise with Debian.  Remaining changes:
    - Adjust for default Ubuntu boot options ("quiet splash").
    - Default to hiding the menu; holding down Shift at boot will show it.
    - Set a monochromatic theme and an appropriate background for Ubuntu.
    - Apply Ubuntu GRUB Legacy changes to legacy update-grub script.
    - Fix backslash-escaping in merge_debconf_into_conf.
    - Remove "GNU/Linux" from default distributor string.
    - Add crashkernel option.
    - Bypass menu unless other OSes are installed or Shift is pressed.
    - Allow Shift to interrupt 'sleep --interruptible'.
    - Reduce visual clutter in normal mode.
    - Remove verbose messages printed before reading configuration.
    - Suppress kernel/initrd progress messages, except in recovery mode.
    - Show the boot menu if the previous boot failed.
    - Don't generate device.map during grub-install or grub-mkconfig.
    - Adjust upgrade version checks for Ubuntu.
    - Suppress "GRUB loading" message unless Shift is held down.
    - Adjust versions of grub-doc and grub-legacy-doc conflicts.
    - Fix LVM/RAID probing in the absence of /boot/grub/device.map.
    - Look for .mo files in /usr/share/locale-langpack first.
    - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
    - Check hardware support before using gfxpayload=keep.
    - Put second and subsequent Linux menu entries in a submenu.
    - Preferred resolution detection for VBE.
    - Set vt.handoff=7 for smooth handoff to kernel graphical mode.
    - Update default/grub.md5sum to include maverick's default md5sum.
    - Add nomodeset to Linux kernel arguments in recovery mode.

grub2 (1.99-7) unstable; urgency=low

  [ Debconf translations ]
  * Basque (Iñaki Larrañaga Murgoitio).  Closes: #628716
  * Swedish (Martin Bagge / brother).  Closes: #628866
  * Czech (Miroslav Kure).  Closes: #628978
  * Brazilian Portuguese (Flamarion Jorge).  Closes: #629135
  * Spanish (Francisco Javier Cuadrado).  Closes: #629633

  [ Colin Watson ]
  * Cope with btrfs / inside an encrypted block device (thanks, alexeagar;
    LP: #757631).
  * Merge from Ubuntu:
    - Give up scanning partitions after ten consecutive open failures
      (LP: #787461).

grub2 (1.99-6) unstable; urgency=low

  [ Colin Watson ]
  * Update Vcs-* fields for Alioth changes.
  * Backport from upstream, removing the need for Breaks: udev (<< 168-1):
    - Don't stat devices unless we have to.

  [ Debconf translations ]
  * Catalan (Jordi Mallach).
  * Farsi (Behrad Eslamifar).  Closes: #628648

grub2 (1.99-5) unstable; urgency=low

  [ Colin Watson ]
  * Change grub2/linux_cmdline and grub2/kfreebsd_cmdline descriptions to
    indicate that the command line is allowed to be empty, since this is a
    common source of confusion (thanks, Jordan Uggla).
  * On non-Ubuntu-derived systems, add Breaks: udev (<< 168-1) to
    grub-common, for the sake of (some?) users without initrds (closes:
    #627587).

  [ Debconf translations ]
  * French (Christian Perrier)
  * Russian (Yuri Kozlov).  Closes: #628196
  * Simplified Chinese (YunQiang Su).  Closes: #628210
  * Japanese (Hideki Yamane).  Closes: #628382
  * Danish (Joe Hansen).  Closes: #628427
 -- Colin Watson <cjwatson at ubuntu.com>   Thu, 16 Jun 2011 01:31:01 +0100

** Changed in: grub2 (Ubuntu Oneiric)
       Status: In Progress => 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/757631

Title:
  grub-probe fails on lvm-encrypted install with btrfs

Status in Release Notes for Ubuntu:
  Fix Released
Status in “grub2” package in Ubuntu:
  Fix Released
Status in “partman-btrfs” package in Ubuntu:
  Triaged
Status in “grub2” source package in Natty:
  Won't Fix
Status in “partman-btrfs” source package in Natty:
  Triaged
Status in “grub2” source package in Oneiric:
  Fix Released
Status in “partman-btrfs” source package in Oneiric:
  Triaged

Bug description:
  Binary package hint: grub2

  Install was done using the "Setup encrypted LVM" option, simply
  changing ext4->btrfs

  Grub fails to add the "rootflags=subvol=@" to the kernel boot options,
  making the system stop at initramfs on boot, unless added manually, at
  which point it seems to boot fine.

  When booted grub-probe seems not to work, which I assume is the core issue:
  arand at nnb:~$ sudo grub-probe /
  grub-probe: error: no such disk.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: grub-pc 1.99~rc1-11ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  Architecture: amd64
  Date: Mon Apr 11 15:44:50 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110410)
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions




More information about the foundations-bugs mailing list