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

New image for download page of xbian.org
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
New image for download page of xbian.org
28th May, 2014, 07:55 AM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: New image for download page of xbian.org
@NitSuA

the easiest way is to use simply the build in cloning function, which creates bootable .img automatically. isn't it ?

steps:
Code:
1) flash clean .img
2) boot
3) stop xbmc and use terminal or remotelly ssh is fine (stopping xbmc will speed up the process anyway)
4) update any way you are used to
5) reboot
6) run "all-clean". this command will remove garbage like cached debs for apt, logs, xbian & root histories, will reset XBMC settings, removes ssh keys (they will be regenerated upon next boot) bla bla bla bla more. so the clean img is even cleaner
7) clone to file. with xbianclone function. for training, use just xbian-config, option 6 or 7? as destination put
file:/mnt/path/to/file.img
WARNING - the destination needs to be different filesystem from rootfs. so it has be network mount, or usb hdd/stick or similar.
8) you are done. you can distribute .img.
this auto process will try to guess minimum possible size for destination img file. unfortunately this leads to new rootfs (and img) of size ~600mb which will force btrfs to use mixed-data-metadata structure (because filesystem is too small). according to docs, such filesystem even after resize will keep this structure what can leads to performance hits (when later resized to bg filessytem). docs are not specifying what means BIG and what means (or how much it means) performance hit. I assume developers considered std HDD sizes (1/2TB) so our mini SD cards will not make a difference.

but still if you are perfectionist, you create xbianclone from command line by using --size parameter, you specify size greater than 1G (1024M or 1048576K). the size can be specified exactly as I provided so with G/M/K suffixes. I usually use 1200M.

you get content wise same img as before, but you need (or would be nice) to shrink the filesystem, cut the partition and with dd recopy to new img just the needed amounts of sectors.

sounds scary but is quite easy. if you come to this point and you will feel confident, ask me again for the few commands to cut the waste empty space.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
New image for download page of xbian.org - NitSuA - 3rd May, 2014, 11:24 PM
RE: New image for download page of xbian.org - IriDium - 6th May, 2014, 02:27 AM
RE: New image for download page of xbian.org - NitSuA - 6th May, 2014, 05:48 PM
RE: New image for download page of xbian.org - CurlyMo - 6th May, 2014, 10:43 PM
RE: New image for download page of xbian.org - NitSuA - 6th May, 2014, 11:13 PM
RE: New image for download page of xbian.org - mk01 - 28th May, 2014 07:55 AM
RE: New image for download page of xbian.org - CurlyMo - 28th May, 2014, 10:06 AM
RE: New image for download page of xbian.org - CurlyMo - 29th May, 2014, 04:46 AM
RE: New image for download page of xbian.org - IriDium - 29th May, 2014, 05:02 AM
RE: New image for download page of xbian.org - CurlyMo - 29th May, 2014, 05:07 AM
RE: New image for download page of xbian.org - NitSuA - 29th May, 2014, 11:52 PM
RE: New image for download page of xbian.org - CurlyMo - 29th May, 2014, 11:54 PM
RE: New image for download page of xbian.org - NitSuA - 30th May, 2014, 12:34 AM
RE: New image for download page of xbian.org - CurlyMo - 30th May, 2014, 02:19 AM
RE: New image for download page of xbian.org - NitSuA - 30th May, 2014, 07:03 PM
RE: New image for download page of xbian.org - CurlyMo - 30th May, 2014, 08:00 PM
RE: New image for download page of xbian.org - sir106 - 31st May, 2014, 04:24 PM
RE: New image for download page of xbian.org - CurlyMo - 31st May, 2014, 04:46 PM
RE: New image for download page of xbian.org - sir106 - 31st May, 2014, 05:00 PM
RE: New image for download page of xbian.org - CurlyMo - 31st May, 2014, 05:37 PM
RE: New image for download page of xbian.org - sir106 - 31st May, 2014, 05:55 PM
RE: New image for download page of xbian.org - lighter - 1st Jun, 2014, 02:01 AM
RE: New image for download page of xbian.org - IriDium - 1st Jun, 2014, 02:10 AM
RE: New image for download page of xbian.org - sebaa - 1st Jun, 2014, 06:25 PM
RE: New image for download page of xbian.org - IriDium - 1st Jun, 2014, 09:34 PM
RE: New image for download page of xbian.org - CurlyMo - 1st Jun, 2014, 09:49 PM
RE: New image for download page of xbian.org - lighter - 1st Jun, 2014, 11:54 PM
RE: New image for download page of xbian.org - CurlyMo - 2nd Jun, 2014, 12:02 AM
RE: New image for download page of xbian.org - IriDium - 2nd Jun, 2014, 01:24 AM
RE: New image for download page of xbian.org - sebaa - 9th Jun, 2014, 07:45 AM
RE: New image for download page of xbian.org - IriDium - 2nd Jun, 2014, 03:34 AM
RE: New image for download page of xbian.org - IriDium - 2nd Jun, 2014, 04:03 PM
RE: New image for download page of xbian.org - CurlyMo - 9th Jun, 2014, 08:14 AM
RE: New image for download page of xbian.org - sebaa - 9th Jun, 2014, 08:37 AM
RE: New image for download page of xbian.org - IriDium - 9th Jun, 2014, 10:07 PM

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

Current time: 9th Jun, 2025, 11:29 PM Powered By MyBB, © 2002-2025 MyBB Group.