Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Idea: Boot XBian from USB
9th Mar, 2013, 01:28 AM
Post: #31
RE: USB Installation
I only noticed a big speed decrease so results differ.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 01:34 AM
Post: #32
RE: USB Installation
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).
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:15 AM
Post: #33
RE: USB Installation
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
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:33 AM
Post: #34
RE: USB Installation
Can you post:
Code:
fdisk -l

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:36 AM
Post: #35
RE: USB Installation
Do you mean type that in putty? I get:

xbian@xbian ~ $ fdisk -l
-bash: fdisk: command not found
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:37 AM
Post: #36
RE: USB Installation
(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?
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:40 AM
Post: #37
RE: USB Installation
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)
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:43 AM
Post: #38
RE: USB Installation
Code:
sudo dd if=/dev/mmcblk0 of=/dev/sda

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:46 AM
Post: #39
RE: USB Installation
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?
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:53 AM
Post: #40
RE: USB Installation
No, keep the /dev/sda2

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 04:59 AM
Post: #41
RE: USB Installation
Hmmm, sticks flashing but its taking ages! Stick in FAT32 format. Command line not updating after command.
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 05:01 AM
Post: #42
RE: USB Installation
(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.
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 05:02 AM
Post: #43
RE: USB Installation
Sorry, whats bs=1M, a command?
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 05:04 AM
Post: #44
RE: USB Installation
(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
Find all posts by this user
Quote this message in a reply
9th Mar, 2013, 06:26 PM
Post: #45
RE: USB Installation
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: