05-23-2016, 03:45 PM
(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?