Hassio / HassOS and supported OS

Hi All,

Since lot of people gets the message: You are running an unsupported installation.
Im wondering how we gonna do this on RPi3

Official Raspberry Pi OS Buster (Debian 10) is not supported.
A official Debian 10 you can’t install on a Pi
HassOS you can, but normal way only on a SDCARD

Problem of a SDCARD is corruption …

Everybody maybe want install HassOS on a USB or SSD drive.
I tried it but my Pi’s won’t start not on a 3 not on a 4.

So can someone help us how we can install HA on a supported OS on a USB or SSD
On a Pi3 or Pi4

Maybe for the devs to build HassOS so you can install it on a USB or SSD.

If im wrong and don’t gave some info because it can let me known…

Here is a tutor how to install HassOS on SSD on a RPI3. But here it didn’t work.

And here for RPI4 also didn’t work for me:

EDIT 10:16 - 19 AUG:
format SSD to FAT32, flashed HASSOS on and plugged into my RPi3. Boot without SDcard, its bootup. Tried second USB with name CONFIG and folder network and file my-network. Didn’t work

When connect SSD to my Mac and goto
/Volumes/hassos-overlay/etc/NetworkManager/system-connections

I see the my-network with my information I add on the CONFIG USB. But still it’s not connect to Wifi.
Information is correct

(P.S. When install Rasbian the WiFi is working, so its not a hardware issue)

EDIT 15:44 - 20 AUG
My last post describe how I installed Debian 10 64Bit on my RPI running on a SSD
Finally I got it work. Tried this 2 times. Cleared SDCard and SSD and follow the steps.
HA is running fast and shows again I have a supported installation :smiley:

This is what I did a few days ago to install Home assistant os on a Rpi4 with the majority of the system running on a M.2 usb ssd enclosure with a WD 120gb M.2 ssd. However you well still need the sd card to boot the system.

  1. Flash the sd card with the latest Home assistant os , I used https://github.com/home-assistant/operating-system/releases/tag/4.12

  2. Flash the m.2 usb ssd with the same Home assistant os image.

  3. Plug in the usb drive and sd card.

  4. Power on the Rpi4.
    Done.

Your Home assistant install well sense the ssd partitions and use those partitions to read and write data to.

The sd card is just needed to boot from, not much data is wrote to the sd card.

Version 5+ of Home assistant os ( dev version) seems to have native usb boot support, no sd card needed at all. So soon true usb boot is upcoming.

Hope it’s of help.

Thanks let me try this. So if I understand you correct:

Flash SDcard and SSD with latest HassOS.
Plug SDcard and SSD to RPi4 (or RPI3)

When it boot from SDcard it will use the partitions of de SSD?

Correct.

However I have not tried the same on a Rpi3. It most likely works the same I’m guessing.

How did you do it with Wifi. Did you add second USB with my-network on to config Wifi headless ?

I don’t use wifi, just eth0 (wired).

Sorry.

Finally got the Debian 10 64Bit image running on SSD on a RPi4
https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2020-05-28/2020-05-27-raspios-buster-arm64.zip

Flash image on a SDCard. Add SDcard and your SSD to your RPi4
You can also add already ssh option and you wifi settings on the /boot/ partition of SDcard

Remove the old dphys version

sudo /etc/init.d/dphys-swapfile stop
sudo apt-get remove --purge dphys-swapfile

Refresh your OS

sudo apt-get update
sudo apt-get full-upgrade

Prepare RPi4 for USB Boot

Refresh your OS with the latest firmware

sudo nano /etc/default/rpi-eeprom-update
sudo rpi-eeprom-update -d -a
reboot

Install RPICLONE (For cloning from SDCard to my SSD, my SSD is /dev/sda, yours can be different)

git clone https://github.com/billw2/rpi-clone.git 
cd rpi-clone
sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
sudo rpi-clone sda

After RPICLONE is done open a new terminal window

nano /mnt/clone/boot/cmdconfig.txt

Add rootdelay=5 cgroup_memory=1 cgroup_enable=memory to the line and save the file.
Exit the terminal

shutdown now

Remove the SDCard and boot from SSD now.
Correct location and timezone

raspi-config

Install Docker

sudo -i
apt-get install software-properties-common -y
apt-get update
apt-get install modemmanager
reboot now

Reason I install modem manager first and reboot, because when do with network-manager my RPi freeze

apt-get install network-manager
apt-get install apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq socat bash curl 
curl -fsSL get.docker.com | sh

Install Hass.io

systemctl stop ModemManager
systemctl disable ModemManager
curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh | bash -s -- -m raspberrypi4

DONE

Here some links I get the information from:


three errors in the above:

1) Remove the old dphys version

Copy to clipboard
sudo /etc/init.d/dphys-swapfile stop
sudo apt-get remove --purge dphys-swapfile

command dphys-swapfile stop is not recognized

2) After RPICLONE is done open a new terminal window

Copy to clipboard
nano /mnt/clone/boot/cmdconfig.txt

there is no boot directory in clone.

3) reboot now
Reason I install modem manager first and reboot, because when do with network-manager my RPi freeze

Copy to clipboard
apt-get install network-manager
apt-get install apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq socat bash curl 
curl -fsSL get.docker.com | sh

if you reboot, you need to do a sudo -i before ahte apt-get install network-manager

NOTE: The network manager never actually ended…I rebooted and ran the commands again and apparently the latest version was already loaded.

Finally…if you don’t want your IP connection jumping around, then see:

I tried it 3 times now the way how I post it. I used some other pages for some things.
Maybe I can skip some things also.

But because this was working for me perfect 3 times I leave it how it was