projekte:banana-pro:install-armbian-to-a-sata-drive
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
projekte:banana-pro:install-armbian-to-a-sata-drive [2016/03/10 01:49] – angelegt daniel | projekte:banana-pro:install-armbian-to-a-sata-drive [2016/04/19 01:51] – daniel | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Install Armbian to a SATA drive ====== | ====== Install Armbian to a SATA drive ====== | ||
+ | |||
+ | ===== Automatic installation with nand-sata-install ===== | ||
<code bash> | <code bash> | ||
+ | sudo nand-sata-install | ||
+ | </ | ||
+ | |||
+ | ===== Manual installation steps ===== | ||
+ | |||
+ | This guide might not be up to date. Check the other sources as well if you run into troubles. | ||
+ | |||
+ | Sources:\\ | ||
+ | [[http:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | <code bash sata.sh> | ||
+ | # switch to su | ||
sudo su | sudo su | ||
Zeile 22: | Zeile 38: | ||
#copy root fs from sd card to the harddrive | #copy root fs from sd card to the harddrive | ||
sudo mkdir /tmp/sata | sudo mkdir /tmp/sata | ||
+ | mount /dev/sda1 /tmp/sata | ||
+ | rsync -arx --progress / /tmp/sata | ||
+ | # edit boot.cmd | ||
+ | mount / | ||
+ | nano / | ||
+ | # change first line from root=/ | ||
+ | setenv bootargs " | ||
+ | # save and close file | ||
+ | # recompile boot.cmd to boot.scr | ||
+ | mkimage -C none -A arm -T script -d / | ||
+ | # edit fstab to mount drive on boot | ||
+ | nano / | ||
+ | # set line with / | ||
+ | / | ||
+ | # sync changes on harddrive to sd card | ||
+ | sync | ||
+ | # or edit the fstab file on the sd card as well: nano /etc/fstab | ||
+ | |||
+ | # reboot system | ||
+ | reboot | ||
</ | </ | ||
+ | |||
+ |
projekte/banana-pro/install-armbian-to-a-sata-drive.txt · Zuletzt geändert: 2016/04/27 10:33 von daniel