hatahata Posted June 7, 2016 Posted June 7, 2016 hi all . i think sd card is much shorter life time and restricted size ( 64G ~ 128G and big size is too expensive ). so as server , i like to use hard disk as root . for this purpose , nand-sata-install.sh is excellent ( but too complex for me to understand ) . i use nand-sata-install.sh on odroid-c2 armbian . and on working armbian , i run next script . ( the timing to attach sdb is about 10~15 second later after armbian booting ) . sda1 is cloned to sdb1 . clone-rsync-2-HDD-delete.bat ntpd -s date echo '--------------------' umount /mb1 mount /dev/sdb1 /mb1 df echo '--------------------' read X echo $X cd /mb1 mkdir -p bin etc home lib opt root sbin selinux srv usr var for x in /bin /etc /home /lib /opt /root /sbin /selinux /srv /usr /var do rsync -avHx --delete $x/ /mb1$x/ done cd /mb1 mkdir -p boot dev media mnt proc run sys tmp it works for me . --- detail is at http://odroid-akita.blogspot.jp/2016/04/odoroid-c2.html 1
Recommended Posts