Armbian based

Learn how to install and configure MainsailOS on Armbian-based systems. This guide covers the prerequisites, installation steps, and essential configurations to get your 3D printer running smoothly.

circle-exclamation
triangle-exclamation

Preparation

Of course you need an SDCard reader of some kind and Balena Etcherarrow-up-right.

Which image should I choose?

We typically add the SBC type to the image name. For example a MainsailOS for the Orange Pi 4 LTS is named '2023-03-18-MainsailOS-1.1.0-armbian-orangepi4lts.img.xz'.

As you can see it is a combination of release date, version, SBC-Family and SBC-model description.

<release date>-MainsailOS-<version number>-<family>-<sbc>.img.xz

This applies to all our images and is kinda naming convention.

Flashing MainsailOS

triangle-exclamation

Please launch your installed Balena Etcher and you will be presented with the main screen.

Balena Etcher

Flash from file

Click on Flash from file button and navigate to the location of your previously downloaded image.

circle-exclamation

After this step is done it should look like this example

Selected image

Select target

Please select your SD card. Be sure to choose the right one, as the data on your chosen location will later be completely erased.

Select target

Select the desired target by clicking the appropriate checkbox and then click on the Select button

Flashing the image

Hit the Flash button to start the process.

Flash image

Now you will see progress as shown in the images below. After a successful flash, it will validate the written data. Depending on your SD Card / SD Card reader speed, this may take a while.

Flash in progress
Validate in progress

Flash was successful

Finished flash

Initial network setup

circle-info

If you want to use a wired connection you can skip the Steps below and continue reading First Boot.

To set up the WiFi connection on your SBC, we added a file called network_config.txt.template in the FAT boot partition. This partition should be visible/access able via your Linux/Mac/Windows PC. (This file/service is based on the armbian_first_run.txt service.)

circle-exclamation

Now open your file manager and navigate to the FAT formatted partition. Copy and rename network_config.txt.template to network_config.txt.

Open the network_config.txt with your Texteditor.

Example with Visual Studio Code on Linux host
circle-info

Please read the comments in this file, everything is well explained there! We will not go deeper here to save space.

After you modify the file to your needs, please save and safely remove your SDCard. Now insert the SDCard in your SBC and boot up the device.

circle-info

Some OS internals will do an initial setup on the first boot, so it may take a while before the device shows up in your Wifi. Please be patient, do not interrupt this procedure under any circumstances! You have to repeat all steps if interrupted!

Login credentials

The default credentials for our Orange Pi OS and Armbian based images are:

triangle-exclamation

Finished 🎉

Remove safely the SD card from your card reader and continue with First Boot.

Last updated

Was this helpful?