Skip to content

Instantly share code, notes, and snippets.

@jmbwell
Created November 11, 2024 14:40
Show Gist options
  • Save jmbwell/f411f2c2437fd04c87ab4a9735838c5f to your computer and use it in GitHub Desktop.
Save jmbwell/f411f2c2437fd04c87ab4a9735838c5f to your computer and use it in GitHub Desktop.
Install Home Assistant OS (haos) on Proxmox from image
  1. Create a Proxmox vm with 1 socket, 2 cores, 2GB RAM, 32GB storage, and UEFI
  2. Note the vm ID (i.e., 101)
  3. ssh to the Proxmox host
  4. Download the image for KVM/Proxmox from the "Other Systems" page in the Home Assistant docs as by using wget or curl -OL
  5. Convert the .qcow2 file to a raw .img file: qemu-img convert -f <downloaded file> -O <same filename but with .img>
  6. Write the image to the vm's zvol. For example: dd if=<.img file> of=/dev/zvol/<storage>/vm-<id>-disk-0 bs=1M
  7. qm start the vm
  8. If you see EFI complaining in the console, reboot the vm, go into UEFI (you have to use the special keys slideout and click esc), and use the boot maintenance manager to select the right boot file on the haos volume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment