Installing to internal storage¶
armbian-install copies the running system to a different disk. It can also flash only the bootloader. Run it from the SD card or USB stick that you booted:
| Text Only | |
|---|---|
1 | |
The installer shows only the options that the board supports.
On UEFI systems, the first-run wizard can also copy the system to an internal drive at the end of the setup. See Copy from the first-run wizard.
Back up your data
The installer erases the target disk. The only exception is the Windows dual-boot mode.
The split-emmc mode also erases the internal eMMC. Back up both devices.
Steps¶
-
Select an action. The installer asks for an action only when the board supports more than one.
-
Select the destination disk. The list shows SD, eMMC, NVMe, SATA, USB and UFS disks. A disk that is in use does not show.
-
Select the boot mode. See Boot modes.
-
Select the root file system. See File systems.
-
Select encryption. You can encrypt the root file system. See Encrypted root.
-
Confirm. The installer partitions the disk, copies the system and writes the bootloader.
Reboot. Remove the boot media, except in the sd and standalone modes.
Copy from the first-run wizard¶
On UEFI systems, the first-run wizard offers a copy of the system to an internal drive. It shows the offer after the setup. Other systems do not have this option yet. The wizard shows the offer when the system has an internal drive (NVMe, SATA, eMMC or UFS) that is large enough for the copy. USB drives do not show. The image resizes its root file system only after the setup, so that the copy stays small.
-
Select where the system runs. Keep running from the boot media, or copy the system to an internal drive. When you keep the boot media, its root file system grows to the full size of the media.
-
Confirm. The copy erases all partitions and all data on the drive. The copy is this system as it is: the same partitions, file system and encryption. For other partitions, another file system or encryption, keep running from the boot media and use
armbian-install. -
Wait. First the wizard checks the drives and saves open files. Then the bar shows the copy. Do not power off.
-
Power off. Press Power off, or Enter. Remove the boot media, then start the computer again. The computer starts from the internal drive, and the root file system grows to the full size of the drive.
Remove the boot media before the next start: the copy and the boot media have the same partition and file system IDs.
The text wizard has the same steps. To confirm, type yes:
On a live ISO, the wizard installs the system instead: it makes new partitions with an ext4 root file system. The other choice, Try without installing, keeps the system in memory only: all changes are lost at power-off.
The same copy from the command line:
| Text Only | |
|---|---|
1 | |
Boot modes¶
The installer offers each mode only when the hardware and the bootloader support it.
| Mode | Target disk | Result |
|---|---|---|
emmc |
eMMC or SD | Bootloader and system on this device. |
sd |
any | Bootloader stays on the current media. The system goes to the target disk. Keep the current media in the board. |
split-emmc |
NVMe, SATA, USB | Erases the internal eMMC and the target disk. Bootloader and /boot on the eMMC. System on the target disk. The rest of the eMMC mounts at /emmc_storage. |
mtd |
NVMe, SATA, USB, UFS | The installer writes the bootloader to SPI flash. Full system on the target disk. |
spi |
NVMe, SATA, USB | The bootloader is already in the on-board SPI flash, for example on the SpacemiT K3. Full system on the target disk. The installer does not change the SPI flash. |
standalone |
NVMe, SATA, USB | The current bootloader can load /boot from the target disk. Full system on the target disk. The installer does not change the current media. |
ufs |
UFS | Bootloader on the UFS boot LU. System on the UFS disk. |
native |
any | Self-contained install for boards without U-Boot, for example Raspberry Pi. |
uefi |
any | UEFI install with GRUB. |
bios |
any | Legacy BIOS install with GRUB. |
uefi-dualboot |
disk with Windows | Install next to Windows 10 or 11. See Dual-boot with Windows. |
For boards with SPI flash and an NVMe disk, mtd or spi is the recommended mode. The board then does not need the SD card.
File systems¶
ext4: the default. Select it if you are not sure.btrfs: copy-on-write, compression and snapshots. The installer creates the root subvolume@and installsarmbian-snapshots.f2fs: a file system for flash storage.
The installer shows btrfs and f2fs only when the running kernel supports them. U-Boot cannot read btrfs, f2fs or an encrypted root. For these roots, the installer adds a small ext4 /boot partition.
Encrypted root (LUKS)¶
The installer can encrypt the root file system with LUKS. /boot stays on its own unencrypted partition. The sd mode does not support encryption.
Select how the root unlocks at boot:
- passphrase: type the passphrase on the console.
- ssh: type the passphrase on the console or over SSH. The initramfs runs dropbear on port 2022 by default. Put your public key in
/root/.ssh/authorized_keysfirst. - auto: a keyfile in
/bootunlocks the root. This option gives no protection if somebody steals the disk.
Dual-boot with Windows¶
On UEFI systems, the installer offers uefi-dualboot when the disk holds Windows. Windows stays on the disk, and GRUB lets you select the system at boot.
- The installer uses free space first. Then it shrinks the Windows partition.
- The installer can also replace the partitions of an earlier Linux install.
- BitLocker volumes cannot shrink. Run
manage-bde -off C:in Windows and wait for the decryption to complete. - Disable Fast Startup and hibernation in Windows.
Bootloader only¶
Use this option to install or update U-Boot without a change to the system. Select Flash / update the bootloader only in the first menu, or use the command line:
| Text Only | |
|---|---|
1 2 3 | |
Non-interactive install¶
Use command line options for scripts or for installs over SSH. The installer changes the disk only with --yes.
| Text Only | |
|---|---|
1 | |
Encrypted NVMe install. The installer asks for the passphrase:
| Text Only | |
|---|---|
1 | |
Dual-boot with 32 GiB for Armbian:
| Text Only | |
|---|---|
1 | |
Run armbian-install --help for all options. The installer writes its log to /var/log/armbian-install.log.
Previous: First steps after login
Next: Keeping Armbian up to date
Back to the Getting Started overview.















