In this guide, we will install macOS Mojave 10.14 on VMware ESXi 6.7. Next, we will install VMware Tools on the macOS virtual machine to fix the screen resolution issue.

Installing macOS Mojave 10.14 on ESXi 6.7 (6.7U2)
Apple released macOS 10.14 for developers on June 4, 2018. Also, the firm named macOS 10.14 Mojave. Therefore, users will likely download the full build in September or October.
Let us briefly answer what VMware ESXi is: It is a server virtualization tool. Additionally, tech experts call this platform VMware vSphere Hypervisor. In short, VMware ESXi is a Type 1 hypervisor virtualization system.
Testing old builds helps you grasp system compatibility. Above all, setting up a High Sierra virtual environment on ESXi makes the Mojave process much easier. In fact, I advise you to review those older steps. Through varied Apple builds, you will clearly see your hardware limits.
In this post, we will install macOS Mojave 10.14 step by step on ESXi. For context, VMware released ESXi 6.7 on April 17, 2018. However, if your current setup runs version 6.5, you must upgrade your system. In that case, you can update your setup by reading our ESXi Update guide.
How Do You Install macOS Mojave 10.14 on vSphere Hypervisor ESXi 6.7?
After you finish the ESXi setup, you must obtain a few key files for macOS Mojave. First of all, download the ISO file, VM Unlocker, and VMware Tools to your PC.
Once you obtain those files, upload them to your VMware ESXi 6.7 server. However, do not worry if you do not know how to send files to ESXi. You can check our Adding Files to VMware ESXi Datastore post.
After placing the files on the Datastore, prepare for the virtual machine setup. First, turn on SSH on VMware ESXi. Next, connect to your ESXi server with PuTTY.
Once you establish the SSH connection, you must install VMware Unlocker to run macOS on VMware ESXi.
Now, follow the steps below to install macOS Mojave 10.14 on vSphere ESXi 6.7.
Installing Unlocker on VMware ESXi
Follow the steps below to install VMware ESXi Unlocker.
Step 1
You can see the files inside the VMware ESXi Datastore below. After that, move to the next step to turn on SSH on VMware ESXi.

Step 2
Press the F2 key on the VMware ESXi 6.7 server. Then, press Enter on Troubleshoot Mode Options. Finally, press Enter on Enable SSH to turn on SSH.

Step 3
Once you enable SSH, download PuTTY from here to your PC and open it. Afterward, type the IP address of your vSphere ESXi server and select SSH to connect to it. Lastly, click Open to start the connection.

Step 4
Now, type your username and password, and then press Enter.

Step 5
Once you connect to the vSphere ESXi 6.7 server, move on to the Unlocker setup. From there, extract the zip file with these commands to install macOS Mojave 10.14 on ESXi.
cd vmfs
cd volumes
cd datastore
unzip VMwareUnlocker2.1.1forESXi6.7.zip

Step 6
Here, run the commands below in the terminal to install vSphere Unlocker on VMware ESXi.
cd esxi
chmod +x esxi-install.sh
./esxi-install.sh
reboot

Step 7
Afterward, restart your server with the reboot command once you install VMware ESXi Unlocker.

Creating a New Virtual Machine for macOS Mojave on vSphere
Once you install vSphere ESXi Unlocker, you must create a new virtual machine. To do so, follow the steps below in order.
Picking the right virtual hardware settings from the start sets system stability. Therefore, do not take this part lightly; I lost considerable time due to the wrong disk controller. Additionally, the right ESXi virtual machine configuration takes just five minutes.
Step 1
Connect to the VMware ESXi 6.7 interface in a web browser. After that, click Virtual Machines and Create / Register VM.

Step 2
In the new virtual machine window, select Create a new virtual machine. Then, click the Next button.

Step 3
Type macOSMojave1014 as the virtual machine name. Furthermore, set Compatibility to ESXi 6.7 and Guest OS Family to Mac OS. Finally, set Guest OS Version to Apple macOS 10.14 (64-bit) and click Next.

Step 4
At this point, select the Datastore for your installation and click Next.

Step 5
In addition, set the CPU count to 2 and RAM size to 4 GB for macOS on vSphere.

Step 6
First of all, configure the Network Adapter settings. Then, click Datastore ISO File to attach the ISO file.
Moreover, set Video Card to Auto-detect settings.

Step 7
From here, select the Mojave ISO file.

Step 8
Finally, turn on Hardware Virtualization and Performance Counters for the CPU settings. Then, click the Next button.

Step 9
You can view the summary of the macOS 10.14 virtual machine for VMware ESXi 6.7 below. Then, click Finish to go on with the setup.

Installing macOS Mojave 10.14 Step by Step
You have finished the needed configuration on VMware vSphere 6.7. At this point, follow the steps below for a step-by-step macOS Mojave installation.
Step 1
To start, click the Power on button to boot the virtual machine.

Step 2
Wait while the macOS setup starts.

Step 3
From there, select your macOS system language and click Continue.

Step 4
In addition, choose Disk Utility and click Continue to configure the Apple system disk.

Step 5
Once ready, select the Virtual SATA Hard Drive Media disk and click the Erase button.

Step 6
From here, type a disk name and click Erase again.

Step 7
Once you format the macOS Mojave virtual machine disk, click Done. As a result, you can now close Disk Utility.

Step 8
Next, select Install macOS and click Continue.

Step 9
Click Continue to start the macOS Mojave setup on vSphere.

Step 10
Here, choose the target disk for macOS Mojave 10.14 and click Install.

Step 11
Wait while the system copies the needed files for macOS Mojave.

Step 12
Wait as the wizard installs macOS Mojave on VMware vSphere Hypervisor 6.7. Also, this step may take some time.

Configuring macOS Mojave Initial Setup and User Settings
Step 1
Once the system copies the setup files, the virtual machine reboots. Soon, you see the screen below. At this stage, you must configure the final settings for Mojave.
Select your country and click Continue.

Step 2
Next, choose your keyboard layout and click Continue.

Step 3
Click Continue to accept Apple’s Data & Privacy terms.

Step 4
Moreover, since you are performing a clean installation, select Don’t transfer any information now.

Step 5
Next, click Sign Up Later and then Skip to sign in to your Apple account later.

Step 6
Furthermore, click Agree to accept the macOS Mojave software license agreement.

Step 7
Next, create a new user account for macOS Mojave and click Continue.

Step 8
Allow apps like Maps and Find My Mac. Then, click Continue to approve sending error reports to Apple.

Step 9
Dark mode is the top new feature in macOS Mojave 10.14. Therefore, select the Dark look and click Continue.

Step 10
Lastly, once you finish the macOS Mojave setup, check your version under the Apple Logo / About menu.

Installing VMware Tools for macOS Mojave
After setting up macOS Mojave, you must install VMware Tools. As a result, you can run the virtual machine in full-screen mode. Best of all, you get much better performance from the system.
To start, follow the steps below to install VMware Tools on the virtual machine.
Step 1
First, shut down the virtual machine and click Edit as you see below.

Step 2
Upload the darwin.iso file you saved on your PC to the Datastore. Once the upload is complete, select that file from the Datastore Browser window.

Step 3
With that done, attach darwin.iso to the Mojave virtual machine and click Save to keep your settings.

Step 4
Once ready, boot up the Mojave virtual machine.

Step 5
Open the VMware Tools setup image with a double-click. Then, double-click the Install VMware Tools icon in the new window to start setup.

Step 6
At this stage, click Continue in the VMware Tools Installer window to move on.

Step 7
Once again, click Continue Installation.

Step 8
Type your user account name and password, and then click Install Software.

Step 9
Click OK to close the VMware Tools optimization warning.

Step 10
If the System Extension Blocked alert appears, click Open Security Preferences.

Step 11
To let the VMware Tools setup file run, click Allow.

Step 12
Once the installation finishes, click Restart to reboot the virtual machine.

Step 13
At this stage, switch the Mojave 10.14 virtual machine to full screen once it boots back up.

Step 14
You can tell if VMware Tools works by checking whether the virtual machine fills the entire screen.

ESXi & macOS FAQ
What Are the Minimum CPU and RAM Specs for a macOS Mojave Virtual Machine on ESXi 6.7?
Must You Reboot the ESXi Server After Running the Unlocker Tool?
./esxi-install.sh, system files change. Even so, those edits do not hit live memory right away.reboot command, the macOS option appears in vSphere, yet you hit a black screen when starting the VM. Anyone who skips the reboot step runs into the same wall.vmware -v to check the version, and confirm Unlocker works. This quick check saves you hours.Why Does the Virtual Disk Look Gray During macOS Mojave Setup, and How Do You Fix It?
disk.EnableUUID setting. Moreover, you see this issue if you format the drive with an incorrect scheme instead of APFS.disk.EnableUUID line and set its value to TRUE.smc.version = "0" to the VMX file. That line bypasses Apple’s SMC check. Additionally, it helps the disk controller run with the right module. Then, save your changes and reboot the VM; the drive now responds to Erase.What Should You Do If Screen Resolution Stays Stuck at 1024×768 After Installing VMware Tools?
darwin.iso build. For that reason, use a 10.14-ready darwin.iso file for Mojave. After setup, power off the VM fully, as a quick restart is not sufficient.Automatically adjust user interface size in the virtual machine box. In fact, that option locks the macOS scaling engine even when VMware Tools is running.sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool true and run reboot. That command unlocks the hidden resolution list. Interestingly, System Preferences > Displays now shows your real monitor sizes.Which Network Adapter Should You Pick for a Mojave Virtual Machine on ESXi?
e1000 and vmxnet3. Right out of the box, e1000 works without extra drivers because it mimics the Intel 82545EM. Even so, its speed stays average.vmxnet3 is VMware’s own paravirtualized adapter. It gives you faster data flow with lower CPU load. However, you cannot use vmxnet3 before you install VMware Tools. Surprisingly, you see the network icon stay “unplugged.”e1000 for the initial installation. Once you install VMware Tools, shut down the VM and switch the adapter to vmxnet3. That way, you avoid network drops during setup and get top speed afterward.Your macOS Mojave VM Loops Back to the Setup Screen on Every Boot; How Do You Break It?
bios.bootOrder line inside your VMX file. If it lists cdrom, change it to hdd. Sometimes, the efi.bootOrder flag that the Unlocker script left behind gets in the way; delete that line.How Do You Fix the “unzip: command not found” Error When Installing Unlocker Over SSH?
unzip tool. Therefore, you hit an error even if you copy the exact command from this guide. Luckily, the fix is easy: Extract the archive with ESXi’s own tar command.VMwareUnlocker2.1.1forESXi6.7.zip file in your Datastore to unlocker.tgz. Next, run tar xzvf unlocker.tgz over SSH. Indeed, that command comes built into BusyBox and unpacks the zip cleanly.unzip in ESXi is not a bug, but a design choice.Does Running Mojave on Non-Apple Server Hardware Cause Licensing Issues?
What Is the Difference Between ESXi 6.7 and 6.5 for Mojave Compatibility?
VMwareUnlocker2.1.1 runs, yet some sub-builds lack proper SMC emulation. Consequently, you hit the “still waiting for root device” error mid-setup. Luckily, VMware fixed most of this issue in release 6.7.Which VMX Settings Should You Change to Boost macOS Mojave Virtual Machine Speed?
smc.version = "0" as your first line. In short, that line turns off the Apple SMC check and cuts down kernel stalls.MemTrimRate = "0" and sched.mem.pshare.enable = "FALSE". With that, ESXi stops trimming VM RAM in the background. Similarly, prefvmx.useRecommendedLockedMemSize = "TRUE" locks memory pages and lowers lag.mks.enable3d = "FALSE" removes the black screen bug. It also keeps Mojave from falling back to software graphics. Just as important, experts have tested these tweaks many times in business labs.Conclusion: Your Virtual Mac Setup Is Ready—Next Steps and Tips
You just set up a stable macOS Mojave system on your ESXi server. First, you unlocked the host with Unlocker, and then you configured all virtual hardware settings. To sum up, VMware Tools gave you full-screen mode and smooth graphics.
Overall, watch a few details from here on to keep the system running well long term. For example, raise your RAM and CPU limits if you plan to run Xcode or heavy development tools.
Beyond that, switch the network card to vmxnet3 after setup to boost speed. Additionally, take a snapshot of your virtual machine before any major Apple update. That way, you can roll back to a working state in minutes if a boot error hits.
Seeing issues like a black screen or gray disk during setup is quite normal. In that case, apply the VMX settings in the FAQ above to fix the issue quickly.
Feel free to share your results and hardware notes with us in the comments. In closing, thank you for following along, and we wish you great work ahead!

41 People Shared Their Experience
Thanks for your work.
Unfortunately I can’t execute the esxi-install.sh script as root “operation not permitted”.
Please advise.
Even by executing the commands manually I can’t install MacOS. It stucks in a reboot loop.
THANKS IN ADVANCE!
I had the same issue, it turns out secure boot has to be disabled in the bios before attempting the install, you can re-enable secure boot after the unlocker install. this info is not found anywhere online!
Thanks for the tip – I was able to install unlocker by disabling secure boot, but mojave setup still keeps rebooting. Can you remember what else you did to get the install going?
What is your processor model?
It was my mistake actually – I installed unlocker, and the script finished correctly indicating that it had installed, but I found out the hard way that it was not.
In any case, there is a new unlocker script out now by DrDonk specific for esxi (link is https://github.com/DrDonk/esxi-unlocker) which installed correctly (you can verify that unlocker is installed by looking at boot.cfg file and verify that unlocker.tgz is included). It will also be displayed when esxi is booting (make sure UEFI safe boot is disabled).
All good now. Many thanks for your support.
Hello,
Fantastic article. I was able to get this working without any issues at all!
I do have a question though… In the past, with Unlocker, I’ve had to re-run the esxi-install.sh anytime I applied updates to my hosts. Is this still the case as far as you know?
Thanks!
Answered my own question after applying updates: Yes.
Hallo tolqabaqci,
at first, thank you very much for a lot of manuals you wrote.
Now my question – I am a little bit confused. I do understand, that I need the unlocker to install any macOS under VMware workstation – VMware workstation does not official support Apple OS. But I do not understand why I need an unlocker for VMware ESVi 6.x – I see “Mac OS” in “Select Guest OS Family” menu if I create new VM. I guessed ESVi supports native the Mac OS and it is not necessary to unlock it – am I wrong? Thank you.
There is a macOS option when creating a new virtual machine on ESXi, but the system will restart automatically when you try to install macOS. Therefore you will need to use macOS Unlocker.
Try to install macOS on ESXi without Unlocker and observe the result.
Thank you for the prompt answer. You are right, the system starts over and over. But I really don’t understand the vmware logic – one can select the macOS but can’t install it. On the VMware internet site the macOS is specified as a valid guest system for ESVi 6.x It is really strange.
You’re welcome.
To understand this, you need to try older versions of macOS on ESXi. I haven’t tried it before, but I’m going to look at it when it’s time.
It worked like a champ. THANKS mate.
Quick questions, how do I make the resolution of the monitor bigger? When I remote desktop into it I get this tiny little window to work with 🙁
Thanks again mate
Thank you, thank you for your comment.
Did you install VMware Tools after installing Mojave on ESXi?
Yes indeed VMware tools are installed Sir
In Virtual machine settings, make sure that you have Video Card: Auto-Detect Settings.
Thanks. Strange for my video card settings I only 2 options, default and custom settings. I don’t see the auto-detect for some reason. ??
Hello!
I’ve installed the unlocker and rebooted my ESXi 6.7 host but the MacOS VM does not get out of a boot loop. The VM reports some sort of panic and spits out a bunch of non-readable text. Have you ever come across this issue?
Thanks
Hello there.
The situation you encountered is very interesting, I have never encountered such an error.
In the ESXi Virtual Machine Creation window, you can try selecting the MacOS Sierra for the virtual machine.
Or try defining 2 or 4 processors to the macOS virtual machine.
Hiya! Thanks for the awesome guide. I am however stuck at installation, when booting for first time (with ISO loaded to boot from) after the bar has gone across I get the sto symbol and it won’t go any further. Any ideas? I’m running ESXi 6.7 on a Dell Poweredge R510 (Dual Xeon X5670).
Hiya! Thanks for the awesome guide. I am however stuck at installation, when booting for first time (with ISO loaded to boot from) after the bar has gone across I get the sto symbol and it won’t go any further. Any ideas? I’m running ESXi 6.7 on a Dell Poweredge R510 (Dual Xeon X5670).
***edit*** Fixed! It was my dodgy ISO, I installed from the USB I’d made instead.
Hello, I’ve installed the unlocker 2.1.1 and rebooted my ESXi 6.7.
Now i can not login to the host vm
This error:
503 service unavailable (failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE0x0000000ada09e790]_serverNamespace = / action = Allow _port = 8309 )
The instructions work fine, however it would fail with this error: “This copy of the Install macOS High Sierra application is damaged, and can’t be used to install macOS.” This error was on multiple .iso files that I downloaded from this article. Doing a Google search reveals that the issue is due to expired certificates.
(https://9to5mac.com/2019/10/24/macos-application-damaged/) Is there a way that the iso files can be downloaded again and provided for download with the new certificates?
Thank you.
I am getting this error when in install the macOS
“This copy of installed macOS Mojave is damaged and can’t be used to install macOS”
Could you please guide me about this error?
Turn off network, set esxi 6.7 to 10/10/2015. open teminal in macosx install input “date 1010101015″
>>> fixed ” this copy……
terminal 🙂
you’re a life saver!
This was a great article. I got it working on VM Workstation then ESXi 6.7 U3. Had to do unlocker AFTER all updates where completed though. Took about an hour and 20 min to install. But after that the boot time is about 3 min. I’m fine with both. There was nothing in the article on where to find the darwin.iso.
I found it here – softwareupdate.vmware.com->CDS->vmw-desktop->fusion->11.1.0->13668589->packages->”…darwin.zip.tar” unzip layers of zip file to get to iso and extract.
What I did differently was, I used the “removable drive” functionality in the VMware Remote Console to connect to the iso and it shows up on the desktop like any other iso; installed that way so I didn’t have to have the vm shutdown to gain access.
Saludos, gracias por compartir tus conocimientos, tengo un problema, ya instale el UnLocker, baje el ISO, cree la maquina virtual con los detalles explicados y al darle que arranque, aparece la Manzana y no hace anda mas … alguna idea ??
Gracias
¿Puedes intentar desactivar la función de virtualización de la CPU de la máquina virtual? Y asegúrese de que Unlocker haya instalado la versión 2.1.1.
Thx for the great Declaration.
Any Chance to get Catalina to work?
Thank you for your comment. Sorry, I haven’t tried macOS Catalina 🙁
just found this.. very good 🙂
but I’m stuck with the error “Mojave damaged’ etc…
Now the tip is to ‘turn of the network” and set the date.. I get that..
But can someone explain what is meant by this.. if I turn of the nw I can long longer access ESXi or get to the Mac installer / terminal ..
Confused..
@Jak error msg says iso expired, idea of this fix is to disable guest vm network and start vm, once on mojave setup screen you can run disk utility to format drive then run terminal to set macos system date back to 2015, this will allow you to proceed with the install.
i have install macos on esxi 6.7 ,
but iMessage not works
clover bootloader can not be install here
do you have solution?
I’ am getting an Error which says that the install is dameged and it can’t be install
Disable network connectivity to VM, set date on esxi to 10/10/2015 and try again… that worked for me.
Very good man! thank you very much!
Add, please about the set date to manual(10.10.2015 in ESXI)
the copy of the macOS Mojave application is damaged and cannot be used to install macOS.
What can cause this?
Is it serious you block copy on this page? Where are we, in the middle ages?
Sorry about that. Spammers are still very active today.
Hi @tolga,
I have followed your guide step by step but every time I try to start my VM on my ESXI 6.7 host it gets stuck on the Apple Logo. I am guessing it is because I have a ryzen processor in my host? your thoughts?
Is there any way to get this to work?