Idea: Boot XBian from USB
|
21st Jul, 2013, 07:10 AM
Post: #136
|
|||
|
|||
RE: USB Installation
ok I see I will put a copy command - or xbian-config menu - to copy installation to other device.
guys, it is process for 5 minutes. so i'm just sad you are wasting hours. Mark, the flipping is "no files within home folder". Are you sure you performed step 4)? I'm not. It makes no sense to again copy everything over and over? Just boot again from sd, and copy just the home content again. - small hint, install midnight commander (apt-get install mc) and run from terminal (ssh) with "mc". it can't be easier. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
21st Jul, 2013, 11:17 AM
Post: #137
|
|||
|
|||
RE: USB Installation
Ok! I will double check I am copying /home to the USB drive. This makes no sense to me either why it isnt working.
I will also look into MC. When will the copying of / and /home be implemented into the xbian-config menu??? Sorry for being a burden to the community! Mark |
|||
21st Jul, 2013, 03:14 PM
Post: #138
|
|||
|
|||
RE: USB Installation
Lol! It seems that I am not meant to be able to copy the / and/home to usb. I went back to the originally posted Mk01 rsync commands and get
Code: rsync: mkstemp "/mnt/usr/sbin/.try-from.Cgu718" failed: Read-only file system (30) So my questions. Is it worth it, spending more and more hours trying to make this work for me? Should I wait until you put that option into the Xbian menu? Is it even worth it..., having xbian on usb? Sorry but I am becoming verry verry angry / frusterated about this problem I have tried every thinkable method of solving, given the provided tools. Thanks for your patient, support! |
|||
22nd Jul, 2013, 01:45 AM
Post: #139
|
|||
|
|||
RE: USB Installation
For what it is worth...
[quote]rsync -aAX /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs} --progress [quote] running this must be doing something. If I run my Pi with SD card only I cannot avoid card corruption at medium in xbian config. With this line of code run under ssh I am running under Turbo without an issue. Avoiding card corruption is my only reason to try a USB install. So to MK01 and Mark, thank you for the excellent directions Cheers |
|||
22nd Jul, 2013, 10:57 AM
Post: #140
|
|||
|
|||
RE: USB Installation
Hi, thank you for the instructions for a "USB boot" for Beta 1.1 (from a fresh install.) I'm now able to overclock at "high" and get stutter free 1080p whilst decoding DTS.
For anyone else trying to follow this thread, here is what worked for me. Note I didn't use root, I used the xbian user. I also don't connect a USB hard drive so the USB flash drive is the only device I was concerned with and it appeared as /dev/sda1 (you can check with "dmesg"). Code: sudo umount /dev/sda1 I hope it helps someone else. |
|||
22nd Jul, 2013, 06:37 PM
Post: #141
|
|||
|
|||
RE: USB Installation
Even easier:
Code: sudo mkfs.btrfs -L xbian-usb /dev/sda1 pilight - modular domotica solution
|
|||
22nd Jul, 2013, 11:44 PM
Post: #142
|
|||
|
|||
RE: USB Installation
(22nd Jul, 2013 06:37 PM)CurlyMo Wrote: Even easier...I defer to, and thank you for, your linux skills. Easy=good. Seeing your code made me google "sed linux" to see what it does. I guess the optional, noob friendlier, command to change the value of rootwait (to XX) would be: sed -i 's/rootwait=10/rootwait=XX/g' /boot/cmdline.txt |
|||
23rd Jul, 2013, 05:12 AM
Post: #143
|
|||
|
|||
RE: USB Installation
Or even better , this way it doesn't depend on the rootwait to be 10:
Code: sed -i 's/\(rootwait=\)\([0-9]\{1,\}\)/rootwait=XX/g' pilight - modular domotica solution
|
|||
23rd Jul, 2013, 06:20 AM
Post: #144
|
|||
|
|||
RE: USB Installation | |||
23rd Jul, 2013, 07:41 AM
Post: #145
|
|||
|
|||
RE: USB Installation
The only few times i react to posts is when sed is needed. mk01 single can handedly solve the climate change, the world hunger, create world peace, but somehow still doesn't know how to use sed
pilight - modular domotica solution
|
|||
23rd Jul, 2013, 11:37 AM
Post: #146
|
|||
|
|||
RE: USB Installation
I don't know sed either, but I think one or more is needed?
Code: sudo nano /mnt/etc/fstab |
|||
23rd Jul, 2013, 05:30 PM
Post: #147
|
|||
|
|||
RE: USB Installation
No, 5th + 6th command from my post (or 2nd + 3rd sed) from my post.
pilight - modular domotica solution
|
|||
24th Jul, 2013, 05:50 AM
Post: #148
|
|||
|
|||
RE: USB Installation | |||
24th Jul, 2013, 06:53 AM
Post: #149
|
|||
|
|||
RE: USB Installation
Did you try these commands on the fstab?
pilight - modular domotica solution
|
|||
27th Jul, 2013, 12:10 PM
Post: #150
|
|||
|
|||
RE: USB Installation - Use different SD Card
Hi,
So the USB installation is working well. I'm now looking to reclaim the installation SD card and replace it with an older, smaller card. In Alpha 5, all I had to do was copy the contents of the boot directory and put them on a FAT formatted card. That doesn't work for me with Beta 1.1. Is there somthing else required that will allow that? Thanks! |
|||
« Next Oldest | Next Newest »
|