Re: Can anyone boot a system using btrfs root with linux 3.14 or newer?

Kai Krakow
2014-04-23T19:19:12Z

Пламен Петров <plamen@petrovi.no-ip.info> schrieb:

I'm going with the module suggestion from Marc, too.

> /dev/sda2 / btrfs relatime,compress=zlib 0 0

This line looks kinda useless to me. The compress=zlib option won't be
applied at boot and cannot be changed at runtime because AFAIR btrfs does
not allow that yet.

This is because during initial mount by the kernel, /etc/fstab has not yet
been read (and cannot for obvious reasons). The only way around it is to
also append rootflags= to the kernel cmdline. This also explains why in a
few other cases btrfs cannot be mounted, although it should make no
difference in your case except the compress option won't be applied to the
running file system.

Also, you may want to try rootdelay=2 or something similar, it sometimes
help mounting btrfs at boot. But first try the suggestion abount baking the
btrfs module right into the kernel.

--
Replies to list only preferred.