Home Assistant OS Release 5

![](upload://nAl4fOmAKRtUrOt6wnhfYZsWSHb.png)

Today we also release Home Assistant OS 5.8, the first stable version of the 5.x release series.

Highlights:

  • Improved Multicast Name Resolution on OS level

  • External Data Disk Feature

  • Improved Reliability against Container corruption

  • New support: Raspberry Pi 4 – 8GB

  • New support: ASUS Tinker Board S

  • New support: ODROID-C4

  • Improved: OVA Virtual image includes more drivers

Table of contents

Operating System Changes

Multicast Name Resolution

Release 5 uses systemd-resolved to provide DNS services on the operating system level and acts as a multicast name resolution responder. Besides, mDNS systemd-resolved also supports the LLMNR hostname resolution protocol. In practice, this makes discovering a new installation of Home Assistant OS working in most situations, either using http://homeassistant.local:8123 or http://homeassistant:8123.

External Data Disk

In release 4 we introduced external data disk support. The command datactl allows moving the main data partition to any disk connected to the system. The boot partition and main operating system partitions stay on the boot medium (typically the SD card). Using this approach is more reliable than booting the system from USB. Booting from USB requires several parts of the software stack to rediscover the external storage. In release 5 we made the external data disk feature more robust and the initial moving process much faster. We plan to improve that feature even more and are happy to get your feedback!

Improved Reliability

The main system service to start Home Assistant Supervisor is now more reliable. Home Assistant OS is now able to detect a corrupted supervisor container in most situations and automatically downloads a new version of it. File system checks have also been expanded to the boot partition, which makes sure that all file systems are being checked now.

Under the Hood

Under the hood, we updated to Buildroot 2020.11, which brings tons of new software versions along with bug and security fixes. Some key components which received an update were systemd 246 and AppArmor version 3.0.

Board Support

Raspberry Pi

All Raspberry Pi versions now use Linux Kernel 5.4, just like Raspberry Pi OS. With the move to U-Boot 2020.10, we are now also supporting Raspberry Pi with 8GB of memory. With the new kernel and U-Boot Home Assistant OS can now also run on the Compute Module 4 as well as the Pi 400 (the keyboard). A keyboard is probably not the ideal form factor for a headless system such as Home Assistant OS, but it comes with good cooling, which makes it not the worst choice :-). We recently tested the 64-bit variant of Home Assistant OS much more and feel comfortable to recommend the 64-bit version for Raspberry Pi 4.

ODROID

The ODROID platforms now use Linux 5.9, which brings improved support for all ODROID platforms such as the ODROID N2(+). For the N2(+) the Real-Time Clock is now supported as well.

Open Virtualization Appliance/Intel NUC

The x86 platforms (Intel NUC, OVA - Open Virtualization Appliance) now use Linux 5.9. The kernel for OVA images has new drivers enabled for Intel Network devices with Virtual Function, PCIe passthrough for Hyper-V, or support for Audio (HDA audio devices).

New Board Support

Besides the ASUS Tinker Board, we now also support the Tinker Board S, a variant with fast on-board eMMC storage. Thanks to [@ubergeek801] we now also have support for ODROID-C4, a cost-effective alternative to Raspberry Pi in a similar form factor.

Other Changes

The build pipeline is now using GitHub Actions and we compress the images using the xz compression algorithm instead of gz. The flashing process will stay the same: Etcher supports flashing from gz as well as xz.

This is all I can think of for now. The release 5.8 will be on the stable channel today, so watch out for the update notification in the Supervisor section. Images are available in the release section over on GitHub.


This is a companion discussion topic for the original entry at https://www.home-assistant.io/blog/2020/12/13/home-assistant-os-release-5/
7 Likes

Great work !
I would love to use Home Assistant OS. The only reason why I don’t, is that Home assistant OS does not have a core way to mount my nas cifs shares (libraries for Plex addon, BlueIris camera video folders etc).

There are ways but they relies on some automations launching shell_command at Pi startup. Would love to see an home assistant configuration somewhere in the UI.

Anyway, this is a great job !

1 Like

Hi,

I’m using version 5.6 because I want to boot from USB, mainly because the risk of SD-card failure and I like my Argon One M.2 case.

Is it correct that version 5.8 cannot boot from USB?

Can someone please explain why it’s better to boot from SD-card?

2 Likes

Did the blog post at the top not make that plain? It’s more reliable to boot off SD card…

how long does the update take with the raspi 4?

It’s weird that Apple didn’t think of booting Mac OS from a SD card, because it’s “more reliable”, of course

1 Like

Can MacOS run on a raspberry pi? Excellent news!

2 Likes

I just updated to 5.8 and my system boots from a USB 3 SSD drive.

3 Likes

I wasn’t aware that Apple used some nondescript USB interface with some equally nondescript SSD and hoped it would be reliable either… but there you go.

3 Likes

do you have a rpi?

@4walls
Thanks for being the guinee pig.
That was exactly my question, since I migrated my system last weekend from SD to SSD, based on 5.7. I will push th eupdate button, fingers crossed, and will report back as well on success.

UPDATE (10 minutes later) : Flipped to 5.8 (from 5.7). Works like a charm, ZHA & Conbee-II and all Zigbee stuff working, all other integrations (a lot) fully functional, and -most important- the stuff still boots on RPi4 USB3.0 from my SSD.

grtz
John

6 Likes

Upgraded from 5.2 Development to 5.8 Stable and noticed the RPI4 - 4GB edition no longer finds aeotec z-stick gen5. The USB2 hub workaround no longer seems to work.

Somewhat disappointing reward, as for once I actually read the release notes :slight_smile:

UPDATE: after several combinations of plugging/unplugging the stick with/without hub, it now is recognized in HW overview (using the USB2 hub).

2 Likes

@4walls
@Sparks
Great news, thank you for posting this!

Since this now supports rPi4 boot from USB/SSD, can anyone point me to a guide on how to move my existing setup from SD to USB/SSD? Can I simply write the build image to the USB/SSID and boot from that, then restore a previous snapshot? Thanks

I don’t use a raspberry pi myself, so I haven’t verified this, but I believe this is the proper link for instructions on moving the data directory:

1 Like

Thanks but I’m looking to run the whole thing on the SSD not just relocate the data partition.

Too much work to get specifying the data location into the UI…? Given what a time bomb SD cards are.

Just a thought. Of course, if I were able to work on such a thing, I wouldn’t need it…

1 Like

Actually it mentions that it improves booting from sd card while data are on ssd.
But I found no word about ssd boot while we know that it’s supported since 5.x beta.

I’m slso interested about ssd boot. Why it is not advertized. Is it still unofficially supported and what are future plans about it

1 Like

+1
I’m running HA OS and this is the one thing I don’t get to work. I managed to mount my nas but it didn’t showed up in the file editor or the media folder. Hope this gets added soon. I’m glad that moving my snapshots to the nas worked tho. Anyways Great job Guys :+1:

I expect and honestly hope that you will not get any help while being so rude.


I used datactl a while ago to move my data partition. It took over 45 minutes so I’m glad to hear that it’s faster now! It would be great if there was some UI method of doing this.

2 Likes