Installing Home Assistant OS using Proxmox 8

Hello,
I’d like to ask about implementation of the script. If I got some error, I just can assume it’s my proxmox setup fault right? :smiley:
Someone pls could give me an idea what to change?

Creating a HAOS VM using the above advanced settings
 ✓ Using local for Storage Location.
 ✓ Virtual Machine ID is 107.
 ✓ https://github.com/home-assistant/operating-system/releases/download/9.2/haos_ova-9.2.qcow2.xz
 ✓ Downloaded haos_ova-9.2.qcow2.xz
 ✓ Extracted KVM Disk Image
 - Creating HAOS VM...400 Parameter verification failed.
efidisk0: invalid format - format error
efidisk0.efitype: property is not defined in schema and the schema does not allow additional properties

qm set <vmid> [OPTIONS]
‼ ERROR 255@262 Unknown failure occurred.

What version of Proxmox are you running?

https://github.com/tteck/Proxmox/issues/386

Hi, thx for your answer.
It’s 7.0-11

It would appear that PVE 7.0 didn’t have the new schema defining efitype yet. :man_shrugging:

Beings that PVE is now at version 7.2-11, I’d suggest updating.

thank you very much for your answer.
I just did upgrade. It’s 7.2-11 right now and restarted.
The script getting ERROR.

Using Advanced Settings
Using HAOS Version: 9.3
Virtual Machine ID: 107
Using Hostname: homeassistant
Allocated Cores: 2
Allocated RAM: 4096
Using Bridge: vmbr1
Using MAC Address: 00:60:2F:63:54:73
Using Vlan: Default
Start VM when completed: yes
Creating a HAOS VM using the above advanced settings
 ✓ Using local for Storage Location.
 ✓ Virtual Machine ID is 107.
 ✓ https://github.com/home-assistant/operating-system/releases/download/9.3/haos_ova-9.3.qcow2.xz
 ✓ Downloaded haos_ova-9.3.qcow2.xz
 ✓ Extracted KVM Disk Image
 - Creating HAOS VM...‼ ERROR 25@260 Unknown failure occurred.

Check and see if you have a stray vm-107-disk-0 present. If so, remove it.

Edit: Or, use a different VMID number

That was it.
Thank you very much!

✓ Started Home Assistant OS VM
✓ Completed Successfully!
1 Like

i copy and paste code

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm-v4.sh)"

to proxmox shell, but promox no responsed. Test on proxmox 7.1-7 and 7.2-3

It requires internet.
Run this in the Proxmox Shell to test Internet connection

if nc -zw1 8.8.8.8 443; then  echo "Internet Connected"; else  echo "Internet NOT Connected"; fi; 


Internet connected.

Add code
I can use this method to install hass on 27th but yesterday and today can’t. I don’t understand it’s my proxmox or the download source

I just tried reinstalling it and it works
Thanks!

Pictures of text :-1:

Run this in the Proxmox Shell to see if your DNS can resolve github.com to an IP address

RESOLVEDIP=$(nslookup "github.com" | awk -F':' '/^Address: / { matched = 1 } matched { print $2}' | xargs)
if [[ -z "$RESOLVEDIP" ]]; then echo "DNS Lookup Failure";  else echo -e "DNS Resolved github.com to $RESOLVEDIP";  fi

Glad you got it going

I would like to make a new install of my HA-setup and use a Dell MFF instead of RPI. At the time the computer only has an SSD, but I will add one more disc, probably a regular hdd.

I will install Proxmox on it and use it for Home Assistant, plex and maybe something more. I would appreciate some recommendations on where to place Proxmox and where to install my VM’s.

Use my 256GB SSD for Proxmox and the >2TB HDD for VM installs? Or install everything on HDD to avoid failing SSD?

I’d install Proxmox and use the SSD for everything, add storage later if needed.

2 Likes

This. Install the big HDD also but use that for backing up your VMs.

1 Like

You are a legend sir… I spent far too much time trying to get this stuff manually working before finding this which worked 100% first time.

1 Like

Thank you very much for taking time to write this guide. I am planning on moving my HA to a proxmox server using an intel nuc7i3 with a 16ram and nvme of 1 TB. ( I am thinking of adding 2 vms such as Unifi and Pihole as well). My question is that I have different vlans on my network and I would like to know if it is possible to change the ip address of HA vm to a static one (like the one I am currently using which is tied to the mac of nuc ethernet card)? Thank you in advance!

When creating the VM, use Advanced settings and input your current MAC address. IP will stay the same.

A walk through using Advanced settings

Screenshot 2022-11-15 8.16.13 AM
Screenshot 2022-11-15 8.16.29 AM
Screenshot 2022-11-15 8.16.46 AM
Screenshot 2022-11-15 8.16.56 AM
Screenshot 2022-11-24 7.11.32 PM
Screenshot 2022-11-15 8.17.06 AM
Screenshot 2022-11-15 8.17.12 AM
Screenshot 2022-11-15 8.17.21 AM
Screenshot 2022-11-15 8.17.32 AM
Screenshot 2022-11-15 8.17.38 AM
Screenshot 2022-11-15 8.17.45 AM
Screenshot 2022-11-15 8.17.54 AM
Screenshot 2022-11-15 8.18.03 AM

6 Likes

@tteck .Thank you very much for this. I really appreciate it and it will make it much easier to set up.

1 Like