Run tar -xvf file.ova
in the directory of your file, and it wil be extracted
to a few different files. The only one we need is the .vmdk
.
brew install qemu utm
We need qemu
to convert the VM image, and utm
to actually run it.
qemu-img convert -O qcow2 file.vmdk file.qcow2
This may take on the order of a minute depending on your system and image size.
Open UTM, and press the + button to create a new VM.
- Choose Emulate Since we're going to be running a different architecture
- Choose Other as your OS, regardless of what you'll be running
- Give resources to this VM as appropriate (can be changed later) and generally continue through the menus.
- Once it's done, right-click it on the sidebar and click Edit.
- Scroll to the bottom of the sidebar, and add the
.qcow2
file we created as a new drive. - Delete the drive that was already present.
- In the QEMU settings menu:
- Disable UEFI Boot
- Enable RNG Device
- Enable Balloon Device
- Save all settings.
This (should) result in a VM that boots to OS... at least it works on my machine.
You should now be able to delete all the auxiliary files that were created from the above commands,
including the orignal .ova
and all files derived from it.