First boot and login¶
First boot¶
If you used an SD card, insert it into the slot and power on the board. On a slow board with a class 10 SD card, the first boot (with DHCP) can take up to two minutes.
First-run setup¶
At the first boot, a setup wizard asks a few questions and creates your user account. It has the same steps in two forms:
- Graphical wizard: desktop images, and boards with a touchscreen and no keyboard. It shows on the screen.
- Text wizard: CLI images on the screen, a serial console and SSH.
To reach the board over SSH, log in as root with the password 1234. To find the IP address of the board, you can use this tool.
The setup asks for:
- Network. Without a wired connection, the wizard offers the Wi-Fi networks it finds. You can also skip this step.
- Username. Type a new username, for example
jane, for a local account. Or type@and your GitHub username, for example@jane-doe: the wizard looks up the account and uses its full name, its username and its public SSH keys. - Password. One password for the new user and for
root. The new user can usesudo. - Customize (optional). Shell, language, time zone, keyboard, full name and username, and Disable root password login over SSH. With a GitHub account also: import its SSH keys, and apply its dotfiles (a public
armbian-dotfilesrepository of the account: its files go to the home directory of the new user; the image needs dotfiles support in first login). - Install (UEFI only). With an internal drive, the wizard then offers to copy the system to it. See Installing to internal storage.
Disable root password login over SSH is on by default: root then logs in over SSH with a key only. The imported SSH keys work for root too. Without a key, root keeps password login. If another sshd setting allows root password login, first login prints a warning. Check it with sudo sshd -T -C user=root,host=localhost,addr=127.0.0.1 | grep permitrootlogin (-C applies the Match blocks for root). To keep password login for root, clear the option in Customize.
The language, time zone and keyboard come from the location of the board. Press F2 to switch the wizard to English and back.
GitHub sign-in¶
With a GitHub account, the wizard offers Sign in. It shows a code and a QR code. Open github.com/login/device on a phone or a computer and enter the code. After the sign-in, the setup makes an SSH key for the device and adds it to your GitHub account as a signing key: your commits from the device show as verified.
By default the device can only sign commits. Push from this device also adds the key for login and keeps a GitHub CLI login: the device can then push to every repository of the account. Select it before you sign in: the sign-in asks GitHub for the permissions of this choice.
- Graphical wizard: the option is in the GitHub card, next to Sign in. It shows only before the sign-in.
- Text wizard: the option is in Customize. A change after the sign-in starts a new sign-in with a new code, and the setup waits until it is complete or cancelled.
Without a sign-in, a found account still sets the git name and email of the new user. The SSH keys of the account open the new user and root.
Graphical wizard¶
The GitHub account was found. Sign in is optional:
The sign-in shows the code and a QR code of the page:
Customize opens the other settings:
Time zone, Language and Keyboard open a list with a search field:
Without a wired connection, the wizard starts with the Wi-Fi networks:
Text wizard¶
The text wizard shows the same steps, one question per screen. The keys are at the bottom of each screen: Enter goes on, Tab opens Customize, F3 starts the GitHub sign-in.
The QR code shows where the terminal is large enough (80x24 or more) and the font has the half blocks. Else the page and the code show as text:
After the setup, the login prompt follows. On a desktop image, the desktop starts.
Press Ctrl-C in the text wizard to answer the plain text prompts instead.
Text prompts (fallback)
The plain text prompts show when the wizard is not installed (for example on armhf images), after Ctrl-C in the text wizard, and on a terminal without a type (TERM=dumb, for example automation over SSH).
On the local console, the prompts also ask for the keyboard layout first. Over SSH and on a serial console, the layout of your computer applies.
Automated config
All answers can be preset, so that the first boot needs no questions. See Autoconfig.
Previous: Writing the image to media
Next: First steps after login
Back to the Getting Started overview.










