Forum
[solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Others (/forum-24.html)
+--- Thread: [solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? (/thread-3642.html)



[solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - duno - 1st Jul, 2016 06:30 AM

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


RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - Nachteule - 1st Jul, 2016 06:41 AM

Often discussed here - you need kernel with LZ4 compression enabled for BTRFS


RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - duno - 3rd Jul, 2016 12:28 AM

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?


RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - Nachteule - 3rd Jul, 2016 02:34 AM

Try this one.

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


RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - duno - 5th Jul, 2016 04:40 AM

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


RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - Nachteule - 5th Jul, 2016 05:46 AM

Congratulations Smile

Thanks for your feedback


RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04? - duno - 5th Jul, 2016 06:51 AM

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