[GUIDE] Install Home Assistant OS in a VM

I keep getting this error when trying to start, I've followed all directions very carefully. Anyone have any ideas? Thanks:

kvm: -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg: Duplicate ID 'pci.1' for device
TASK ERROR: start failed: QEMU exited with code 1



1732859604250.png
 
Just signed up to say thank you. I bought a used Lenovo M80Q a week ago and thought I'd try Proxmox. Your guide worked perfectly for me.
 
@dondizzurp

Perfect. Thank you for sharing! Quick question. The EFI disk, can be removed once the new hard disk is added? So far up and running.
 
This was perfect, thank you! I couldn't get my image to boot because I didn't do any of the steps under the 'System' portion while trying it by myself. Thank you thank you!
 
Thank you for creating this guide.

Interestingly Proxmox doesn't seem to be able to collect either the CPU, RAM or disk usage.

However the QEMU guest agent seems to be running accordingly on the HAOS VM.
At least I'm receiving the correct data of the network interfaces.

Anybody got an idea what could cause missing data for CPU, RAM and disk usage?
Did you enable the QEMU Guest Agent setting in the Option configuration of your VM ?

I saw your post and enabled mine before I checked whether it had data or not -- it did after, so maybe ?
 
So just like my other guide, this is more for my own records so I can come back and refer to it.

I know there are scripts for these things, but I prefer doing them manually so I can learn along the way.

Maybe it can help someone else in the future.
Wonderful! Yes, it's helped. I prefer known the process as well!
This is my first Proxmox import and first exposure to HA - I appreciate you removing some of the mystery.

I had missed the boot option - despite having read your notes. When I saw PXE fail I knew immediately
 
I keep getting this error when trying to start, I've followed all directions very carefully. Anyone have any ideas? Thanks:

kvm: -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg: Duplicate ID 'pci.1' for device
TASK ERROR: start failed: QEMU exited with code 1



View attachment 78421
I am having the same issue, any resolution?
 
I keep getting this error when trying to start, I've followed all directions very carefully. Anyone have any ideas? Thanks:

kvm: -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg: Duplicate ID 'pci.1' for device
TASK ERROR: start failed: QEMU exited with code 1
I've not encountered that error - but here are 2 things you can try to gather more info - it's not a fix, but path to troubleshooting:

How many virtual machines do you have?

Can you get to a cli/terminal as root:
1) run 'lspci' and see if there are indeed duplicate devices (left column)

Then check the contents of the files in :
/usr/share/qemu-server - starting ith the listed pve-q35-4.0.cfg

2) Is there more than one [device "pci.1"] entry. Or similarly, the info in that device section repeated elsewhere?

For example - this is the section in my config - and it's not repeated in either way:
Code:
[device "pci.1"]
  driver = "pci-bridge"
  bus = "pcidmi"
  addr = "2.0"
  chassis_nr = "2"
 

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!