Installing HAOS in a VM on TrueNAS SCALE

Try adding sudo to the beginning of the last command like below

sudo qemu-img convert -O raw haos_ova-10.2.qcow2 /dev/zvol/Backup/apps/haos
1 Like

Hi, i have the same problem with trying to get the coral usb to passthrough. The problem is i cant see it in truenas scale so i cant choose it to passthrough. Is there something i need to do first like install drivers or something?

Iā€™m not sure about the Coral devices. You might have better luck asking in the TrueNAS forums how to get the USB Coral working SCALE VMs. I donā€™t mean to send you away, but I can only help with things I have experience with. I think youā€™ll get more eyes in your own thread and more experienced TrueNAS users on their forum.

TrueNAS Scale, though built from Debian, is intended to be an appliance. There is no support for modifying the underlying OS to install drivers :disappointed:

Will do, thanks!

1 Like

I went down this rabbit hole this week. I got it working for Frigate as an app but I assume you should be able to pass it to a VM as well.

PM me and Iā€™ll send you what I did.

1 Like

On my old nas I was able to access the config files via smb. Since this is a zvol, has anyone figured out a way to get access?

Iā€™ve used either the SAMBA add-on or the SSH add-on for this.

The only way I know, without using an add-on, is to enable SSH to HAOS itself.

thanks for this, it installs and looks like its running but no usernames or passwords are being accepted

Done the same like in the guide. But nothing shows up. If i click monitor i just see some shell, thats all but no life signs from homeassistant

same problem here. Seems that the qemu command isnā€™t availble in truenas core 13ā€¦ so weā€™re stucked indeed.

Hi folks,

Sorry, Iā€™m away and unable to help with installation issues for some time.

That is correct ā€“ This guide is for TrueNAS SCALE, which is the Linux-based version of TrueNAS.

TrueNAS CORE is based on FreeBSD and uses a different hypervisor which is why the qemu command is unavailable. The good news is, that you can still install HAOS in a VM on TN CORE following this guide instead

1 Like

@Elfir If you find a way of doing this Iā€™d be interested to know what you did. Iā€™m still looking and if I have any success Iā€™ll let you know.

Hello everyone.
Iā€™m instaling se haos on a VM as @troy 's instructions. It work smoothly until the onboarding screen.
I was able to create my account, but on the next screen, the country field is missing and I canā€™t move to the next stepā€¦
image

I did the instalation twice and had the same resultā€¦

Any sugestions?

Thanks

can you manually edit these values and continue? skip?

@aelg305 I can edit all fields but the country. Whe I click next, it show an error message and I canā€™t go past this screen.

I donā€™t know if there any file I can manually edit to baypass this errorā€¦

Iā€™m still trying to figure out what is happeningā€¦
I created a VM on a Windows computer (virtualbox) and tried several versions of HAOS (10.3 to 9.0) and everytime the result was the same: there is no country selector and I canā€™t go beyond this screenā€¦
I donā€™t know if if something related to this, but Iā€™m from Brazilā€¦ Is there some issue relate to my ip address?

Hi Fabiano,

This sounds like it could be a bug within Home Assistant itself. Maybe consider filing a bug report.

Yes, I was thinking the sameā€¦ Thanks for your reply.

1 Like

hi,
Iā€™m facing an issue when I try to add Skyconnect to my HA running on freeness.
I tried the guide but when I run the command
"freenas[]> system advanced update kernel_extra_options=ā€œmodule_blacklist=cp210xā€

I receive:

invalid arguments: kernel_extra_options
Traceback (most recent call last):
  File "/usr/local/bin/cli", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/midcli/__main__.py", line 109, in main
    cli.run()
  File "/usr/local/lib/python3.9/site-packages/midcli/__main__.py", line 95, in run
    self.context.do_input(parsed)
  File "/usr/local/lib/python3.9/site-packages/midcli/context.py", line 277, in do_input
    namespace = self.current_namespace.do_input(text)
  File "/usr/local/lib/python3.9/site-packages/midcli/context.py", line 61, in do_input
    return i.do_input(parsed)
  File "/usr/local/lib/python3.9/site-packages/midcli/context.py", line 61, in do_input
    return i.do_input(parsed)
  File "/usr/local/lib/python3.9/site-packages/midcli/context.py", line 64, in do_input
    i.do_input(parsed)
  File "/usr/local/lib/python3.9/site-packages/midcli/command.py", line 177, in do_input
    for name, v in args.items():
AttributeError: 'NoneType' object has no attribute 'items'
freenas% 

How I can solve? the device is not shown in the /dev/serial
thanks in advice

Hi dinoc93,

Other users have reported the sky connect should just work with USB pass through in your VM settings.

I donā€™t think you need to blacklist anything for the sky connect