Bug#540786: [grub-common] update-grub/grub-mkconfig doesnt work with btrfs as rootfs

Joey Hess joeyh at debian.org
Fri Jan 29 03:23:11 UTC 2010


Robert Millan wrote:
> But if you just want grub-mkconfig not to break with btrfs in /, we need more
> information on what calls are failing.  There's a gazillon invocations of
> grub-probe in there, I can't do anything without knowing which one is causing
> the script to fail.

root at gnu:/home/joey>grub-probe --target=device /boot # ext3
/dev/hda1
root at gnu:/home/joey>grub-probe --target=device / # btrfs
grub-probe: error: cannot find a device for / (is /dev mounted?).
root at gnu:/home/joey>grub-probe --device /dev/hda1 --target=fs_uuid
a2c9d183-7f03-4451-b781-3e8fcd72c095
root at gnu:/home/joey>grub-probe --device /dev/hda2 --target=fs_uuid
grub-probe: error: unknown filesystem.

I had meant to send the attached patch to #540786 yesterday
(it's the patch that the patch I sent to #567077 depends on).
This makes it fall back to the old method of parsing
the fstab to find the info when grub-probe fails.

See also: https://bugs.launchpad.net/debian/+source/grub2/+bug/450260

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub2-probe.patch
Type: text/x-diff
Size: 2926 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100128/a06488e1/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/20100128/a06488e1/attachment.pgp>


More information about the Pkg-grub-devel mailing list