[PATCH] Btrfs /boot partition doesn't boot.
Bug #776850 reported by
alexeagar
This bug report is a duplicate of:
Bug #757631: grub-probe fails on lvm-encrypted install with btrfs.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
When I install with a btrfs /boot partition and an encrypted btrfs / partition, the system doesn't boot correctly.
The fix is to change one line of /etc/grub.
Run 'sudo update-grub2' after making the above change in order to fix /boot/grub/grub.cfg so that you will no longer have to add rootflags=subvol=@ to your boot options within the Grub menu.
More Details: http://
description: | updated |
description: | updated |
To post a comment you must log in.
No, this is incorrect, sorry. That code really does mean to be querying the properties of /, not /boot. While the change you suggest would happen to fix things in your case because your unencrypted /boot is also btrfs, it would fail in the case of ext2 /boot and an encrypted btrfs / - the value of rootflags needs to depend on the filesystem on /, not the filesystem on /boot.
I know you commented on bug 757631, but this can only be solved by fixing that bug, not in the way you suggest here.