05-23-2016, 04:10 PM
(05-23-2016, 03:45 PM)Luke Wrote:(05-23-2016, 03:25 PM)jozzy Wrote: Hi,
i have root fs on external usb drive but sd card is still needed to boot (u-boot etc.)
Steps:
- create partition on usb drive
- copy root partition from sd card to usb drive with rsync
- check UUID of usb parition (blkid) and save it or remember
- built new initrd.img (https://github.com/longsleep/build-pine64-image) or download modified initrd.img from this post http://forum.pine64.org/showthread.php?t...89#pid9289 and overwrite existing one
- set param root in uEnv.txt (more info: https://github.com/longsleep/build-pine64-image/pull/17)
- thats all
Usefull links:
https://github.com/longsleep/build-pine64-image/pull/13
https://github.com/longsleep/build-pine64-image/pull/17
http://forum.pine64.org/showthread.php?t...89#pid9289
Neat. Hows the performance?
Much better. Maybe i give U some numbers:
SD card (ext4):
- reading: max 16MB/s
- writing: max 10MB/s
External usb<->sata disk (ext4):
- reading: max 37MB/s
- writing: max 34MB/s