Create macOS 10.14 (Mojave) VM

Create an Apple macOS 10.14 (Mojave) Vmware virtual machine

Author(s): Tamas Bures | Created: 19 March 2020 | Last modified: 09 December 2023
Tested on: -

Create macOS 10.14 (Mojave) VM

Prerequisite: You need a working Apple macOS to create one.

  1. Download Mojave installer from App Store.

  2. Create .dmg disk with Terminal.

     hdiutil create -o /tmp/mojave -size 7900m -volname mojave -layout SPUD -fs HFS+J
  3. Mount /tmp/mojave.dmg disk to your macOS.

     hdiutil attach /tmp/mojave.dmg -noverify -mountpoint /Volumes/mojave
  4. Create macOS Mojave Installer.

     sudo /Applications/Install\ macOS\ \ 
     --volume /Volumes/mojave --nointeraction
  5. Unmount disk.

     hdiutil detach /volumes/Install\ macOS\ mojave
  6. Convert /tmp/mojave.dmg Disk to .iso disk.

     hdiutil convert /tmp/mojave.dmg -format UDTO -o ~/Desktop/mojave.cdr
  7. Rename and move the image file to macOS Desktop.

     mv ~/Desktop/mojave.cdr ~/Desktop/mojave.iso