[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
I think my addition of the partman-btrfs task here was a mistake. The grub2 fix should be enough, and partman-crypto is already supposed to warn about the case where /boot is encrypted as well. ** Changed in: partman-btrfs (Ubuntu Oneiric) Status: Triaged => Invalid ** Changed in: partman-btrfs (Ubuntu Natty) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
** Tags added: rls-mgr-o-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
** Changed in: partman-btrfs (Ubuntu Oneiric) Milestone: ubuntu-11.10-beta-1 => ubuntu-11.10-beta-2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
** Branch linked: lp:debian/grub2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
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 WatsonThu, 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
Committed to the Debian branch, thanks. ** Changed in: grub2 (Ubuntu Oneiric) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
** Changed in: grub2 (Ubuntu Oneiric) Assignee: Canonical Foundations Team (canonical-foundations) => Colin Watson (cjwatson) ** Changed in: partman-btrfs (Ubuntu Natty) Assignee: Canonical Foundations Team (canonical-foundations) => Colin Watson (cjwatson) ** Changed in: partman-btrfs (Ubuntu Oneiric) Assignee: Canonical Foundations Team (canonical-foundations) => Colin Watson (cjwatson) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-release-notes/+bug/757631/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
Oh, I forgot to mention that after replacing the line mentioned in comment #8, you've then got to run 'sudo update-grub2'. Sorry for the double post. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
Thanks for the feedback Colin. Here's another workaround that works better. Perhaps it can help somebody to put together a proper fix. In /etc/grub.d/10_linux, replace this line: if [ "x`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`" = xbtrfs ]; then with these two lines: #if [ "x`${grub_probe} --device ${GRUB_DEVICE} --target=fs 2>/dev/null || true`" = xbtrfs ]; then if [ "x`stat -f --printf=%T /`" = xbtrfs ]; then -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
The suggestion in bug 776850 is incorrect, I'm afraid. I've left more detailed feedback there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
I believe this patch fixes one of the kernel parameters. https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/776850 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
** Also affects: grub2 (Ubuntu Oneiric) Importance: Wishlist Status: Triaged ** Also affects: partman-btrfs (Ubuntu Oneiric) Importance: Medium Status: Triaged ** Changed in: grub2 (Ubuntu Oneiric) Importance: Wishlist => High ** Changed in: partman-btrfs (Ubuntu Natty) Milestone: ubuntu-11.04 => natty-updates ** Changed in: grub2 (Ubuntu Oneiric) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) ** Changed in: partman-btrfs (Ubuntu Natty) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) ** Changed in: partman-btrfs (Ubuntu Oneiric) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) ** Changed in: partman-btrfs (Ubuntu Oneiric) Importance: Medium => High ** Changed in: partman-btrfs (Ubuntu Oneiric) Milestone: ubuntu-11.04 => ubuntu-11.10-beta-1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
Release-noted: GRUB cannot detect a btrfs installation within an encrypted disk, and fails to set up the correct kernel parameters. (757631) ** Changed in: ubuntu-release-notes Status: New => Fix Released ** Changed in: ubuntu-release-notes Assignee: (unassigned) => Colin Watson (cjwatson) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
Perhaps partman-btrfs ought to warn during installation, too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
We should release-note that this is not a supported configuration. ** Also affects: partman-btrfs (Ubuntu) Importance: Undecided Status: New ** Changed in: partman-btrfs (Ubuntu) Status: New => Triaged ** Changed in: partman-btrfs (Ubuntu) Importance: Undecided => Medium ** Also affects: grub2 (Ubuntu Natty) Importance: Wishlist Status: Triaged ** Also affects: partman-btrfs (Ubuntu Natty) Importance: Medium Status: Triaged ** Changed in: grub2 (Ubuntu Natty) Status: Triaged => Won't Fix ** Changed in: partman-btrfs (Ubuntu Natty) Milestone: None => ubuntu-11.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
This is because GRUB doesn't yet have its own LUKS support, so can't detect that the filesystem is btrfs and doesn't know to add rootflags=subvol=@. This isn't likely to be fixed for natty. ** Changed in: grub2 (Ubuntu) Importance: Undecided => Wishlist ** Changed in: grub2 (Ubuntu) Status: New => Triaged ** Also affects: ubuntu-release-notes Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 757631] Re: grub-probe fails on lvm-encrypted install with btrfs
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/757631 Title: grub-probe fails on lvm-encrypted install with btrfs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs