Idea: Boot XBian from USB
|
10th Feb, 2013, 02:57 PM
Post: #1
|
|||
|
|||
Boot XBian from USB
Hi,
Was reading that raspbmc supports USB installation which is more stable and less prone to crashes and can overclock to 1ghz without corruption. so any plans for this? Regards, |
|||
10th Feb, 2013, 06:15 PM
Post: #2
|
|||
|
|||
Re: USB Installation
this option was always here
Start from USB ~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
10th Feb, 2013, 08:29 PM
Post: #3
|
|||
|
|||
RE: USB Installation
I looked there but i dint find it before..
i feel dumb now |
|||
11th Feb, 2013, 11:51 PM
Post: #4
|
|||
|
|||
RE: USB Installation
So, I need to install xbian to SDcard with Installer for windows, then boot up my pi with this sdcard, then from my pi execute dd image to external drive, then modify /boot/cmdline txt. Right?
|
|||
11th Feb, 2013, 11:52 PM
Post: #5
|
|||
|
|||
RE: USB Installation
Yes
pilight - modular domotica solution
|
|||
12th Feb, 2013, 02:39 AM
Post: #6
|
|||
|
|||
RE: USB Installation
I do this and now it not boot says something like bad block device. I executed this
dd if=file.img of=/dev/sda2 and changed root location in /boot/cmdline.txt Or I must dd to /dev/sda, then resize and create my current partitions? |
|||
12th Feb, 2013, 02:40 AM
Post: #7
|
|||
|
|||
RE: USB Installation
can you do a:
Code: fdisk -l /dev/sda2 pilight - modular domotica solution
|
|||
12th Feb, 2013, 02:51 AM
Post: #8
|
|||
|
|||
RE: USB Installation
It says that there is gpt and I need use something else to manage partitions.
Before dd this hdd has: MBR, ntfs(primary),ext4(primary). Now - MBR, ntfs(primary),unformatted |
|||
12th Feb, 2013, 03:07 AM
Post: #9
|
|||
|
|||
RE: USB Installation
The easiest way is:
- Install XBian img to your SD card - Boot xbian - Login to shell with ssh - dd if=/dev/mmcblk0p2 of=/dev/sda2 - Change /boot/cmdline.txt This only copies the /root partition to your USB drive. pilight - modular domotica solution
|
|||
12th Feb, 2013, 04:03 AM
Post: #10
|
|||
|
|||
RE: USB Installation
What you mean by "Then copy only the /root partition to your USB drive."?
|
|||
12th Feb, 2013, 04:06 AM
Post: #11
|
|||
|
|||
RE: USB Installation
I didn't phrase that sentence correctly
pilight - modular domotica solution
|
|||
12th Feb, 2013, 04:21 PM
Post: #12
|
|||
|
|||
RE: USB Installation
Boot from class 10 SDcard: 65s
Boot from 250G HDD ext4: 4m 34s D'oh © |
|||
12th Feb, 2013, 06:55 PM
Post: #13
|
|||
|
|||
RE: USB Installation
Those i my experiences as well , still booting from SD is quit slow. I get 35 seconds here.
pilight - modular domotica solution
|
|||
16th Feb, 2013, 04:49 AM
Post: #14
|
|||
|
|||
RE: USB Installation
I wanted to test an usb installation today. How can I verify that the usb drive is really used?
My current setup: 1. Used win32diskimager to restore the img file to the usb drive. 2. Used win32diskimager to restore the img file to the SD card. 3. Changed SD card commandline.txt to "root=/dev/sda2" 4. Connected both devices and booted 5. But after exiting XBMC, I get the following output: Terminal root@xbian ~ # df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 15469552 706896 14756004 5% / /dev/mmcblk0p2 15469552 706896 14756004 5% / tmpfs 39700 268 39432 1% /run tmpfs 5120 0 5120 0% /run/lock tmpfs 10240 0 10240 0% /dev /dev/sda1 34662 10409 24253 31% /media/usb0 /dev/sda2 653228 610124 36452 95% /media/usb1 tmpfs 79400 0 79400 0% /run/shm /dev/mmcblk0p1 34662 10409 24253 31% /boot root@xbian ~ # root@xbian ~ # root@xbian ~ # more /boot/cmdline.txt dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty2 root= /dev/sda2 rootfstype=ext4 elevator=deadline rootwait quiet root@xbian ~ # As / is still labeled with "/dev/mmcblk0p2" it's still using the SD card, isn't it? Did I miss anything? |
|||
16th Feb, 2013, 04:53 AM
Post: #15
|
|||
|
|||
RE: USB Installation
Why is there a newline after root= ?
pilight - modular domotica solution
|
|||
« Next Oldest | Next Newest »
|