Daniels Lab Wiki

It is worth noting that.





Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
projekte:banana-pro:install-armbian-to-a-sata-drive [2016/04/17 23:59] danielprojekte:banana-pro:install-armbian-to-a-sata-drive [2016/04/27 10:33] (aktuell) – [Automatic installation with nand-sata-install] 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>
 +sudo nand-sata-install
 +The installer seems to optimize the harddrive settings in /etc/fstab for ssd's and flash drives. For traditional harddrives i modified the settings and turned on the filesystem check. [[projekte:banana-pro:install-armbian-to-a-sata-drive#editingetcfstab_and_installing_smartmontools|Editing fstab and installing smartmontools]]
 +===== Manual installation steps =====
 +This guide might not be up to date. Check the other sources as well if you run into troubles.
 Sources:\\ Sources:\\
Zeile 50: Zeile 61:
 # reboot system # reboot system
 reboot reboot
 </code> </code>
 +===== Editing /etc/fstab and installing smartmontools =====
 +<code bash>
 +# modify /etc/fstab settings for /dev/sda1
 +sudo nano /etc/fstab
 +# change line
 +#/dev/sda1      /           ext4    defaults,noatime,nodiratime,commit=600,errors=remount-ro        0       0
 +# to this
 +/dev/sda1       /           ext4    defaults,errors=remount-ro        0       1
 +# Set the sixth field (fs_passno) from 0 to 1 or fsck will not check this drive 
 +# install tune2fs to modify the filesystem parameters
 +sudo tune2fs -l /dev/sda1
 +# check filesystem every 10 mounts
 +sudo tune2fs -c 10 /dev/sda1
 +# check filesystem after 7 days
 +sudo tune2fs -i 7d /dev/sda1
 +sudo reboot
 +# install smartmontools to monitor the drive S.M.A.R.T. data
 +sudo apt-get install smartmontools
 +#smartctl --info /dev/sda
 +#smartctl -P show /dev/sda
 +#smartctl --help
 +#smartctl -H /dev/sda
 +#smartctl -a /dev/sda
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