Based on William Lam’s guide. Link :https://www.virtuallyghetto.com/2020/10/how-to-run-raspberry-pi-os-as-a-vm-on-esxi-arm.html DietPi DietPi is a Debian based Linux image. It is designed for low compute Single Board PCs. It optimized for miniture RAM and CPU resources. I highly recommend you check it out. https://dietpi.com/
ESXi on ARM ESXI on ARM is a VMware Fling built to run on 64-Bit computers. One of the most popular is the Raspberry Pi 4. Blog Post: https://blogs.vmware.com/vsphere/2020/10/announcing-the-esxi-arm-fling.html
The first step we need to do is use a Debian based machine to use QEMU Utilities. This can be on any machine but for these steps I used a Debian machine. SSH into the machine and run the below commands.
sudo apt-get -y install qemu unzip wget qemu-utils p7zip p7zip-full
qemu-img convert -f raw DietPi_RPi-ARMv8-Buster.img -O vmdk DietPi_RPi-ARMv8-Buster.vmdk_
Now we need to move the file to our VMware ESXi datastore. You can choose different ways to do this but I chose to SCP to my local machine, then to upload it. As such: scp email@example.com:/home/DietPi_RPi-ARMv8-Buster.vmdk_ /Users/andrew
Once the files is on a datastore, ssh into a ESXi host and then run the vmfstools on the vmdk. As such:
- vmkfstools -i /vmfs/volumes/NAS-02-HD/DietPi_RPi-ARMv8-Buster.vmdk_ -d thin Dietpi-arm64.vmdk
Now you can delete the old vmdk.
Now you can create new VM on the Raspberry Pi. Make sure you set the VM as a ESXi 7 Hardware level and as a Debian 10 VM.
Esxi 7 Debian 10
That is all for part 1. I will be sure to post part 2 shortly.