Skip to content

Instantly share code, notes, and snippets.

@mohamedaboelmagd
Created September 10, 2020 08:51
Show Gist options
  • Save mohamedaboelmagd/c9bf55b629ddadb52f0b35378c2c4083 to your computer and use it in GitHub Desktop.
Save mohamedaboelmagd/c9bf55b629ddadb52f0b35378c2c4083 to your computer and use it in GitHub Desktop.
convert vmdk to iso
This was easy because I’d installed QEMU earlier on my system via Homebrew, so it was easy to convert the VMDK (the VMware disk image) to a RAW image image:
> qemu-img convert -f vmdk puredarwinxmas.vmdk pd.raw
This captures the contents of the VMware image into a raw image in some (unbeknownst to me) format. You can then write this to an ISO file:
> dd if=pd.raw of=pd.iso
That’s it. You can then mount this ISO, put it up for download, or whatever. This shouldn’t be limited to PureDarwin, and should work for most VMware disk images as long as it is stored as a VMDK file.
@tawfik44
Copy link

Tawfik ñññnnnnnnnnnnnnnnnnnnnnnnnnnnmmllkvvv

@tawfik44
Copy link

Ýhhhhhjjjhggxvbu

@tawfik44
Copy link

7cutr6

@elmazzun
Copy link

Hi
This does not work for me.
I created the ISO starting from a cloned VMDK and put the ISO in VirtualBox (as suggested in https://www.edoardovignati.it/how-to-import-iso-into-virtualbox/) but VBox returns me
FATAL: No bootable medium found! System halted.
Any tips?

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