Sdcard Sandisk
By Sandisk
SanDisk Ultra A1 Microsd Memory Card 256GB 128GB 64GB 32GB 16GB microSDHC/SDXC UHS-I U3 V30 TF micro sd card memory card
This page has been visited ... times
It’s almost 2024 and it’s still difficult to install Home Assistant OS on unsupported cards. For the sake of product testing I need to install HAOS on a dedicated card. That’s good, I still have an old Cubietruck card in the boxes so I’ll be able to save money and not invest in a Raspberry pi.
This tutorial will allow you to easily install Home Assistant OS using ARMBIAN and one of the cards supported by this system, all without having an error message in Home Assistant and thus using 100% of the potential of this home assistant .
this tutorial is valid for all cards working with Armbian, you just need to adapt the download of images according to the architecture.
Follow the steps carefully and everything should go well 👌
I’m lucky the Armbian community is still developing an image for the old Cubietruck card, in this case Debian 12 “Bookworm”.
Nothing could be simpler go to the dedicated page, download the image and copy it onto a microsd using Rufus or Balena Etcher.
If you also have a cubietruck card and out of curiosity about the hardware you will find information on it on the site Sunxi
Once the image has been copied, insert it and launch the machine, wait around ten minutes before connecting to the system via SSH or via graphical interface if you prefer. Personally, the tutorial is written using a terminal and by ssh.
If you don’t know Armbian, check out the official presentation video:
You will need to find the IP address of your installation. Throw a little
Then the default password for the root user is 1234
For more information on further configuration you can follow the official documentation
Armbian will ask you to:
Once restarted, reconnect via ssh and go to the Armbian config
If you have the possibility of installing the system on an emmc type internal memory did it, this is not my case, because the cubietruck uses NAND memory and I would have to put a very very old kernel for it to work.
exit Armbian in order to be able to configure in cgroupv1. By default Armbian works in cgrouv2 but it turns out that home assistant os runs in cgroupv1 so nothing could be simpler, go to the file armbianEnv.txt
and paste this code at the bottom of the script, don’t forget to save Ctrl+X
et Y
Which will give you an example:
Change the name of the distribution so that it is recognized by HAOS
change PRETTY_NAME=”Armbian 23.02.2 Jammy” by PRETTY_NAME=”Debian GNU/Linux 12 (bookworm)”
don’t forget to save Ctrl+X
and Y
Which will give you an example:
If you don’t know the ARM architecture of your card or if you’re not 100% sure, you can consult these two links below, these are ARM architecture wikis with a complete table.
Architecture arm aarch32 Architecture arm cortex external link
Home Assistant has set up an installation tutorial that you can follow to the letter, you just need to choose the right distributions to install in my case the cubietruck is built around an armv7 so I chose:
supervised-installer installation
Little reminder: armbian is already in root mode by default
You will get a message that will tell you that you are using docker as a non-root user which will bring up an error message in Home Assistant during the first launch. But don’t worry, you just have to restart Home Assistant and it will correct the situation automatically.
If installing docker on Armbian intrigues you, don’t hesitate to consult the information on the official doc.
preparing the temporary download file:
Download the latest release:
Install there:
Check installation:
You should see a bunch of lines like below:
Last step of the installation, the supervised-installer script will install all the containers necessary for the proper functioning of Home Assistant
finally when the script asks you, choose the architecture corresponding to your needs in my case qemuarm.
Depending on the power of your Home Assistant card it may take more or less time to install so be patient in my case it took around 20 minutes, you can follow the process by going to the address indicated at the end of supervisor script
Once you have configured Home Assistant, don’t forget to check for updates and as indicated above you should have a docker error non-root user
, don’t panic just restart homeassistant. Personally I restarted the entire system.
Reboots the entire system from Home Assistant
This is an effective way to install Home Assistant OS on Armbian using a compatible card without having to worry. If like me you need to use this magnificent system that is Home Assistant on a recycling card to carry out all types of tests then this tutorial is for you.
Copyright © 2024 Haade 🎉 by Nicoxygen
Comments