How to set-up a OSX Mojave VM in VMware Fusion

This is a short guide on how to set-up a Apple OSX Mojave machine in VMware fusion and how to create the iso file needed during installation.

Setting up the VM

First step: launch VMware Fusion, I used version 11.

Click on the “+” sign at the top of the screen to start the process of creating a new VM


Click on “+ New…”



Select “create a custom virtual machine” and click Continue.



Select “Apple OS X” and then select “macOS 10.14” and click Continue



Leave the setting on “Create a new virtual disk” and click continue



Either accept the default settings and click Finish or click on Customise Settings to change the specifications of the virtual machine. After the VM is created leave it for now, we first need to create a OSX Mojave ISO file.

Creating a Apple OSX Mojave .ISO file

You're going to need a Mac running OSX and a AppleID to complete this step.

First launch the App store and search for “Mojave”



If you’re already (like me) on OSX 10.14 it’s going to say “View” instead of download. Click on “VIEW” to continue.



Click on “Get” this will trigger the “Software Update” app on you Mac.



It is going to prompt asking you what to do, select Download and wait ±20 min.



After its finished download the set-up app going to autostart, leave this screen untouched. You can close it after we’re done creating the .iso file.


Open Terminal on your Mac and enter the command below

hdiutil create -o /tmp/Mojave.cdr -size 12000m -layout SPUD -fs HFS+J

This is going to create a temporary virtual disk file in you tmp directory. Once its done you can attach and mount the virtual disk

hdiutil attach /tmp/Mojave.cdr.dmg -noverify -mountpoint /Volumes/install_build

Now we’re ready to extract and create an installable image from the Mojave download. Enter the command shown below to extract an installable image onto the mounted virtual disk. The command needs to run elevated so it is going to prompt you for credentials. After you’ve entered your credentials it is going to ask you to confirm, confirm with “y” and “Enter”

sudo /Applications/Install\ macOS\ --volume /Volumes/install_build

Next we’re going to move the contents of the virtual disk into a .dmg file on your desktop

mv /tmp/Mojave.cdr.dmg ~/Desktop/InstallSystem.dmg

Now we’re almost ready. Next detach the virtual disk (installer)

hdiutil detach /Volumes/Install\ macOS\ Mojave

One of the last steps we have to take is to convert the newly created “InstallSystem.dmg” into a .iso file, enter the command below to achieve this.

hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/Mojave.iso

Lastly we need to change the filetype of the file “Mojave.iso.cdr” on your desktop. Select the file and hit enter, now rename the file to “Mojave.iso” it is going to prompt you if you are sure; select “Use .iso” and we’re done!


Boot and install OSX Mojave in your virtual machine

Now let’s go back to VMware fusion. In the virtual machine manager richt click the VM you’ve created earlier and click on settings.



GoTo “CD/DVD (SATA)” select “Connect CD/DVD Drive”, next GoTO the pull-down menu and browse to the .iso file we’ve created.


Now you’re all set, boot the machine and follow the Apple installation instructions to install Mojave.



Site Footer