Idea: Boot XBian from USB
|
22nd Nov, 2013, 03:54 AM
Post: #256
|
|||
|
|||
RE: Boot XBian from USB
(22nd Nov, 2013 03:38 AM)Rubman Wrote:(22nd Nov, 2013 03:29 AM)IriDium Wrote: If you edited cmdline.txt correctly and it booted - you are certainly running off of the USB.You mean ssh into Pi and the just running DF -h? It works - just not on your system, if you don't want to cooperate then that is your prerogative. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
22nd Nov, 2013, 03:57 AM
Post: #257
|
|||
|
|||
RE: Boot XBian from USB
Oh it's not that I dont wan't to cooperate, but whatever I try (and I have been for 2 days now) it doesn't seem to work.
(And I also have a nagging girlfriend that I promised a working media center) What do you need to know to help,'and also make it work on my system? |
|||
22nd Nov, 2013, 06:24 AM
Post: #258
|
|||
|
|||
RE: Boot XBian from USB
(22nd Nov, 2013 03:57 AM)Rubman Wrote: Oh it's not that I dont wan't to cooperate, but whatever I try (and I have been for 2 days now) it doesn't seem to work. Hello Rubman, I have done this many times, I'll try to help... First thing to look at, is the sdcard... If you see random errors or problems try a different sdcard... When you do the xbian copier mothed, the source and destination I use is /dev/root /dev/sda1... The copy process can take a few minutes, just be patient... Then edit the cmdline.txt file, you want root to point to the USB... root=/dev/sda1 Do a reboot, then check "df - h"... In my case it was still running from sdcard... So I then edited the fstab file, both lines with /dev/root, I changed to /dev/sda1... I rebooted and everything was working... I even removed the system and swap partitions from the sdcard to verify... Let me know if you get it... |
|||
22nd Nov, 2013, 07:39 AM
Post: #259
|
|||
|
|||
RE: Boot XBian from USB
(21st Nov, 2013 02:46 PM)mk01 Wrote: @Wrechid Hello mk01, here is that error i mentioned Code: 19:36:15 T:2940896320 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- everything seems to be working... its only when i copy the boot partition and write it to a different sdcard... |
|||
22nd Nov, 2013, 08:17 PM
Post: #260
|
|||
|
|||
RE: Boot XBian from USB
(22nd Nov, 2013 06:24 AM)Wrechid Wrote:(22nd Nov, 2013 03:57 AM)Rubman Wrote: Oh it's not that I dont wan't to cooperate, but whatever I try (and I have been for 2 days now) it doesn't seem to work. That's what I did except for the df -h because when I changed the cmdline.txt to sda1 it wouldn't even start completely. it just hangs in a kind of ssh screen on the tv. (away now so can't reaaly test and say what kind of error occured) When I edited the fstab file via ssh (cmdline was normal booting from sd) and then edited the cmdline to usb boot it started initially but after a while it just crashed (or whenever I tried to ssh into the Pi) |
|||
22nd Nov, 2013, 10:08 PM
Post: #261
|
|||
|
|||
RE: Boot XBian from USB
Hello Rubman,
It really sounds like a sdcard failing on ya... I had 2 cards fail on me recently... It was horrible trying to figure out which one was bad... :/ another thing could be the power supply... You mentioned that after a while, it would mess up... With power supplies, if they get warn, they tend to produce less power... Just for trial and error, try removing the overclock settings from config.txt... That will reduce power needed, also less strain on sdcard... |
|||
23rd Nov, 2013, 12:53 AM
Post: #262
|
|||
|
|||
RE: Boot XBian from USB
Power source is a HTC cable that had proved usefull thus far, can be the sd card since there just chiped of a small piece of the side.
|
|||
23rd Nov, 2013, 01:58 AM
Post: #263
|
|||
|
|||
RE: Boot XBian from USB
SD cards are very fragile - the plastic separators can become damaged which can cause issues.
Which is why I use a micro and leave the SD apaptor in the RPi. Also high speed SD cards can also cause issues. A class 4 6 or 10 is all you really need. Try another card - if you have one Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
24th Nov, 2013, 05:11 PM
Post: #264
|
|||
|
|||
RE: Boot XBian from USB
Yeah luckily it's only the adaptor, and with a new one it works like normal. Now to get usb boot working again. Time for another try.
|
|||
25th Nov, 2013, 06:31 AM
Post: #265
|
|||
|
|||
RE: Boot XBian from USB
@Rubman Hopefully it will work for you now. However, if you are on the latest Beta 2, I would give it a while, as there is a current issue with xbian-config which may not work - a stuck copy
Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
25th Nov, 2013, 07:42 PM
Post: #266
|
|||
|
|||
RE: Boot XBian from USB
(25th Nov, 2013 06:31 AM)IriDium Wrote: @Rubman Hopefully it will work for you now. However, if you are on the latest Beta 2, I would give it a while, as there is a current issue with xbian-config which may not work - a stuck copy After swapping the adapter for my microsd the Pi went from dodgy to stable. Formatted the USB (just to be sure to erase all remnants of dodgy transfers) and restarted the copy via Xbian config. Took a while (anout 5-10 minutes) but after that is was just editing cmdline.txt and fstab (it still refused to start from USB without editing fstab) Seems to be working propperly now and a lot faster, even ssh into the pi didn't cause it to completely fail again. my fstab file now looks like the one from Wrechid, and it seems to be running from USB. however if I look into df- h it says boot from mmscp(something)01 40% used. That's normal right? |
|||
26th Nov, 2013, 05:32 AM
Post: #267
|
|||
|
|||
RE: Boot XBian from USB
(25th Nov, 2013 07:42 PM)Rubman Wrote: however if I look into df- h it says boot from mmscp(something)01 40% used. That's normal right?Remember you only COPIED the filesystem, so the original is still on the SD card. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
26th Nov, 2013, 04:43 PM
Post: #268
|
|||
|
|||
RE: Boot XBian from USB
(26th Nov, 2013 05:32 AM)IriDium Wrote:(25th Nov, 2013 07:42 PM)Rubman Wrote: however if I look into df- h it says boot from mmscp(something)01 40% used. That's normal right?Remember you only COPIED the filesystem, so the original is still on the SD card. I get that, but when I see Home etc Running from USB it's good right? It still needs to boot from SD and the rest is running from USB. |
|||
11th Dec, 2013, 11:49 PM
Post: #269
|
|||
|
|||
RE: Boot XBian from USB
Just finally (no idea why it took me so long) switched from SD to USB, and switched to the "High" overclock.
Should have done this way sooner! Boots and reacts much quicker, CPU idle is down to 12%. |
|||
13th Dec, 2013, 04:05 PM
Post: #270
|
|||
|
|||
RE: Boot XBian from USB
So my /mnt/etc/fstab file looks nothing like the ones mentioned earlier in this thread. There is no "LABEL=xbian-root-btrfs" and no "subvol=root/@". I'm following the guide from the wiki.
Here are the contents of the file: Code: # What do I do? EDIT: Also I'm running the newest version (XBian beta 2) |
|||
« Next Oldest | Next Newest »
|