![]() |
[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) |
RE: USB Installation - namtih - 16th Feb, 2013 04:58 AM It's just bad formatted in the forum ![]() It's of course only one line original. Just used another command and it also shows that the usb drive isn't used ![]() Terminal root@xbian ~ # ls -al /dev/root lrwxrwxrwx 1 root root 9 Jan 1 1970 /dev/root -> mmcblk0p2 RE: USB Installation - CurlyMo - 16th Feb, 2013 05:01 AM Can you try these instructions? http://forum.xbian.org/thread-427-post-4687.html#pid4687 RE: USB Installation - namtih - 16th Feb, 2013 07:10 AM Unfortunately it seems not possible to execute your steps. The problem seems to be that the SD card is 16GB and the usb device is only 8GB. When I execute your dd command the usb device is filled until 8GB and then the command hangs. When I cancel it via STRG+C and try to access the usb mount I only get "Permission denied". So I think the filesystem table isn't written yet. Terminal xbian@xbian ~ $ df -m Filesystem 1M-blocks Used Available Use% Mounted on rootfs 15107 691 14411 5% / /dev/mmcblk0p2 15107 691 14411 5% / tmpfs 38 1 38 1% /run tmpfs 5 0 5 0% /run/lock tmpfs 10 0 10 0% /dev /dev/sda 15228 7845 7377 52% /media/usb0 tmpfs 75 0 75 0% /run/shm /dev/mmcblk0p1 34 11 24 31% /boot xbian@xbian ~ $ xbian@xbian ~ $ xbian@xbian ~ $ cd /media/usb0 -bash: cd: /media/usb0: Permission denied xbian@xbian ~ $ RE: USB Installation - CurlyMo - 16th Feb, 2013 07:15 AM Can you shrink the root partition with a parted live cd to less than 8GB? RE: USB Installation - namtih - 16th Feb, 2013 07:10 PM Seems to got it working now. I used an Ubuntu Live CD and gave the shrink method a try, but no luck. Still the same problem after the dd command. Finally it was the new initramfs line in the config.txt, which seems to prevent mounting the usb device at startup. After I've removed it, it started from usb. So the first-startup wizard started, did some pre-configuration and the resize. After the automatic start just a black screen - nothing more, not even boot messages (aaaaargh). So I only took the SD card and installed the img file again, edited the cmdline.txt and config.txt and did a reboot. And it booted - finally! I hope this whole mess was it worth and that the filesystem corruptions are gone. RE: USB Installation - belese - 16th Feb, 2013 09:48 PM @CurlyMo, looks like the problem i have with my other sd card. RE: USB Installation - CurlyMo - 16th Feb, 2013 09:51 PM @belese, did you change to root= value in /boot/cmdline.txt? RE: USB Installation - belese - 16th Feb, 2013 10:03 PM No in fact don't try to boot from usb, but like Namtih, if i remove the new initramfs line in the config.txt it work. RE: USB Installation - CurlyMo - 16th Feb, 2013 10:05 PM But the bug namith encountered is different than you did ![]() However, i did add an additional sanity check, so maybe it works better for you to. RE: USB Installation - kraleksandr - 17th Feb, 2013 12:11 AM (12th Feb, 2013 06:55 PM)CurlyMo Wrote: I get 35 seconds here. You said that your RPi(b) with xbian a4 can can fully boot up in 35 seconds? How?? RE: USB Installation - CurlyMo - 17th Feb, 2013 12:13 AM Fast SD card class 10 Turbo mode RE: USB Installation - kraleksandr - 17th Feb, 2013 12:30 AM Transcend "TS8GSDHC10" has 20MB/s read 16MB/s write. Not enough fast, right? Turbo mode looks interesting. Awesome fast. Boot less more 35 sec. RE: USB Installation - rendez2k - 8th Mar, 2013 04:59 AM (12th Feb, 2013 03:07 AM)CurlyMo Wrote: The easiest way is: Hi all, I want to try this but it seems the faq entry has gone? I think I'm OK with all of this except the /boot/cmdline.txt part - what needs to change? Have people noticed a big speed increase? RE: USB Installation - CurlyMo - 8th Mar, 2013 05:06 AM You need to change /dev/mmcblk0p2 to /dev/sda2 RE: USB Installation - namtih - 9th Mar, 2013 01:22 AM (8th Mar, 2013 04:59 AM)rendez2k Wrote: Have people noticed a big speed increase? Yes. But the biggest advantage is that you get rid of the annoying filesystem corruption - even with overclocking. |