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

Moving to a smaller card, HOW?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Moving to a smaller card, HOW?
12th Apr, 2015, 10:40 AM
Post: #1
Otaku Wally Offline
Registered
Posts: 18
Joined: Mar 2015
Reputation: 0
Moving to a smaller card, HOW?
Hi,

I want to move my XBian system from my 32G card into a 4G card. Since a 1:1 copy is not possible obviously, I created partitions on the small card and simply copied (cp -dpRx ...) all the stuff from the running 32G system onto the new (small) card onto the apprioprate partitions. The system however will NOT boot, though ALL files have been copied correctly. I there some bootcode I need to copy too, or WHY will the system NOT boot from the new small card? I mean even the XBian-Startup-splash will not be shown, so it obviously doesn't start AT ALL. Any help or ideas?
Visit this user's website Find all posts by this user
Quote this message in a reply
12th Apr, 2015, 08:38 PM
Post: #2
Fabio72 Offline
Registered
Posts: 96
Joined: Feb 2014
Reputation: 5
RE: Moving to a smaller card, HOW?
wikipedia btrfs

filesystem has snapshotting and multi volume functions embedded
cp will only copy the primary snapshot of a volume but not the filesystem structure so it will not works
Find all posts by this user
Quote this message in a reply
13th Apr, 2015, 05:05 PM
Post: #3
Otaku Wally Offline
Registered
Posts: 18
Joined: Mar 2015
Reputation: 0
RE: Moving to a smaller card, HOW?
It wont even BOOT, and THIS is done by the files on the FAT partition! So it should NOT be related to the btrfs filesystem in ANY way.
Visit this user's website Find all posts by this user
Quote this message in a reply
14th Apr, 2015, 12:12 AM
Post: #4
Otaku Wally Offline
Registered
Posts: 18
Joined: Mar 2015
Reputation: 0
RE: Moving to a smaller card, HOW?
And sorry for being unprecise. I was wise enough to FIRST dd the contents of the BIG card (to copy any loaders and the boot partition) and change the partition table afterwards, so that the seconds btrfs partition would be smaller. Just AFTER that I copied the contents of the seconds btrfs partition from the running XBaian from the BIG SD. So in my opinion it SHOULD work, but still WILL NOT. I really have no clues anymore, where the error could be :-(
Visit this user's website Find all posts by this user
Quote this message in a reply
17th Apr, 2015, 01:18 AM
Post: #5
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Moving to a smaller card, HOW?
Your easiest solution is to use xbian-config via ssh.

Run xbian-config and use 6) xbian copier.

Use destination as file:/media/"EXTHDD"/"FILENAME.img"

Use this img file to dd to a smaller SD card. Or use win32diskimager

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
25th Apr, 2015, 01:55 AM
Post: #6
Otaku Wally Offline
Registered
Posts: 18
Joined: Mar 2015
Reputation: 0
RE: Moving to a smaller card, HOW?
This really seems to be the best solution, since the images will ONLY take up as much space as IS USED on the devices (but I thought you could copy the image only to a card of the same size ...)
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
  Moving Beta 2 to bigger card Baz8755 17 47,706 16th Jan, 2014 01:04 PM
Last Post: mk01

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

Current time: 10th May, 2025, 02:36 AM Powered By MyBB, © 2002-2025 MyBB Group.