Mac OS 10.14 Mojave - VMware 15 DIY Guide (no 3rd party images)
Hi! I usually don't fiddle much with Mac OS but I always like to have a Mac virtual machine ready on my Windows Laptop in case I need ...
Hi!
I usually don't fiddle much with Mac OS but I always like to have a Mac virtual machine ready on my Windows Laptop in case I need to demonstrate some procedure on a Mac. Since all "Mojave in VMware" guides that I could find all required to either download a 3rd party image or were incomplete, I thought I'd just share my successful installation procedure. The only thing you will need is an existing Mac OS system (virtual or real) to download the Mojave installer from Apple.
We are going to create our own installation iso and set up our own VM.
Creating the installation media image iso
- On your existing Mac system, download Mojave from the App Store (and cancel the installation process once it's finished downloading) or perhaps this tool may help you if that option falls flat for you for some reason.
- Create a virtual disk image
.dmg
to fit the installation media. This command will do the trick:hdiutil create -o /tmp/Mojave -size 8000m -layout SPUD -fs HFS+J
- Mount it using this command:
hdiutil attach /tmp/Mojave.dmg -noverify -mountpoint /Volumes/install_build
- Step 5 failed for me on the first attempt and would destroy the integrity of the image. A random fix I found was to open the finder and rename the mounted volume from "Untitled" to something else, e.g. "Mojave".
- Use the
createinstallmedia
tool that is packed in the Mojave installer that you downloaded from the AppStore to write the Mojave Installer to the virtual disk image we just created. remember to use sudo!:sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/Mojave
Note that this is just the command template and that the Mojave Installer may be named slightly different and that you have to replaceMojave
in the very end with whatever the virtual disk volume is called.ls /Volumes
may help here. - Convert the
.dmg
to a.iso
by running:hdiutil convert /tmp/Mojave.dmg -format UDTO -o ~/Desktop/Mojave
- Give the iso the proper extension by removing
.cdr
from the name. (by hand or using the command:mv ~/Desktop/Mojave.iso.cdr ~/Desktop/Mojave.iso
. You now have the final installation image on your desktop. Copy it to the machine running VMware.
Creating the virtual machine inside VMware
- Update to a VMware version that supports Mojave (I don't know which version that is, 15 definitely works).
- If you haven't already, unlock VMware on Windows to support Mac OS clients using this tool by DrDonk / Dave Parsons. Note the "Releases" button in the top middle.
- Create a new virtual machine saying "install later", Mac OS Operating System and something like a Quadcore CPU, >= 4GB RAM and >= 40 GB SCSI/SATA HDD.
- After the machine is set up, go to the VM setting and enable "Virtualize Intel VT-x/EPT or AMD-V/RVI" for the CPU.
- Right click on the VM and do "Open VM directory". Open the
.vmx
file and add these lines:smc.version = "0"
andahci.port.hotplug.enabled = FALSE
. The first line you are likely familiar with from older tutorials, the second line ensures that the HDD is correctly identified as an internal system drive (which may cause update problems otherwise). - Go to the VM settings again and mount the previously created iso.
- Power up the VM. The installer should show. Go to the disk doctor first and partition the virtual hard drive appropriately (Mac OS Extended, Journaled). Encrypted drives did not work for me.
- Close disk doctor and install Mojave normally.
That's it! Hopefully you got your Mojave VM running!
Credits
Proof
PS: I wrote that guide from memory, if you find errors please let me know
https://www.iatkos.in/2018/12/mac-os-1014-mojave-vmware-15-diy-guide.html
Hiç yorum yok:
Yorum Gönder