Running Hass.IO & Hass OS on VMWare ESXI 7.0
Having had some issues properly running Hass OS on ESXI, I decided to create this short guide! It’s important to convert the VMDK to one that can be used for snapshotting and other ESXI Features.
Please follow the below steps (and as outlined in the video) in the correct order. I’ve had some issues making changes along the way and was unable to rectify them later on.
- Download the VMDK file: https://www.home-assistant.io/hassio/installation/
- use 7-zip (or another tool- to extract the VMDK from the archive
- Upload the VMDK file to a separate folder on your chosen datastore
- Enable SSH on your ESXI host and navigate to the VMDK file just uploaded.
- Copy the VMDK file to a usable format
vmkfstools -i hassos_original.vmdk hassos_new.vmdk
- You can remove your original VMDK if you would so desire
- Now create your virtual machine, keeping in mind following elements
- Remove the original drive
- Remove the SCSI adapter (and optionally the CD/DVD Drive)
- Add a new existing drive, using your new VMDK file as target
- Choose “IDE Controller 0” as the controller location
- Make sure the firmware is set to EFI and de-select “Enable UEFI secure boot”
- Ready to start op the VM!
Now it’s all about waiting and letting your VM install Homeassistant. I would suggest to also increase the drive size to at least 8GB to allow for updates in the future. You can go bigger if you’d need it!
I hope this guide has allowed you to run your very own Homeassistant instance on ESXI. Allowing to use the snapshot feature makes updates less stressful and allows for errors. I am absolutely in love with it!