[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"
 
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"
Hi All,
Someone has resolved this error ?
no success after deleting all pci.* (if you delete the 1, the 2nd appear as duplicate etc...) in /usr/share/qemu-server/pve-q35-4.0.cfg

for the command "lspci" :
Code:
root@rasp5:~# lspci
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0000:01:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 (rev 01)
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge

Thx
 
Hi All,
Someone has resolved this error ?
no success after deleting all pci.* (if you delete the 1, the 2nd appear as duplicate etc...) in /usr/share/qemu-server/pve-q35-4.0.cfg

for the command "lspci" :
Code:
root@rasp5:~# lspci
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0000:01:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 (rev 01)
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge

Thx
Hi,
Having exactly the same problem I started some "newbie" investigations...
I have seen that there is a second file which is almost identical "pve-q35.cfg" which has basically the same data as "pve-q35-4.0.cfg". Could this be what is generating the duplication error? And what would happen if one cleared out all the data in "pve-q35.cfg"??