extlinux: /boot on ext4, rootfs on btrfs

Gene Czarcinski gczarcinski at gmail.com
Tue Nov 26 22:16:35 UTC 2013


On 11/26/2013 04:01 PM, Chris Murphy wrote:
> On Nov 26, 2013, at 1:41 PM, Gene Czarcinski <gczarcinski at gmail.com> wrote:
>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1033764
>>
>> Can someone tell me if I should be able to create a system using the extlinux bootloader with /boot on a regular partition formated ext4 and the rootfs ("/") on a btrfs subvol?
>>
>> This is no show stopper if it should work, but it does not work.
> It should work, I suspect rootflags= is missing from the kernel param line in extlinux.conf as it's the kernel's job to mount btrfs rootfs, not the bootloader. This might be freezeexception worthy.
If this is not working, I cannot get too excited about it because 
(obviously) nobody is using it.

Now, this is from a ext4 system with extlinux that works:
> label Fedora (3.11.8-300.fc20.x86_64) 20 (Heisenbug)
>     kernel /boot/vmlinuz-3.11.8-300.fc20.x86_64
>     append root=UUID=92fd6132-b765-4475-a754-b0b34e25fd2e 
> vconsole.font=latarcyrheb-sun16 vconsole.keymap=us psmouse.proto=imps 
> rhgb quiet LANG=en_US.UTF-8
>     initrd /boot/initramfs-3.11.8-300.fc20.x86_64.img
and here is the one from the /boot on ext4 but rootfs on btrfs:
> label Fedora (3.11.8-300.fc20.x86_64)
>     kernel /vmlinuz-3.11.8-300.fc20.x86_64
>     append vconsole.keymap=us vconsole.font=latarcyrheb-sun16 
> psmouse.proto=imps root=UUID=909a8e5a-2b60-4b76-b665-6e5167c7e4fc rhgb 
> quiet LANG=en_US.UTF-8
>     initrd /initramfs-3.11.8-300.fc20.x86_64.img

Look pretty much the same to me.

The error message said something about initrd-switch-root failing. 
Sorry, this is out of my past experience.

Again, I do not see this as any type of blocker.  It needs to get fixed 
but how much of this is really used?  Except for nuts like me and Chris? ;)

Gene





More information about the test mailing list