Moving to a smaller card, HOW?
|
12th Apr, 2015, 10:40 AM
Post: #1
|
|||
|
|||
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? |
|||
12th Apr, 2015, 08:38 PM
Post: #2
|
|||
|
|||
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 |
|||
13th Apr, 2015, 05:05 PM
Post: #3
|
|||
|
|||
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.
|
|||
14th Apr, 2015, 12:12 AM
Post: #4
|
|||
|
|||
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 :-(
|
|||
17th Apr, 2015, 01:18 AM
Post: #5
|
|||
|
|||
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.
|
|||
25th Apr, 2015, 01:55 AM
Post: #6
|
|||
|
|||
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 ...)
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Moving Beta 2 to bigger card | Baz8755 | 17 | 45,586 |
16th Jan, 2014 01:04 PM Last Post: mk01 |