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

How to mount xbian partition on ubuntu?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
How to mount xbian partition on ubuntu?
5th Jun, 2015, 06:11 PM
Post: #1
OMID-313 Offline
Registered
Posts: 2
Joined: Jun 2015
Reputation: 0
How to mount xbian partition on ubuntu?
Hi all,
I'm new to xbian.

I want to edit the files in my SD card using my computer, whether on Windows 7 or Ubuntu 14.04.

However, when I insert the SD card, the Ubuntu cannot mount the Xbian partition, and gives the following error:



and when I type
Code:
dmesg | tail
, it gives the following:



Now what should I do to access the contents of xbian partition on SD card!?

- - - - - - - - - - - - - - - - - - - - - - - - - - - -

P.S. The reason I want to have access to the contents of my SD card using PC is that my xbian has frozen (black screen on boot) and I don't have backup of my files!!

P.P.S. Can I ssh into a frozen xbian using PuTTY? If yes, what is the default IP address!!!?
Find all posts by this user
Quote this message in a reply
6th Jun, 2015, 05:32 AM
Post: #2
OMID-313 Offline
Registered
Posts: 2
Joined: Jun 2015
Reputation: 0
How to access BTRFS/LZ4 partition!?
Hi everybody,

I recently installed Xbian on my RPi B+.

I wanted to have access to the contents of my SD card in my PC, using Ubuntu.
However, it fails to mount the xbian partition, and gives the following error:



I searched on the net, and realized that its file system type is BTRFS, and it has LZ4 compression.

Now the questions is this:

How can we have access to the contents of this SD card, using a PC/Laptop!?

(Note: For some reasons, I can neither use the xbian file manager, nor the SSH.)
Find all posts by this user
Quote this message in a reply
11th Jun, 2015, 03:25 PM
Post: #3
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
RE: How to mount xbian partition on ubuntu?
Threads merged. Please do not create duplicate threads for same topic. Thanks

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
15th Jun, 2015, 02:42 PM
Post: #4
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: How to mount xbian partition on ubuntu?
XBian uses a compressed version of BTRFS that can't be mounted in a standard linux distribution.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
27th Jul, 2015, 04:17 AM
Post: #5
psyLord Offline
Registered
Posts: 22
Joined: Aug 2014
Reputation: 0
RE: How to mount xbian partition on ubuntu?
(15th Jun, 2015 02:42 PM)f1vefour Wrote:  XBian uses a compressed version of BTRFS that can't be mounted in a standard linux distribution.

What do you mean with 'standard linux distribution'? Does it requires some special packages - like btrfs-tools?

I also need to mount it. Because I changed some config files and now I can't connect to xbian using SSH.

Do you can provide some more information on this topic, please?

Edit:

OK, I found the solution:

1. install btrfs-tools
2. sudo mount -o compress=zlib /dev/mapper/sda7_crypt /mnt

Now you can access the files in /mnt/
Find all posts by this user
Quote this message in a reply
4th Dec, 2015, 02:02 AM
Post: #6
7dwergen Offline
Registered
Posts: 8
Joined: Sep 2014
Reputation: 0
RE: How to mount xbian partition on ubuntu?
(27th Jul, 2015 04:17 AM)psyLord Wrote:  
(15th Jun, 2015 02:42 PM)f1vefour Wrote:  XBian uses a compressed version of BTRFS that can't be mounted in a standard linux distribution.

What do you mean with 'standard linux distribution'? Does it requires some special packages - like btrfs-tools?

I also need to mount it. Because I changed some config files and now I can't connect to xbian using SSH.

Do you can provide some more information on this topic, please?

Edit:

OK, I found the solution:

1. install btrfs-tools
2. sudo mount -o compress=zlib /dev/mapper/sda7_crypt /mnt

Now you can access the files in /mnt/

at first i had exactly the same issue.

i have a mmc-card with a btrfs-filesystem, ( of raspberry-pi B+ )
but this mmc-card btrs-filesystem doesn't work for me to mount on Ubuntu 15.10 ,
because there's only one file: /dev/mapper/control, no other /dev/mapper/* files there.

i do have the most recent btrfs-tools installed:
ii btrfs-tools 4.3-1 amd64 Checksumming Copy on Write Filesystem utilities
ii btrfs-tools-dbg 4.3-1 amd64 Checksumming Copy on Write Filesystem utilities (debug)
ii extlinux

after installing liblz4-tool on Ubuntu, and mount-command:
"mount -o compress=lz4 -t btrfs /dev/mmcblk0p3 /mnt/sdb3",

still this error remains:
"BTRFS: open_ctree failed"

how to solve?
Find all posts by this user
Quote this message in a reply
17th Dec, 2015, 11:35 AM
Post: #7
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
RE: How to mount xbian partition on ubuntu?
Patch the kernel for lz4 btrfs compression is the only way.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [PROBLEM] Resize partition after xbian installation Pascal 7 20,224 28th Mar, 2015 06:25 PM
Last Post: namtih

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

Current time: 21st May, 2025, 02:13 AM Powered By MyBB, © 2002-2025 MyBB Group.