Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
1st Jul, 2016, 06:30 AM
Post: #1
duno
Unregistered
 
[solved] How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
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


Attached File(s)
.txt  config-4.4 .0-28-lowlatency.txt (Size: 185.02 KB / Downloads: 1)
Quote this message in a reply
1st Jul, 2016, 06:41 AM
Post: #2
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Often discussed here - you need kernel with LZ4 compression enabled for BTRFS
Find all posts by this user
Quote this message in a reply
3rd Jul, 2016, 12:28 AM
Post: #3
duno
Unregistered
 
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
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?
Quote this message in a reply
3rd Jul, 2016, 02:34 AM
Post: #4
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Try this one.

This patch I'm using for my kernel 4.4.6 running on my Cubieboard 2
Find all posts by this user
Quote this message in a reply
5th Jul, 2016, 04:40 AM
Post: #5
duno
Unregistered
 
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
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
Quote this message in a reply
5th Jul, 2016, 05:46 AM
Post: #6
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
Congratulations Smile

Thanks for your feedback
Find all posts by this user
Quote this message in a reply
5th Jul, 2016, 06:51 AM
Post: #7
duno
Unregistered
 
RE: How to mount an SD-Card with Xbian in BTRFS under Ubuntu 16.04?
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
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Restoring from BTRFS SD card nickfx 3 7,901 16th Feb, 2019 08:27 AM
Last Post: Nachteule
  Restoring btrfs autosnap with ubuntu? pix3l 4 12,876 18th Aug, 2014 06:06 PM
Last Post: pix3l

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 09:28 PM Powered By MyBB, © 2002-2025 MyBB Group.