F21: Dare I ask about /boot on a btrfs subvolume?

Gene Czarcinski gczarcinski at gmail.com
Mon Oct 27 13:19:42 UTC 2014


On 10/26/2014 11:22 PM, Adam Williamson wrote:
> On Sun, 2014-10-26 at 22:41 -0400, EndUser wrote:
>>   From what I've seen from digging over the past few months, this is no
>> way to make friends and become popular, but I see that the F21
>> installer is letting folks config /boot as a btrfs subvolume once
>> again so I tried it.
> I don't believe it's meant to. btrfs-formatted volume, yes, but not a
> btrfs subvol. If it does that may possibly be a bug in itself.
>
> Gene has been sending patches for grubby and anaconda to try and improve
> btrfs support, and pjones is looking at merging them when he has the
> time (it can't be his first priority ATM), so things in this area may
> improve, but it'll be for F22, not F21.
Yes, Peter (pjones is the grubby maintainer) has informed me that Fedora 
22 (currently in rawhide) will be the target for btrfs support in the 
grubby package.

Right now, for full support, you can put /boot on a regular partition 
with the rootfs ("/") in a subvolume or you can install the rootfs ("/") 
into the btrfs volume and let /boot be a simple directory.

The updates to grubby will support /boot being in a subvolume as well as 
the rootfs ("/") being in a subvolume with /boot being a simple directory.

Adding btrfs support to grubby involved a lot of code and changing the 
debugging from a compile time option to a run time option so I can well 
understand Peter wanting to allow for lots of review.

If you are daring and want to give it a try, the grubby package with my 
btrfs support added is available here:
http://czarc.org/fedora/repo/20/ and http://czarc.org/fedora/repo/21/

Since you may not have my version of grubby when you install, simply run:
grub2-mkconfig -o /boot/grub2/grub.cfg
which will create a good grub2 configuration.  This must be done before 
you reboot or bootup in rescue mode and run it.

You can leave positive or negative comments here:
https://bugzilla.redhat.com/show_bug.cgi?id=1094489

or you can send me a message directly.

To turn on runtime debugging which generates lots of messages, before 
you do a kernel update/install execute:
     export  GRUBBY_ENABLE_DEBUG=yes

Or, you can just wait for F22.

Gene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/test/attachments/20141027/f6dec730/attachment.html>


More information about the test mailing list