i wanted to see if there is any detailed tutorial or guide here or anyone has installed HAOS on a VM on a RPI5. I am looking to do this so I can actually use and leverage my 16GB RAM RPi5 for other stuff as well.
im looking for installation paradigm which will essentially run HAOS in a VM just exactly as if it was installed as an appliance on a RPI5.
I have RPI5 8G running HAOS on a VM (restored a google drive backup from HA Supervised backup running on Debian). I am using QEMU/KVM running on top of Raspbian. Issues/items of note:
On the above you cannot take a VM snapshot. Even if I could, it would not be a full bnackup of my SSD that has QEMU/KWM anyway, so to make a backup clone of the whole thing I will occassionally boot up the RPI on a Raspbian MicroSD, blug in a second SSD of the same size as the other sone, and then use the “SD Card Copier”.
On any VM you cannot get the host CPU% or CPU Temp. My RPI was an upgrade from an RPI4 and I still had the RPI4 running other daemons which report data to the RPI5 HA dashboard, so I created other daemons using SSL and rest api to populate all of the values as needed ono the HA dashboard from the RPI4 to the RPI5 (includng the RPI5’s host CPUY % and temp).
I am using the PironMan 5 case here but there is a new MAX version here as well. It is more expensive than a NUC (which is alot more bang for the buck) but a fun “executive desk toy”…
While haos doesn’t need that much RAM by modern standards, a host with only 8 GB RAM isn’t really suited for being a hypervisor. Yes, I have run a 1.5 GB RAM haos VM on a j1900 with only 8 GB RAM for quite a while, but that is very tight - on the VM and on the host.
Below 16 GB RAM I would recommend bare-iron installs, rather than taking the overhead of the hypervisor into account, not that you’d have much RAM for concurrent VMs either.
Agreed on all your points, mine has the VM as 6GB and the other 2GB are the host. There are no other VM’s on it, so not very useful, but FYI the custom PironMan5 software driving the little OLED screen on the case are packages that run on Raspbian (and do not work on HAOS), hence the VM - (see the links above for more info):
yea i got 16gb ram on my pi5 and 1tb nvme. My desire to run in VM is so i can get full HAOS, given i was running supervised and support for that ends in dec, but i ddint just wanan run on baremetal (HA OS) and just waste an entire pi just for that