Can't install homeassistant on VirtualBox for over 6 months

A very long story short, I had a catastrophic failure with my server about 8 months ago, main drive failed, all backups of drive failed, all backups of homeassistant fail to restore (regardless of installing the exact version of homeassistant I was on).

Tried the restore process about 20 times on different pcs, on my main gaming desktop that has an i9 13900K, so I know itā€™s not CPU bound or anything like that.

Anyway Iā€™m so bored of trying to get the restore to work Iā€™ve decided Iā€™m just going to start again, but I canā€™t even do that, installing a brand new copy returns this error every time, specs of the server;

i7-5960X
128GB RAM
512GB C drive SSD

Iā€™m at a complete loss, Iā€™m an IT manager by day so Iā€™m not what you can consider a moron but Iā€™m just lost as to what Iā€™m doing wrong here.

Iā€™ve tried uninstalling VirtualBox, it makes no change but does seem to work on my gaming PC if I install fresh, but have no idea how a fresh install can fail on one specific PC? Unless it could be driver related but how Iā€™d figure that out I donā€™t know.

VB sucks, VMWare player/workstation is 100% more reliable (but a bit harder to set up)

3 Likes

My main requirement is USB pass through so I can have zigbee/zwave, if that works I will setup whatever apart from a standalone Pi, because Pis suck

VMWare supports USB passthrough :wink:

1 Like

Is the error Iā€™m getting likely due to be because of VB?

If you will be running a hypervisor on a Windows machine I suggest Hyper-V, as it comes with Windows and supports USB passthrough - Beginnersā€™ Guide: Hyper-V USB Passthrough - BDRSuite.

If you want to BM install a hypervisor I suggest Proxmox VE.

Do you have USB pass through working on Hyper-V?

I remember ages ago I was trying to migrate to it but couldnt get Hyper-V USB pass through to work for love nor money!

Canā€™t really help you with your specific problem but for me, Virtualbox works just fine. So itā€™s not that per se. Iā€™m running it from Linux Mint, but I have successfully started an instance from VB on Windows too.
I assume you followed the exact instructions, thereā€™s a few non-standard options that have to be checked IIRC.

Yeah Iā€™ve followed the instructions to the T.

Just downloaded the VHDK for Hyper-V (as that is actually my preference, and if I can get USB pass through working weā€™re golden).

It booted up right away no problemsā€¦ super weird!

As far as i know, hyperV doesnā€™t support usb pass through

Yes, it is.
When i started with HA, i used HyperV.
With the Zigbee i used then it was possible to configure it for ser2lan,.
When it died, i found out my new zigbee usb did not support ser2lan, so i needed to switch to another VM.

For my work i used VMware already with great satisfaction, but VB being freeware and all I figured lets give VB a try with HA.
But i found it was highly unstable (I had the same errors and I never found out what exactly the issue was).

So i moved to VMware and never looked back.
It is a bit harder to configure, but worth it :wink:

PS, Vmwareā€™s player is freeware, but workstation is not. So i used my workstation on my work pc to set it up and configure it, and then moved it to playerā€¦that made it a lot easier :innocent:

Unfortunately, USB passthrough is not natively supported in Hyper-V environments. However, you may still use the following methods to accomplish Hyper-V USB passthrough:

  • Activate the Enhanced Session Mode.
  • Start an RDP (Remote Desktop Protocol) session.
  • Install USB solutions that are network-based.
  • Install USB solutions that are software-based.

For sure it wasnā€™t supported when i started with HA, not so sure now, but no intentions to move back, also because in the meanwhile i dropped W10, my host now runs Debian12.
(Originally i intended to run debian supervised, but found out it has too many restrictions :wink:)

I started with VMware, but once tried VB and Hyper-V each, NO reasons to try ever again , if we just ā€œignoreā€ VB, and look at Hyper-V vs VMware,
Windows will increase in usage much more, with H-V, and one never knows with Windows, if itā€™s not a slimmed dedicated ā€œserverā€, then many things can happened with Microsoft Updates, last updates (for W10) was killing 2 machines here, took hours and i had to reboot 3 times , and who knows what changes they do that could affect H-V , VMware is just so much more reliable, and one can shut it down and copy/backup-the whole VM-folder, and fire it up on any other machine

Even when the old host is windows and the new one Linux :nerd_face:

1 Like