How to setup macOS Mojave in VMWare Player.
PLEASE NOTE: If your VMWare Player seems to hang on boot and does not even display an operating system splashscreen, consider starting it as root to see if that fixes the issue.
You only need to do this once. Skip if you already have a macOS Mojave iso image.
You need access to a Mac to succesfully build a macOS Mojave iso image file.
Login to your Mac, open the App Store and search for “Mojave”. Download and install “macOS Mojave”. After successfull installation you are ready to build the iso.
Open the terminal and execute the following commands:
# # PLEASE NOTE: You need at least 18 GB of free disk # space to sucessfully execute the commands below! # Create empty Volume which we'll write Mojave to hdiutil create -o /tmp/macOS-Mojave.cdr -size 8500m -layout SPUD -fs HFS+J # Mount the created Volume hdiutil attach /tmp/macOS-Mojave.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build # let the createinstallmedia executable of Mojave write to the mounted volume sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build # Unmount the auto mounted Install macOS Mojave Volume hdiutil detach /Volumes/Install\ macOS\ Mojave # Convert the *.dmg to iso file hdiutil convert /tmp/macOS-Mojave.cdr.dmg -format UDTO -o ~/Downloads/macOS-Mojave.iso # Remove the .cdr suffix of the iso file mv ~/Downloads/macOS-Mojave.iso.cdr ~/Downloads/macOS-Mojave.iso # Delete the no longer needed *.dmg rm /tmp/macOS-Mojave.cdr.dmg
In order to be able to successfully launch macOS in VMWare Player, we need to unlock the macOS features. To do so install the paolo-projects/unlocker:
lnx-install.shfile and make sure,
gettools.pyis called with
python3(at the bottom of the file):
chmod +x lnx-install.sh && sudo ./lnx-install.sh
VMWare Virtual SATA Hard Drive Media
Mac OS Extended (Journaled)