So just picked up raspberry pi and installed esxi-arm on it.
Is there an easy way to emulate an SD card with an .img written to it in the virtual machines?
I'd like to run Hassos natively. Hass.io provides an .img file. The other installs are running it under a docker install, not native.
I've tried mounting a vmdk disk in a running raspbian install, then using
dd if=image.img of=/dev/sdb
and it writes the image to the disk, but from there i can't seem to make it boot.
I've tried running the resulting disk as ide and scsi.
as an IDE, the machine won't even start.
as a scsi disk, the machine doesn't recognize the boot information.
i think i get closest using qemu-img to convert the disk to vmdk
The results in an error 2 invalid disk type
using vmkfstools -i qemuconverted.vmdk vmwarenative
which converts it from a workstation vmdk to an esxi vmdk
there is a method for taking the the raspian OS image and adding grub to it using a debian-netboot ISO in rescue mode, but this doesn't work for the hassio disk. (to wit, i can mount the above disk, even see some files on it but i can't add grub to it)
It looks like i have the disk, i just want the virtual machine to recognize that disk as being in the sdcard slot so it will boot.
ideally, ESXI-arm would allow us to add an "SDCARD" device that takes an img as the value.