Bug#567077: update-grub doesn't work with root fs on btrfs

Joey Hess joeyh at debian.org
Wed Jan 27 04:30:58 UTC 2010


Package: grub-legacy
Version: 0.97-60
Severity: normal
Tag: patch

When root is on btrfs, update-grub just exits nonzero, no error message.

This is because it uses grub-probe, and per #540786 that doesn't support
btrfs.

I sent a patch to #540786 that works around the grub-probe problem in
grub 2's update-grub. If that patch is applied, the same problem can
be worked around in grub-legacy's update grub via the attached patch.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-legacy depends on:
ii  grub-common              1.98~20100126-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-5        Embedded GNU C Library: Shared lib
ii  libncurses5              5.7+20090803-2  shared libraries for terminal hand

grub-legacy recommends no packages.

Versions of packages grub-legacy suggests:
pn  grub-legacy-doc               <none>     (no description available)
pn  mdadm                         <none>     (no description available)
pn  multiboot-doc                 <none>     (no description available)

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-legacy-btrfs.patch
Type: text/x-diff
Size: 574 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100126/08cc60a9/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100126/08cc60a9/attachment.pgp>


More information about the Pkg-grub-devel mailing list