Forum

Full Version: [solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

duno

I am using Ubuntu Studio 16.04

... 4.4.0-28-lowlatency #47-Ubuntu SMP PREEMPT Fri Jun 24 10:57:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

and I can't mount the BTRFS-Partition on the SD-Card.

Is there something missing in the Kernel-Config?
Huh
Often discussed here - you need kernel with LZ4 compression enabled for BTRFS

duno

lz4.patch from

https://github.com/xbianonpi/xbian-package-kernel/blob/master/patches/rpi/lz4.patch

is not working on 4.4 with

https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.14.tar.xz

I get a reject message with patch -p1 < lz4.patch .

Is there a newer lz4-patch for btrfs available?
Try this one.

This patch I'm using for my kernel 4.4.6 running on my Cubieboard 2

duno

Many thanks for the patch.

0001-Btrfs-LZ4-compression-patch.patch, i renamed it to lz4-2.patch, was working without rejection after

patch -p1 < lz4-2.patch

Now I am trying to build a new kernel with the sources from

https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.14.tar.xz

could take an hour or more ...

But, i was also able to built a kernel with your sources from

https://github.com/xbianonpi/xbian-sources-kernel/tree/rpi-4.4.y

That kernel was also able to mount the fat and btrfs partitition under ubuntu 16.04 Smile
Congratulations Smile

Thanks for your feedback

duno

The new patch is working!

Thanks Smile

After installing the new patched kernel, with your patch, i was also able to mount the fat and btrfs formated partition on the sd-card under ubuntu 16.04.

Nice work Smile
Reference URL's