Installing HAOS (Home Assistant OS) in a VM

Thank you so much for making this guide. I was five hours down my self made rabbit hole and missed the part where I had to specify the zvol with a leading /dev/zvol

2 Likes

I would love to be able to do haos in an lxc.

Not possible.

You can of course run Home Assistant in an LXC. But not HAOS which is a complete appliance style Linux distribution similar to TrueNAS in that regard - with boot loader, kernel and everything. So bare metal or VM it is.

That’s why it is named Home Assistant Operating System.

Ups… I dunno what I do wrong, with 25.10 I cannot manage to enter HAOS.

I install Real VNC … I can see the IP adress but I cannot acces the HAOS to configure… any help?

thx in advance

The VNC port is not for your browser but for VNC as you found out. So you can use the HAOS console over VNC to e.g. change the network settings, shutdown or reboot, etc.

The browser port for the HA web UI is 8123 as documented by the Home Assistant project.

1 Like

Thx a lot for immediate reaction… much appreciated.

Firstly I am a newbee regaring this, nevertheless I read and try to understand.

I try to put :8123 on ip address and is not passing through.

I follow your instructuins and check network settings of VNC/HAOS and I saw different IP adress. I cannot change… or I dont know how to access HAOS from browsers or Home Assistance app.

I try:

  1. Open with 192.168.8.126:8123 - not working
  2. Change adapter from HAOS to enp1s0 (Truenass network) - not working
  3. I try to open 172.30.32.0:8123 (HAOS current IP) - not working

I have a feeling is something small.. which most of you are laughing :slight_smile:

somehow I need to make a bridge between enp1s0 and enp0s3(HAOS adapter) ? or is more simplier than that.

My hardware is: MiniMe Beelink 12GB ram and N150 Intel CPU.

HAOS is its own operating system. It does not share its IP address with TrueNAS, it’s like a separate machine. Hence “Virtual Machine”.

To connect it to your network you need to create a bridge interface in TrueNAS and connect the virtual network adapter in the VM’s device settings to that bridge. Best set the virtual network type to “VirtIO”.

1 Like

Thx a lot mate… I manage to connect.

I realize before the IP address was allocated automatically by system .. 192.168.8.216… and I saw it later.

Thx again for assistance, is good to see such helpful community.