Forum
[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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


RE: USB Installation - CurlyMo - 9th Mar, 2013 01:28 AM

I only noticed a big speed decrease so results differ.


RE: USB Installation - namtih - 9th Mar, 2013 01:34 AM

Really?
I came from a Transcend Class 10 card and the USB 2.0 is really faster. Especially when working in the shell and doing some compiling for example.
But as I said, the by far biggest advantage is to get rid of the filesystem corruption even with overclocking (arm_freq=1100;core_freq=500;sdram_freq=500).


RE: USB Installation - rendez2k - 9th Mar, 2013 04:15 AM

Thanks all. What should the USB be formatted as?

Edit: This is what I got:
xbian@xbian ~ $ dd if=/dev/mmcblk0p2 of=/dev/sda2
dd: opening `/dev/mmcblk0p2': Permission denied
xbian@xbian ~ $ sudo dd if=/dev/mmcblk0p2 of=/dev/sda2
[sudo] password for xbian:
dd: writing to `/dev/sda2': No space left on device
20481+0 records in
20480+0 records out
10485760 bytes (10 MB) copied, 0.9318 s, 11.3 MB/s


RE: USB Installation - CurlyMo - 9th Mar, 2013 04:33 AM

Can you post:
Code:
fdisk -l



RE: USB Installation - rendez2k - 9th Mar, 2013 04:36 AM

Do you mean type that in putty? I get:

xbian@xbian ~ $ fdisk -l
-bash: fdisk: command not found


RE: USB Installation - kraleksandr - 9th Mar, 2013 04:37 AM

(9th Mar, 2013 04:36 AM)rendez2k Wrote:  Do you mean type that in putty? I get:

xbian@xbian ~ $ fdisk -l
-bash: fdisk: command not found

sudo?


RE: USB Installation - rendez2k - 9th Mar, 2013 04:40 AM

Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders, total 15523840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f06a6

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2048 71679 34816 c W95 FAT32 (LBA)
/dev/mmcblk0p2 71680 15523839 7726080 83 Linux

Disk /dev/sda: 31.6 GB, 31625052160 bytes
88 heads, 24 sectors/track, 29246 cylinders, total 61767680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sda1 8064 61767679 30879808 c W95 FAT32 (LBA)


RE: USB Installation - CurlyMo - 9th Mar, 2013 04:43 AM

Code:
sudo dd if=/dev/mmcblk0 of=/dev/sda



RE: USB Installation - rendez2k - 9th Mar, 2013 04:46 AM

Thanks - seems to be doing something.....

Does that mean I need to change /dev/mmcblk0p2 to /dev/sda2 to sda? Does it depend on port?


RE: USB Installation - CurlyMo - 9th Mar, 2013 04:53 AM

No, keep the /dev/sda2


RE: USB Installation - rendez2k - 9th Mar, 2013 04:59 AM

Hmmm, sticks flashing but its taking ages! Stick in FAT32 format. Command line not updating after command.


RE: USB Installation - kraleksandr - 9th Mar, 2013 05:01 AM

(9th Mar, 2013 04:59 AM)rendez2k Wrote:  Hmmm, sticks flashing but its taking ages!

If u use something like "bs=1M" it'll be faster.


RE: USB Installation - rendez2k - 9th Mar, 2013 05:02 AM

Sorry, whats bs=1M, a command?


RE: USB Installation - kraleksandr - 9th Mar, 2013 05:04 AM

(9th Mar, 2013 05:02 AM)rendez2k Wrote:  Sorry, whats bs=1M, a command?

srry
http://en.wikipedia.org/wiki/Dd_(Unix)
Terminal
dd if= of= bs=1M

(9th Mar, 2013 04:59 AM)rendez2k Wrote:  Stick in FAT32

U use dd, it not fat32 anymore


RE: USB Installation - rendez2k - 9th Mar, 2013 06:26 PM

Well, for me, its slower. Using a Class 4 SD Card and a Intergral USB 3 stick, it seems noticeably slower booting up. Trying a class 10 card now without USB.