Download the VDI image. I’d recommend resizing the image prior to importing as resizing is HassOS will be a pain (Note: the recommended way to resize an existing hass.io installation is to perform a snapshot and then resize disk, reinstall hass.io and restore your snapshot) in my case i chose 32GB and that should be fine for getting started.
You perform the resize in Virtual Box prior to starting the machine:
Now you want to create the machine. These are the settings that work for me:
Network is bridged to one of the NICs in the host and my hass instance gets a static mapping from my DHCP server.
Now you’ve got the machine setup it should start and you can go through the installation. If you’ve got anything you want to take from your existing install make sure you have a backup (ideally a snapshot) so you can restore it in the new installation.
Regarding the script, it’s just a simple batch-file that runs when windows logs on. You could probably get it to run as a service but the machine I’m using is dedicated for hass and my unifi controller so it logs on automatically on power on.
The command to start the machine will be similar to:
“C:\Program Files\Oracle\VirtualBox\VBoxManage.exe” startvm HASS --type headless
To get to the startup folder on Win10 open the run dialog and type the following: shell:startup
Good luck and if you get stuck get in touch.
p.s one last tip, if you ever get a USB controller for z-wave / zigbee etc you can use the USB filter in virtual box to present it to hass: