Forum
[IDEA] Boot XBian from USB - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: [IDEA] Boot XBian from USB (/thread-427.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


RE: Boot XBian from USB - Smultie - 5th Feb, 2014 10:36 PM

Could you post the "noob"-version of how to download/install that on my Pi?


RE: Boot XBian from USB - mk01 - 5th Feb, 2014 10:40 PM

@Smultie

you mean

Code:
cd /usr/sbin
sudo -s
rm btrfs-auto-snapshot
wget https://raw.github.com/xbianonpi/xbian-package-config-shell/master/content/usr/sbin/btrfs-auto-snapshot
chmod +x btrfs-auto-snapshot
echo "YOU ARE DONE"; exit

but how IriDium posted it is the only way "correct". because will manage also other aspect as dependencies etc.
so this wget is fine just for this one case!


RE: Boot XBian from USB - Smultie - 5th Feb, 2014 11:02 PM

You improved your Zip-alghoritm!!
Now, instead of 20bytes it creates no file at all Smile

─[Config > Backup /home to file]────────────┐
│ │
│ Backup /home process failed! │
│ │
├─────────────────────────────────────────────────────┤
│ <Close>

P.s. btrfs-auto-snapshot went from 27kb to 183kb in size, is that correct?


RE: Boot XBian from USB - mk01 - 5th Feb, 2014 11:04 PM

@Smultie

to be honest as non-liker of GUI interfaces I just tested
Code:
btrfs-auto-snapshot backuphome

but you are right, there is probably more to do.

hmm, for me it is currently in progress and file is growing... currently 100mb. should be 300m. lets see.


RE: Boot XBian from USB - Smultie - 5th Feb, 2014 11:09 PM

(5th Feb, 2014 11:04 PM)mk01 Wrote:  @Smultie

to be honest as non-liker of GUI interfaces I just tested
Code:
btrfs-auto-snapshot backuphome

but you are right, there is probably more to do.

hmm, for me it is currently in progress and file is growing... currently 100mb. should be 300m. lets see.

I'll just wait, but what about the filesize: btrfs-auto-snapshot went from 27kb to 183kb

HHm, apparantly it created a folder named /xbmc/backup instead of it's normal place. That might help you backtrack the problem?


RE: Boot XBian from USB - mk01 - 5th Feb, 2014 11:17 PM

it finished, prepares file, but returns failed and xbian-config informs you and removes file.

will update.


RE: Boot XBian from USB - Smultie - 5th Feb, 2014 11:23 PM

Over here:

root@xbian:/usr/sbin# btrfs-auto-snapshot backuphome
Create a readonly snapshot of '/tmp/tmp.gbuwOcjNbD/@' in '/tmp/tmp.gbuwOcjNbD/@ro'
At subvol /tmp/tmp.gbuwOcjNbD/@ro
ERROR: open home/@ro failed. No such file or directory
Delete subvolume '/tmp/tmp.gbuwOcjNbD/@ro'
FSSync '/tmp/tmp.gbuwOcjNbD'

and with your updated file:

root@xbian:/usr/sbin# btrfs-auto-snapshot backuphome
/usr/sbin/btrfs-auto-snapshot: line 6: syntax error near unexpected token `newline'
/usr/sbin/btrfs-auto-snapshot: line 6: `<!DOCTYPE html>'


RE: Boot XBian from USB - mk01 - 5th Feb, 2014 11:54 PM

DONE


RE: Boot XBian from USB - Smultie - 5th Feb, 2014 11:57 PM

(5th Feb, 2014 11:54 PM)mk01 Wrote:  DONE

If you just tell me the noob-friendly way to check it, I'm more than willing Wink


RE: Boot XBian from USB - mk01 - 5th Feb, 2014 11:58 PM

(5th Feb, 2014 11:23 PM)Smultie Wrote:  root@xbian:/usr/sbin# btrfs-auto-snapshot backuphome
/usr/sbin/btrfs-auto-snapshot: line 6: syntax error near unexpected token `newline'
/usr/sbin/btrfs-auto-snapshot: line 6: `<!DOCTYPE html>'


you downloaded the webpage generated look, .html. not the raw file.
(but it happened because I posted wrong link. it must be raw.github.com)
((corrected previous post))

It is still the same as when you asked for PM, then for previous fix today and again now.

If I would update more files, or the procedure would change, I would tell you. Don't be affraid.


RE: Boot XBian from USB - Smultie - 6th Feb, 2014 12:04 AM

Okay, kinda figured that out by myself. It's currently running.
Just a small noob-question: When I download a file from raw.github it most of the times gets saved as a .1 or .2 extended file.
How to deal with those?

mv oldfile oldfile.old
mv oldfile.1 oldfile

?


RE: Boot XBian from USB - mk01 - 6th Feb, 2014 12:08 AM

@Smultie,

you see? that;s why don't should be putting any "hacks" on the forum Smile

old file should be removed before new is downloaded, otherwise wget is renaming - so yes, your "mv" commands are pefect. updated (again) previous post with wgettting the file.

so again: the right way in easiest way simply to update / install the package.


RE: Boot XBian from USB - Smultie - 6th Feb, 2014 12:10 AM

I don't see a modification in http://forum.xbian.org/thread-427-post-20653.html#pid20653
Is that the post you meant?


RE: Boot XBian from USB - mk01 - 6th Feb, 2014 12:19 AM

because you are clicking refresh faster than myself editing text, committing, pushing git, updating apt repository and regenerating indexes.

you have to forgive me for this Wink


RE: Boot XBian from USB - Smultie - 6th Feb, 2014 01:38 AM

(6th Feb, 2014 12:19 AM)mk01 Wrote:  because you are clicking refresh faster than myself editing text, committing, pushing git, updating apt repository and regenerating indexes.

you have to forgive me for this Wink

I'm sorry Sad