Idea: Boot XBian from USB
|
19th Jul, 2013, 07:05 AM
Post: #121
|
|||
|
|||
RE: USB Installation
(19th Jul, 2013 06:37 AM)Fred Wrote: You can´t use the XBian installer for the USB stick. Here it is: Code: xbian@xbian ~ $ sudo mount |
|||
19th Jul, 2013, 07:18 AM
Post: #122
|
|||
|
|||
RE: USB Installation
Okay and how does it look after step 2 of mk01 guide?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Jul, 2013, 07:37 AM
Post: #123
|
|||
|
|||
RE: USB Installation
(19th Jul, 2013 07:18 AM)Fred Wrote: Okay and how does it look after step 2 of mk01 guide? Code: xbian@xbian ~ $ sudo stop xbmc |
|||
19th Jul, 2013, 07:46 AM
Post: #124
|
|||
|
|||
RE: USB Installation
Okay can you repeat the whole procedure again but now before step 1 do a 'sudo umount /dev/sda1' .
If it still does not work, post output of 'sudo mount' after step 2. Also post output of 'fdisk -l'. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Jul, 2013, 07:52 AM
Post: #125
|
|||
|
|||
RE: USB Installation
(19th Jul, 2013 07:46 AM)Fred Wrote: Okay can you repeat the whole procedure again but now before step 1 do a 'sudo umount /dev/sda1' . Ok. This is with suggestion before his first step: Code: xbian@xbian ~ $ clear Output of fdisk -l Code: xbian@xbian ~ $ sudo fdisk -l |
|||
19th Jul, 2013, 08:28 AM
Post: #126
|
|||
|
|||
RE: USB Installation
Okay. Please also give me the output of 'sudo mount' like you did a couple of posts ago. Except now after step 2.
The formatting of /dev/sda1fails because it's mounted. Which is odd because you did an umount. Maybe it is caused by usb auto mount. Can you try disabling this and then try again. sudo nano /etc/usbmount/usbmount.conf Change enabled=1 to 0, save it and then reboot. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
19th Jul, 2013, 08:48 AM
Post: #127
|
|||
|
|||
RE: USB Installation
(19th Jul, 2013 08:28 AM)Fred Wrote: Okay. Please also give me the output of 'sudo mount' like you did a couple of posts ago. Except now after step 2. I think I did the first part of your request wrong but heres what I did and I got the same error. Code: xbian@xbian ~ $ sudo stop xbmc After I changed the auto mount .config file, it seemed to copy all of the files without a problem. No operation errors ))))) I will be away from keyboard for the next 3 hours but will be back I will keep you posted Fred Thanks a lot |
|||
19th Jul, 2013, 10:33 AM
Post: #128
|
|||
|
|||
RE: USB Installation
Ok. So it seemed that when i edited the automount usb file, the rsync could be completed. I believe it had one error at the end but it seemed to continue the process.
I was unable to catch the error as I was directly on the RPI CLI and not using ssh. Edited the rest of the files without any problems. But one issue now. When I power it up with the usb plugged in, it seems to display the splash screen and then flip over to the verbose version (if you will) stating all of the files that are being loaded. It does this for about 45 seconds and then it just stays at the screen "starting xmbc". ? Code: 0) stop xbmc Ok. now for an easy question....on Step 5), it says step 3...? so do i repeat step 3???? My newest error when running Code: rsync -avx -progress / /mnt Error: Code: ERROR: var/cache/apt/pkgcache.bin failed verification -- update discarded. Any ideas on how to fix this?? Are the two updates vital to the rsync copy to USB? |
|||
19th Jul, 2013, 06:22 PM
Post: #129
|
|||
|
|||
RE: USB Installation
(19th Jul, 2013 10:33 AM)Mark Wrote: Ok. now for an easy question....on Step 5), it says step 3...? so do i repeat step 3???? yes, just repeat the step 3. it's because copying / takes a while and some files could be changed during the run. so just to be sure everything is atomic. second time it takes just few seconds. the error on /var/cache should not be critical. it's just cache files for apt operations, if damaged, should have been recreated when needed. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
20th Jul, 2013, 12:19 AM
Post: #130
|
|||
|
|||
RE: USB Installation
Ok. I completed the steps including the step 3 repeat on step 5. I Booted the system and I saw that there was an error accessing the /home folder. When I have a chance later today, I will find out what the error was.
|
|||
20th Jul, 2013, 02:09 AM
Post: #131
|
|||
|
|||
RE: USB Installation
Also a quick note. When I completed the USB install and followed the steps, it booted ok. But it would go to Xbmc loading, and it would flip back and forth from that and the Xbian Login in CLI. So i dont know if this helps or what this means.. Tonight I will find the error message I got with the /home folder missing
|
|||
20th Jul, 2013, 03:00 AM
Post: #132
|
|||
|
|||
RE: USB Installation
Remove step 3 - 5 and replace it by this:
rsync -aAX /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs} --progress Somehow the home folder is not copied (which contains xbmc files). Don't know why it went wrong but using this method will copy it. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
20th Jul, 2013, 06:53 AM
Post: #133
|
|||
|
|||
RE: USB Installation
Hi I'm trying and reading to my eyes bleed, but I keep getting the following error message
rsync: link_stat "/root/.progress" failed: No such file or directory (2) Any suggestins on how to over come this. It happens here.. stop xbmc mkfs.btrfs -L xbian-usb /dev/sda1 mount /dev/sda1 /mnt So the answer was right above me: Quote:rsync -aAX /* /mnt/ --exclude={/dev/*,/proc/*,/sys/*,/tmp/*,/run/*,/mnt/*,/media/*,/lost+found,/home/*/.gvfs} --progress new question. Is nano /mnt/etc/fstab : still vaild? Putty just brings up an empty page claiming to fstab Cheers - again thanks for the help |
|||
20th Jul, 2013, 09:22 AM
Post: #134
|
|||
|
|||
RE: USB Installation
(20th Jul, 2013 03:00 AM)Fred Wrote: Remove step 3 - 5 and replace it by this: Testing this now. I will know in about 2 hours when I have free time Thanks again for your help! |
|||
20th Jul, 2013, 11:47 AM
Post: #135
|
|||
|
|||
RE: USB Installation
Ok This happened when running the modified rsync statement.
Code: rsync: mkstemp "/mnt/usr/sbin/.syslog-facility.Maj9bF" failed: Read-only file system (30) Also tried to run "nano /mnt/etc/fstab :" Was able to edit it to specifications but then I couldnt save it because it gave me "[Error writing /mnt/etc/fstab: Read-only file system]" So from this I am unable to change the fstab file. So how can this read-only be fixed? |
|||
« Next Oldest | Next Newest »
|