In this article, we will install macOS 10.14 on ESXi. And then, we will fix the error of screen resolution by installing VMware Tools on the macOS virtual machine.
How to Install macOS Mojave 10.14 on ESXi 6.7 (6.7U2)
On June 4, 2018, Applereleased a new version of the MacOS operating system, 10.14, for developers. MacOS 10.14 was called Mojave. The full version of the macOS Mojave will probably be available for everyone in September or October.
What is VMware ESXi? VMware ESXi is a server virtualization solution. VMware ESXi is also known as VMware vSphere Hypervisor. VMware ESXi is a Hypervisor Type 1 virtualization solution.
You can setup and run Apple’s MacOS operating systems without having a Mac computer. In our previous articles, we installed MacOS with VMware Workstation, VirtualBox, and ESXi.
After downloading the necessary files for the setup of macOS Mojave 10.14 from the above links, upload these files to your vSphere server. If you do not know how to upload files to ESXi, you can browse How to Copy Files to ESXi Datastore.
After uploading the files on Datastore, you need to prepare for the virtual machine setup. First, enable SSHand connect to your VMware ESXi server using the Putty program.
After connecting with SSH, you need to setup VMware Unlockerto run macOS on VMware ESXi.
Follow the steps below to install macOS Mojave 10.14 on your server.
How to Install VMware Unlocker on VMware ESXi
Follow the steps below to setup VMware ESXi Unlocker.
The files in Datastore are as follows. Go to the next step to enable SSH on VMware ESXi.
On the ESXi 6.7 server, press F2, and then press Enter on the Troubleshoot Mode Options. Press Enter on the Enable SSH option to enable SSH.
After enabling SSH, download the Putty program from hereand open the program. To make an SSH connection to your ESXi server, type the server’s IP address and select SSH. Then click the Open button to connect.
After typing your username and password, press Enter.
After successfully connecting to the server, use the following commands to extract the zipped file to setup VMware Unlocker.
To setup VMware Unlocker on VMware ESXi, apply the following commands in the terminal.
chmod +x esxi-install.sh
After installing vSphere ESXi Unlocker, restart your server with Reboot command.
How to Create a New Virtual Machine for macOS
After installing vSphere ESXi Unlocker, follow the steps below to create and configure a new virtual machine.
After connecting to vSphere ESXi 6.7 via a web browser, click on Virtual Machines and then Create / Register VM.
In the Create New Virtual Machine window, select Create a new virtual machineand click on the Next button.
Configure macOSMojave1014 for the VM name and set Compatibility to ESXi 6.7, Guest OS Family setting to Mac OS and Guest OS Version to Apple macOS 10.14 (64-bit) and click Next to continue.
Select Datastore and click Next.
Configure the number of processors to 2 and the RAM size to 4 GB.
Configure the Network Adapter and then click Datastore ISO File to add the ISO file to the virtual machine.
Also, configure the Video Card option to Auto-detect settings.
Select the ISO file.
Finally, enable the Hardware Virtualization and Performance Counters options for the virtual machine’s processor configuration, and click Next.
The summary information of the 10.14 virtual machine to be installed on vSphere ESXi 6.7 is as follows. Click on the Finish button to continue the installation.
How to Install macOS in vSphere ESXi
After making the necessary configurations on vSphere ESXi 6.7, follow the steps below for installing macOS.
Run the virtual machine by clicking on the Power on button.
Wait for the installation to start.
Select your macOS system language and click Continue.
To make the disk configuration, select Disk Utility and click the Continue button.
Once you have selected the Virtual SATA Hard Drive Mediadisk, click the Erase button.
Once you have configured the disk name, format and Scheme settings, click the Erase button again.
After configuring the hard disk of macOS virtual machine, click on the Done button and then close the Disk Utility.
Select the Install macOS option and click the Continue button.
Click the Continue button to launch the MacOS installation on vSphere ESXi.
Select the disk to install macOS 10.14 and click the Install button.
Wait while it is are copying the necessary files for macOS Mojave installation.
Wait while it is installing macOS Mojave on vSphere Hypervisor. This may take some time…
After copying the installation files, the virtual machine will restart and you will see the following image. You need to configure the latest settings of the macOS Mojave.
Select the country you live in and click Continue.
Select your keyboard layout and click Continue.
To accept Apple’s Data & Privacy settings, click Continue directly.
If you are installing a clean macOS Mojave, you can continue with Don’t transfer any information now.
Click Sign Up Later and then Skip to sign in later on Apple.
Click the Agree button to accept the MacOS Mojave software license agreement.
Create a new user account for macOS Mojave operating system and click Continue.
Click on Continue to allow applications such as Apple’s Maps, Find My Mac and allow you to send the errors you have on your Mac to Apple.
The biggest feature of macOS Mojave 10.14 is the Dark theme. Select Dark appearance and click Continue.
Once you have successfully installed macOS Mojave on vSphere, you can check the version from the Apple Logo / About.
How to Install VMware Tools for macOS Mojave on vSphere
After installing macOS Mojave you need to install VMware Tools. With VM Tools, you can use the virtual machine in full-screen mode and get the virtual machine to run more efficiently.
To install VMware Tools on an macOS virtual machine, follow the steps below in order.
Close the virtual machine and click the Edit button as shown below.
Upload Darwin.iso file into Datastore and then select Darwin.iso file in the Datastore Browser window.
After adding the darwin.iso file to the macOS virtual machine, click the Save button to save the settings.
Now, run the Mojave virtual machine.
Double-click on the VM Tools installation image and in the window that opens, double-click Install VMware Tools to installation.
In the VM Tools Installer window, click the Continue button.
Click the Continue Installation button again.
Type your user account name and password, and then click the Install Software button.
Click the OK button to turn off the Not Optimized for VM Tools Macoption.
Click the Open Security Preferences button if you encounter System Extension Blocked alert.
Click the Allow button to allow the VM Tools setup file.
After setting up VM Tools for macOS, click the Restart button to restart the virtual machine.
After the macOS 10.14 virtual machine restarts, make the virtual machine full screen.
You can understand whether VM Tools is running on the full screen of the virtual machine.
In this article, we have installed macOS Mojave 10.14 on vSphere 6.7. Finally, we have resolved the screen resolution issue. Thanks for following us!