Idea: Boot XBian from USB
|
18th Dec, 2013, 09:53 PM
Post: #286
|
|||
|
|||
RE: Boot XBian from USB
(18th Dec, 2013 09:30 PM)stormy Wrote:(18th Dec, 2013 12:03 PM)Lilone21804 Wrote: Could someone explain how to install Xbian on an USB drive to me, I am having the hardest time. Im on Beta 2. I know how to initiate the clone by going to option 6 in xbian.config. That's as far as I can go. I'm not sure how to check for where the USB is mounted, how to change the cmdline.txt, or anything else. Pretty much, I need someone the explain step by step if possible. Wait, what? No. That is in no way an answer to the question asked. Lilone21804. To find out where the USB-drive is mounted, typ "df -h" after logging in via SSH. When you've found out where the USB is mounted, typ "sudo vi /boot/cmdline.txt" and change "root=/dev/mmcblk0p2" to "root=/dev/sda1" You might need to read a bit about vi https://www.washington.edu/computing/unix/vi.html |
|||
19th Dec, 2013, 04:41 AM
Post: #287
|
|||
|
|||
RE: Boot XBian from USB
I've given up, trying to get it to run from USB is a nightmare. I selected option 6 in the Xbian config, tackled the root location switch via the absolutely hellish Vi, and it didn't work at all, and now I hate myself and everything that has ever existed.
|
|||
19th Dec, 2013, 04:46 AM
Post: #288
|
|||
|
|||
RE: Boot XBian from USB
(18th Dec, 2013 09:53 PM)Smultie Wrote:(18th Dec, 2013 09:30 PM)stormy Wrote:(18th Dec, 2013 12:03 PM)Lilone21804 Wrote: Could someone explain how to install Xbian on an USB drive to me, I am having the hardest time. Im on Beta 2. I know how to initiate the clone by going to option 6 in xbian.config. That's as far as I can go. I'm not sure how to check for where the USB is mounted, how to change the cmdline.txt, or anything else. Pretty much, I need someone the explain step by step if possible. I actually figured it out, but thanks for your help. I was under the impression that once I did this procedure, I wouldn't have to keep the SD card in anymore? |
|||
19th Dec, 2013, 04:53 AM
Post: #289
|
|||
|
|||
RE: Boot XBian from USB | |||
19th Dec, 2013, 06:08 AM
Post: #290
|
|||
|
|||
RE: Boot XBian from USB
(19th Dec, 2013 04:53 AM)postdeath Wrote:(19th Dec, 2013 04:46 AM)Lilone21804 Wrote: I actually figured it out, but thanks for your help. I was under the impression that once I did this procedure, I wouldn't have to keep the SD card in anymore? 1. I formatted my USB flash drive to the default fat32 file structure on my PC and then plugged in back into my Pi. 2. Under system/system info/storage, it tells you want the USB is mounted under. In my case it was sda1. 3. I ssh into Xbian.config and went to option 6. I only changed were it said "dev/sdxx" to "dev/sda1". I hit enter and it did its thing. It took a while, but the okay button finally appeared at the bottom of the screen. 4. Next I used "sudo nano /boot/cmdline.txt" and changed "root=/dev/mmcblk0p2" to "root=/dev/sda1". Control and x to save and that's it. Hope it works for you. |
|||
19th Dec, 2013, 07:21 AM
Post: #291
|
|||
|
|||
RE: Boot XBian from USB
Ahh, thank you so much - following your steps I was able to work out what my issue was (my flash drive was sda and not sda1 and needed to be fixed in GParted). It's all working now - thanks again
|
|||
20th Dec, 2013, 10:08 PM
Post: #292
|
|||
|
|||
RE: Boot XBian from USB
@Lilone21804: I followed your instructions to move the Xbian install to a usb drive, but when I boot the rpi I'm stuck with a black screen. I can type things, but it doesn't execute anything. I'm also not able to log in via ssh. What happened?
EDIT: Fixed it, I needed to format the usb with my PC and got it working now! |
|||
21st Dec, 2013, 04:22 AM
Post: #293
|
|||
|
|||
RE: Boot XBian from USB
(19th Dec, 2013 07:21 AM)postdeath Wrote: Ahh, thank you so much - following your steps I was able to work out what my issue was (my flash drive was sda and not sda1 and needed to be fixed in GParted). It's all working now - thanks again (20th Dec, 2013 10:08 PM)Cyroq Wrote: @Lilone21804: I followed your instructions to move the Xbian install to a usb drive, but when I boot the rpi I'm stuck with a black screen. I can type things, but it doesn't execute anything. I'm also not able to log in via ssh. What happened? Well I'm glad my instructions worked for you. |
|||
24th Dec, 2013, 02:44 AM
Post: #294
|
|||
|
|||
RE: Boot XBian from USB
(19th Dec, 2013 06:08 AM)Lilone21804 Wrote:hi to all,(19th Dec, 2013 04:53 AM)postdeath Wrote:(19th Dec, 2013 04:46 AM)Lilone21804 Wrote: I actually figured it out, but thanks for your help. I was under the impression that once I did this procedure, I wouldn't have to keep the SD card in anymore? i did all the steps,but xbian won't boot, it stuck on "network started" and drop to shell.i cant ssh the device nor ping it. i'm trying since two day and i can't get it to work. |
|||
24th Dec, 2013, 03:00 AM
Post: #295
|
|||
|
|||
RE: Boot XBian from USB
(18th Dec, 2013 09:53 PM)Smultie Wrote:(18th Dec, 2013 09:30 PM)stormy Wrote: All I did was to install beta2 on the SD card, bung the sd card in the rasp pi and then plug in the usb then turn the pi on , the rest is just automatic. Seemed to work for me . I think @stormy has got confused between USB boot and USB mount. @brice83 If you have dropped to a shell can you post the following: 1) df -h 2) Output of dmesg via pastebin 3) /boot/cmdline.txt and /boot/config.txt It really is as simple as @Lilone21804 explained. So it looks like you may have made a simple error. Please read before you post How to post a log file If you liked my help, click on "Thanks" to show your appreciation.
|
|||
24th Dec, 2013, 03:11 AM
Post: #296
|
|||
|
|||
RE: Boot XBian from USB
(24th Dec, 2013 02:44 AM)brice83 Wrote: hi to all, can you post /run/upstart-ev.log ? Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
24th Dec, 2013, 07:35 AM
Post: #297
|
|||
|
|||
RE: Boot XBian from USB
(24th Dec, 2013 03:00 AM)IriDium Wrote: If you have dropped to a shell can you post the following:i can only provide cmdline.txt and config.txt since i dont have a keyboard connected to the pi. cmdline.txt Code: sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/sda1 rootflags=subvol=root/@,autodefrag,compress=lzo rootfstype=btrfs rootwait smsc95xx.turbo_mode=N elevator=cfq config.txt Code: initramfs initramfs.gz 0x00a00000 (24th Dec, 2013 03:11 AM)mk01 Wrote: can you post /run/upstart-ev.log ?upstart-ev.log Code: 4150.67 2041.99 stopped progress-shutdown 0.87 1.50 1.33 2/68 11509 |
|||
24th Dec, 2013, 07:53 AM
Post: #298
|
|||
|
|||
RE: Boot XBian from USB
you copied this somehow from not live system, right ?
I would need the one from running rpi at the point your XBMC don't start and you get console. you can remove "splash" from cmdline.txt. and you can take picture from actual screen. there should be at least some info. btw: when you are waiting and nothing happens, at the time RPI closes splash and opens console login prompt, this is failsafe process activated. as it is opening the console, it should also try to force start network (eth0) and ssh. timer for failsafe to kick in is 100s from boot. then you should be to access it remotely, Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
24th Dec, 2013, 08:51 AM
Post: #299
|
|||
|
|||
RE: Boot XBian from USB
(24th Dec, 2013 07:53 AM)mk01 Wrote: you copied this somehow from not live system, right ?now after a long delay,i can login via ssh on the pi, but , on tv the screen remain black.here are content of upstart-ev.log: Code: xbian@xbian ~ $ cat /run/upstart-ev.log and dmesg is here: http://pastebin.com/BTkBXJF3 |
|||
24th Dec, 2013, 06:29 PM
Post: #300
|
|||
|
|||
RE: Boot XBian from USB
I'm running Xbian 1.0 beta 1. I had some problems with sd-card corruption so I have installed in on a usb-drive.
Steps where to easy. I transferred the root partition to an usb drive, and the /boot to a small sd card of 128mb 1. Format USB drive as FAT32 2. Insert in the Raspberry Pi 3. sudo dd if=/dev/mmcblk02 of=/dev/sda1 After the dd I transfered the content of the fat partition (/boot) to a small 128mb fat formatted sd card. Didn't change anything to cmdline.txt, just booted and it started |
|||
« Next Oldest | Next Newest »
|