Getting error with Home Assistant script.

BigXan

New Member
Dec 10, 2024
5
0
1
I'm trying to use the Home Assistant helper script to create a vm running HA, but I keep getting the following error:
|kvm: CPU model 'host' requires KVM or HVF
/start failed: QEMU exited with code 1

[ERROR] in line 463: exit code 0: while executing command qm start $VMID

This is the script for reference: https://tteck.github.io/Proxmox/#home-assistant-os-vm
Any help is greatly appreciated.
 
Welcome to the Proxmox forum, BigXan!

It seems like that QEMU is complaining about the fact that the CPU type for the VM is not supported. Could you verify that you have virtualization enabled in your BIOS (e.g. grep '(vmx|svm)' /proc/cpuinfo)?
 
Welcome to the Proxmox forum, BigXan!

It seems like that QEMU is complaining about the fact that the CPU type for the VM is not supported. Could you verify that you have virtualization enabled in your BIOS (e.g. grep '(vmx|svm)' /proc/cpuinfo)?
Would I run this in the VM? When I try to run this in the proxmox server it doesn't do anything. The VM deletes itself when the HA script fails so I can't run it there.

When I try to manually install the qcow2 file it will run the wget command, but then says it can't find the file to run unxz.
ex:
2024-12-13 01:04:26 (39.3 MB/s) - ‘haos_ova-14.0.qcow2.xz.2’ saved [378855796/378855796]root@local:~#
unxz ‘haos_ova-14.0.qcow2.xz.2’unxz: ‘haos_ova-14.0.qcow2.xz.2’: No such file or directory
I've tried it a couple times hence 'xz.2'
 
Last edited:
Hi!

Would I run this in the VM? When I try to run this in the proxmox server it doesn't do anything. The VM deletes itself when the HA script fails so I can't run it there.
No, you should run the command on the host itself to verify that you have a host that supports virtualization in general.
 
Hi!


No, you should run the command on the host itself to verify that you have a host that supports virtualization in general.
Hey Dakralex, thanks for your responses!

When I run that line nothing happens and I'm prompted with root@(myservername):~# again
I ran it as is -
grep '(vmx|svm)' /proc/cpuinfo
Am I missing something
 
It would appear that virtualization is not (currently) supported on your host. Check BIOS settings.
Have you successfully created any (other) VMs on this host?
What HW are you using? Maybe someone can shed some light on possible solutions.
 
It would appear that virtualization is not (currently) supported on your host. Check BIOS settings.
Have you successfully created any (other) VMs on this host?
What HW are you using? Maybe someone can shed some light on possible solutions.
I have a pihole up and running on proxmox and it was a breeze to install and configure with the scripts.

Can I run a command to check BIOS settings? (Sorry I'm a total noob and even with all this reading I'm still asking dumb questions lol)

I'm running proxmox on a Thinkcenter m900 Tiny with a core i5 - 6500T & was listed with a processor speed of 2.50 GHz, 8GB ram, and I have a 500GB SSD installed.
 
I have a pihole up and running on proxmox and it was a breeze to install and configure with the scripts.
That is running in an LXC probably not a VM.
Can I run a command to check BIOS settings?
On boot go into BIOS, & check that all virtualization settings are enabled.
unxz ‘haos_ova-14.0.qcow2.xz.2’unxz: ‘haos_ova-14.0.qcow2.xz.2’: No such file or directory
Assuming that the file actually exists in the directory (check with ls command), then you should probably enter:
unxz haos_ova-14.0.qcow2.xz
(no inverted commas, and the file should finish with .xz)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!