I bought NUC for ZoneMinder (recording is saved to NAS) and migrating HassOS from Rpi and maybe some other VM’s in future.
Now I have Ubuntu 20.04 as Host OS and use virt-manager for managing virtual machines. First VM with Debian Stretch and ZoneMinder working fine, but I can’t get next VM with HassOS working.
I tried to burn NUC image with Etcher to usb drive and assign it to VM -> no luck. Tried to convert nuc image to qcow2 and assign to VM -> no luck. Tried to add image as next storage and boot from it -> no luck. With every attempt I’m stucked on “Booting from Hard Disk” and nothing happens.
Have anyone idea what could be wrong or is there someone, who run NUC image in KVM? I prefer HassOS instead of Docker or another VM with Docker. Or will be better to start with Docker? Have Docker version supervisor, plugins and updating from lovelace?
Home Assistant Supervised runs in docker as well, all the add-ons are just docker containers. HassOS is the base OS, you can also install Home Assistant Supervised on a generic linux install. I run it on a VM with Ubuntu Server as the OS. See the installation instructions here for more details.
This will be last option. My progress with Hass was virtualenv in LXC running on router -> VM running on NAS -> HassOS on rpi4. And I love HassOS for “maintenance free” OS, it’s much better than virtualenv installation. So now I’m trying to get NUC image working, but if all fails, probably VM with Docker will be last option
I’m not sure I can help as I have not tried your scenario, but I boot my VMs from an image in ISO format in a directory somewhere on the hard disk drive, and have virt-manager boot from the HDD instead of a USB. If you can convert your NUC image to ISO, then try it on your hard drive.
Here is example of VM created in VirtManager - network e1000, disks bus sata, first disk (boot) qcow2 from HA website and second is empty for installation, edited loader with edk2-ovmf - https://pastebin.com/n6zKEBmz
That first image you have there simply expands, so there is no need for second disk(also, there’s no installation, it’s more like unpacking of HA inside as I understood). But that shouldn’t be a problem.
I compared to mine, and see nothing that I can point my finger at…
Here is my config which is working for me, have a look and maybe you’ll get some ideas https://pastebin.com/2x3qhKsG
I changed network to virtio and it works as well. My current VM working for everything except my Aqara gateway - multicast seems to be not working which I can’t fix.
using virt-manager on Ubuntu 20.04 , I’m able to get HA to start but after a few min HA hangs. Similar experience with a converted nuc image, vdi image or the qcow2 beta.
i’m migrating from virtualbox to virt-manager and would like to see it stable before proceeding with the migration. Link to details
Setup bridge network. My wired network is enp2s0, run “nmcli con show” to get the one use by your linux box
sudo nmcli con add ifname br0 type bridge con-name br0
sudo nmcli con add type bridge-slave ifname enp2s0 master br0
sudo nmcli con down "Wired connection 1"; sudo nmcli con up br0
Download Home Assistant qcow2 image.
extract, use gunzip -k so if things goes wrong, you can extra a new image
The trick is --boot uefi to setup UEFI boot and --os-variant=debian9 to make use of virtio driver for disk and network for less resource usage. Adjust cpus and memory to your own need.
I downloaded the qcow2 image (no longer showing as beta) for 111.4 and spun it up with virtual-manager. So far have not had any problems, but I’m not doing much with it at the moment…just wanted to try it out.