FS#21733 - [grub2] grub-mkconfig fails with btrfs root

Attached to Project: Arch Linux
Opened by Jason Gardner (Buhrietoe) - Wednesday, 17 November 2010, 20:32 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 18 January 2011, 21:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
grub-mkconfig fails with btrfs root

Additional info:
grub2 1.98-5
ext2 mounted on /boot
btrfs mounted on /

Steps to reproduce:
Use a btrfs root
run 'grub-mkconfig -o /boot/grub/grub.cfg'
Output will be:
/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?)

With an ext3 root it runs successfully with the output:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz26
Found initrd image: /boot/kernel26.img
done
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 18 January 2011, 21:39 GMT
Reason for closing:  Upstream
Additional comments about closing:  fixed in grub2 1.99~beta0
Comment by Jason Gardner (Buhrietoe) - Wednesday, 17 November 2010, 20:54 GMT
More directly the problem is with grub-probe, which grub-mkconfig seems to call. When you run 'grub-probe -d /dev/sda' with a btrfs root you get the output:
grub-probe: error: unkown filesystem.
Comment by Jason Gardner (Buhrietoe) - Wednesday, 17 November 2010, 21:12 GMT
grub2 1.99 looks to solve this problem
Comment by Anonymous Submitter - Tuesday, 14 December 2010, 08:54 GMT Comment by Thomas Dziedzic (tomd123) - Tuesday, 04 January 2011, 19:20 GMT
Status?
Comment by Jason Gardner (Buhrietoe) - Tuesday, 04 January 2011, 20:01 GMT
Official stable grub2 1.99 has not been released yet. I'm guessing the package maintainers are waiting on that.

Loading...