Daniels Lab Wiki

It is worth noting that.

Benutzer-Werkzeuge

Webseiten-Werkzeuge


projekte:banana-pro:install-armbian-to-a-sata-drive

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
projekte:banana-pro:install-armbian-to-a-sata-drive [2016/03/10 01:49] – angelegt danielprojekte: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
 +</code>
 +
 +===== Manual installation steps =====
 +
 +This guide might not be up to date. Check the other sources as well if you run into troubles.
 +
 +Sources:\\
 +[[http://www.htpcguides.com/move-linux-banana-pi-sata-setup/]]\\
 +[[https://forum.htpcguides.com/Thread-Problem-pointing-boot-to-hdd]]\\
 +[[https://blog.doenselmann.com/banana-pi-mit-ssd-hdd-betreiben/]]
 +
 +<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 /dev/mmcblk0p1 /boot
 +nano /boot/boot/boot.cmd
 +# change first line from root=/dev/mmcblk0p1 to root=/dev/sda1
 +setenv bootargs "console=tty1 root=/dev/sda1 rootwait rootfstype=ext4 cgroup-enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1"
 +# save and close file
 +# recompile boot.cmd to boot.scr
 +mkimage -C none -A arm -T script -d /boot/boot/boot.cmd /boot/boot/boot.scr
  
 +# edit fstab to mount drive on boot
 +nano /tmp/sata/etc/fstab
 +# set line with /dev/mmcblk0p1 to
 +/dev/sda1 /           ext4    defaults,noatime,nodiratime,data=writeback,commit=600,errors=remount-rw        0       0
 +# 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
  
 </code> </code>
 +
 +
projekte/banana-pro/install-armbian-to-a-sata-drive.txt · Zuletzt geändert: 2016/04/27 10:33 von daniel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki