Prepare SD-Card for PINE64 (2GB Version) micro Computer
How to install DietPi - DietPi.com Docs //Image download (64bit)
balenaEtcher - Flash OS images to SD cards & USB drives //flash the Image on the SD-Card
USE only LAN! Nothing to Change! Put the SD-Card in the Pine64 and turn the Power on.
IP: YourDietPI-IP:22 SSH over PuTTY (Please change Font by PuTTY himself)
DietPi
Software Password change
Root Password change
Home Assistant Supervised Installation on Pine64 with DietPI ArmV8 Bullseye (Debian11)
- ) install all dependencies
apt install jq wget curl avahi-daemon apparmor udisks2 libglib2.0-bin network-manager dbus lsb-release systemd-journal-remote -y
2.)
reboot
3.)
apt update && apt upgrade -y
4.)
curl -fsSL get.docker.com | sh
5.)
docker-version
6.)
wget https://github.com/home-assistant/os-agent/releases/download/1.5.1/os-agent_1.5.1_linux_aarch64.deb
7.)
dpkg i os-agent_1.5.1_linux_aarch64.deb
8.)
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
9.)
Install the homassistant folder on SSD instead of /usr/share/homeassistant.
DATA_SHARE=/my/own/homeassistant dpkg --force-confdef --force-confold -i homeassistant-supervised.deb
CPU = quemuarch64
When Supervised is no more loading (docker update etc.), please make bevor every change an full backup on HA! Remove the homeassistant folder with rm-rf /homeassistant an run the step 9 again. The supervised will work again. Then restore HA with your full backup.
10.)
reboot
11.) WLAN: use nmtui to set the WLAN connection correctly with Network Manager.
Installation is done. Homeassistant works with Add-On`s & Shop > YourServerIP:8123
Here an Instruction Guide to move the Docker Data Directory from SD Card to USB-SSD
An now is my installation full supported (CGroup1 instead of CGroup2) folllowing the instruction in the link.
I hope that was useful.
Greatings from Germany