Skip to content

Instantly share code, notes, and snippets.

@ogerardin
Created July 25, 2023 14:18
Show Gist options
  • Save ogerardin/014aff71b7d7aacf4bbfb3b8bbc575b7 to your computer and use it in GitHub Desktop.
Save ogerardin/014aff71b7d7aacf4bbfb3b8bbc575b7 to your computer and use it in GitHub Desktop.
Convert VMware VM to UTM (Mac)
Export VM as OVF
/Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/ovftool VM.vmwarevm/VM.vmx .
Convert .vmdk to .qcow2
qemu-img convert -p -f vmdk -O qcow2 VM-disk1.vmdk VM-disk1.qcow2
Create custom VM in UTM matching VM hardware
Remove default disk
Add drive / import QCOW2 file (file is copied to default UTM VM folder)
Add CD/DVD drive
Startup VM
Install Guest tools
(Optional) move VM to other folder
Remove OVF and QCOW2 files created above
@stiig
Copy link

stiig commented Jul 15, 2025

awesome man!

@ogerardin
Copy link
Author

awesome man!

Glad it was useful :)

@stiig
Copy link

stiig commented Jul 30, 2025

unfortunately UTM is REALLY slow for x86, but I could move necessary data, thanks!

@ogerardin
Copy link
Author

unfortunately UTM is REALLY slow for x86, but I could move necessary data, thanks!

Yes on a Mac Silicon chip it is, I did it for the same reason as you: to recover some old stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment