Armbian Quick Start Guide¶
New users
Please, make sure you have:
- a proper power supply according to the board manufacturer requirements
- a reliable SD card (see below “How to prepare a SD card?”)
What to download?¶
The download for each image consists of three separate files:
- .xz compressed image file
- .sha file for download verification (optional)
- .asc file for image authentication (optional)
How to check download authenticity?
All our images are digitally signed and therefore it is possible to check their authenticity. You need to issue these commands (Linux/macOS, you might need to install dependencies first, eg. sudo apt-get install gnupg
on Debian/Ubuntu or brew install gnupg
on macOS. on windows install the current simple gnupg Gnupg:
WARNING: This key is not certified with a trusted signature!
.
How to check download integrity?
Since it might happen that your download got somehow corrupted we integrate a checksum/hash for the image. You can compare the image’s SHA-256 hash with the one contained in the sha256sum.sha
file.
On Windows, you can download and use the QuickHash GUI and follow the instructions in the gui.
while on Linux/macOS, in the directory in which you have downloaded the files ,you would do this
For each board we usually provide various image types:
- Minimal - lightweight CLI with bare minimum of packages
- Server - server variant with preinstalled standard utilities
- Desktop full featured desktop image
For some boards we provide only minimal images due to their hardware limitations.
Debian or Ubuntu?¶
If you have no special preferences that require specific versions, we recommend Ubuntu based Armbian.
Vendor, current?¶
In some cases we provide images with different firmware. They differ in level of hardware support. Focus into:
- vendor contains vendor provided kernel which usually has best hardware support while version can be outdated, containin less general fixes
- current is following latest mainline LTS kernel and is in most cases best choice
And use those if they are the only one / for testings:
- edge is as the name implies cutting-edge fresh / development / latest stable. It is only automatically tested and can break at any time. Recommended for experienced users.
- legacy is old stable current kernel. Use if either current is not available or something does not work well with it.
The level of kernel support however always depends on the board family. If in your specific case something does not work well, you are always free to try an image with an other kernel included or change kernel within armbian-config.
Rolling releases?¶
Rolling releases are suitable for Linux enthusiasts who want cutting edge packages and have the skills to fix damage that a bad update might cause. If you want stability in a production environment or low headaches as a novice user, skip rolling releases. They are only at, build and ship, Debian testing / Arch / Manjaro / Suse Tumbleweed / Kali / Gentoo support quality level!
graph LR
A[Hardware] --> B{Armbian kernel};
B -->|legacy| C["rolling release"];
B -->|vendor| C["rolling release"];
B -->|current| C["rolling release"];
B -->|edge| C["rolling release"];
B -->|legacy| X["point release"];
B -->|vendor| X["point release"];
B -->|current| X["point release"];
B -->|edge| X["point release"];
C ---->|minimal| E[Debian or Ubuntu];
C ---->|server| F[Debian or Ubuntu];
C ---->|desktop| G[Debian or Ubuntu];
X ---->|minimal| E[Debian or Ubuntu];
X ---->|server| F[Debian or Ubuntu];
X ---->|desktop| G[Debian or Ubuntu];
Danger
Do not use rollling or edge images in a productive environment. Their purpose is testing and providing constructive feedback to developers.
Preparing SD card?¶
Important note: Make sure you use a good, reliable and fast SD card. If you encounter boot or stability troubles in over 95 percent of the time it is either insufficient power supply or related to SD card (bad card, bad card reader, something went wrong when burning the image, card too slow to boot – ‘Class 10’ highly recommended!). Armbian can simply not run on unreliable hardware so checking your SD card with either F3 or H2testw is mandatory if you run in problems. Since counterfeit SD cards are still an issue checking with F3/H2testw directly after purchase is highly recommended.
Write the .xz compressed image with a tool USBImager or balenaEtcher on all platforms since, unlike other tools, either can validate written data saving you from corrupted SD card contents.
Also important
Most SD cards are only optimised for sequential reads/writes as it is common with digital cameras. This is what the speed class is about. The SD Association defined Application Performance Class as a standard for random IO performance.
Application Performance Class | Pictograph | Miniumum Random Read | Minimum Random Write | Minimum Sustained (Seq. Write) |
---|---|---|---|---|
Class 1 (A1) | 1500 4k IOPS | 500 4k IOPS | 10MBytes/sec | |
Class 2 (A2) | 4000 4k IOPS | 2000 4k IOPS | 10MBytes/sec |
We recommend at least A1 rated SD-Cards (A2 rated cards need yet lacking driver support and therefore show lower overall and especially random IO performance). For example:
In case you chose an SD card that was already in use before please consider resetting it back to ‘factory default’ performance with SD Formatter before burning Armbian to it (explanation in the forum). Detailed information regarding ‘factory default’ SD card performance.
How to boot?¶
Insert SD card into a slot and power the board. (First) boot (with DHCP) takes up to two minutes with a class 10 SD card and cheapest board.
How to login?¶
First boot will log you automatically on HDMI or serial console while for SSH login you need to login as root and use password 1234. You will be prompted to change this password. You will then be asked to create a normal user account that is sudo enabled (beware of default QWERTY keyboard settings at this stage). Please use this tool, to find your board IP address.
Automated config
These settings can be pre-loaded, see Autoconfig
In case you have no wired network connection and there is a wireless adaptor detected, it will prompt you to connect.
Text Only | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
|
How to install?¶
Required condition for eMMC/SATA/USB/NVME:
- onboard eMMC storage
- attached SATA, NVME or USB storage
Start the install script and follow the lead:
Text Only | |
---|---|
1 |
|
Armbian installer provides those scenarios:
- boot from SD, system on SATA / USB
- boot from eMMC / NAND, system on eMMC/NAND
- boot from eMMC / NAND, system on SATA / USB / NVME
- Boot from SPI - system on SATA, USB or NVMe
- Install/Update the bootloader on SD/eMMC
- Install/Update the bootloader on special eMMC partition
- Install/Update the bootloader on SPI Flash
- Install system to UEFI disk
You can choose the following file system options:
- ext2,3,4
- btrfs
How to update?¶
Armbian OS?¶
Text Only | |
---|---|
1 2 |
|
Update process can take some time in case of using old & cheap SD card and/or under heavy load.
If the kernel was upgraded during this process you will be prompted to reboot at next login.
Boot loader?¶
First you need to update all packages described in a previous step. Then run:
Bash | |
---|---|
Select:
Install/Update the bootloader on SD/eMMC
How to stay safe?¶
Armbian provides firmware package freeze to give you an option to upgrade all packages but firmware. This prevents unplesant surprises on functionality regressions that comes with kernel upgrades. To enable / disable this feature, look for Enable Armbian kernel/firmware upgrades / Disable Armbian kernel upgrades
within armbian-config.
How to upgrade a distribution?¶
When a new userspace is out, we recommend to start with a fresh image. However, it is possible to upgrade, but the process is largerly in the domain of underlaying Debian or Ubuntu user space. However we provide experimental Distribution upgrades
within armbian-config
Danger
Userspaces distribution upgrades are neither tested nor supported. Therefore Armbian cannot provide support if something goes wrong.
How to tune hardware?¶
Hardware configuration is available within armbian-config utility.
How to report bugs?¶
Follow bug reporting form available here and learn how to collect necessary information and where provide to put your report depending on type of issue. Reports lacking fundamental diagnostics are ignored.