Install Home Assistant as VM in VMware Workstation

There a multiple ways to install Home Assistant on different platforms. The instructions for deploying as Virtual Machine (VM) are not very clear when using VMware Workstation or VMware ESXi. In this blog post I highlight the steps needed to deploy as VM using VMware Workstation 15 Pro.

Here are the steps:

  • Download the VMDK image of (link) and save it to a folder were the VMware Workstation Virtual Machine will be stored
  • Unzip the downloaded VMDK file with 7zip
  • Open VMware Workstation
  • Choose a custom (advanced) configuration

  • For the VM hardware comparability select: ESXi 6.5
  • Select: I will install the operating system later
  • As Guest Operating System select: Other 64-bit
  • Give the Virtual Machine a name and browse to the location the VMDK file stored. The will be a warning that there already resides a Virtual Machine in the same location. Select: Continue

  • Select the number of processors and cores. A minimum is 1 processor and 1 core.
  • Assign memory to VM. A minimum is: 1024 MB.
  • Select as network type: NAT
  • Select as I/O controller: LSI Logic (Recommended)
  • Select as disk type: SATA
  • Select a disk: Use an existing virtual disk
  • Browse to the VMDK file downloaded earlier
  • There will be a question to convert the existing virtual disk to a newer format, select: Convert

  • The VM is ready to be created, select Finish

Before starting the VM, edit the Virtual Machine settings and modify to following:

  • The disk is only 6 GB, expand the disk to 32 GB or higher.

  • Remove the Sound Card in the hardware configuration.

  • Change the firmware from BIOS to UEFI. Do not select “Enable secure boot”!

  • Select OK and Power On the VM.
  • When the boot is completed press “enter” in the console and the login prompt appears. To log in, use “root” without a password.

  • The Hassio console prompt appears, enter “login” for host access.
  • To find the IP address assigned, use the “ip a” command in the console and look for the IP address on the enp2s0 nic.

  • Open a browser session and use the following format: http://ip-address:8123

Now you’re ready to update Home Assistant and let’s start playing.

14 thoughts on “Install Home Assistant as VM in VMware Workstation”

  1. Hi
    I don’t have Vmware workstation instead I have Esxi 6.7, and I imported Vmdk with Vmkfstools. Have same config options in Esx VM as you have in Workstation, but it hangs during startup, just after Md raid. Not able to ssh / login. Is there anybody out there that has tried my path with success?

  2. Followed everything step-by-step, and I am getting an error message stating the following: “VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Workstation”.

  3. This guide worked really well – I follwed it step by step and was up and running. It ran for a few hours, but now I cannot connect to the web dashboard:(

    Running the “ip a” command shows that enp2s0 has “NO-CARRIER”. Not sure how to fix that, any help? I’m thinking I might restart with a proper Ubunto distro?!?

  4. I changed the VM network settings from “NAT” to direct access to the host, and now it’s working again!

  5. Hope someone can help me.
    Getting this error.
    xfuncs: out and memory
    xfuncs: Unable to allocate 65539 bytes
    Used: 621816
    free: 1328
    out of memory
    no stack data available

    What have I done wrong?

  6. thanks I have done these steps with ova-3.12
    after ip a i see enp2s0 ip :
    but i cant open on browser

    can you help me

Leave a Comment