Note: Mac OS X 10.8 or greater is required to use the new Standalone VMRC. The release notes will be updated to reflect this requirement. There are currently two methods of launching a remote console to a Virtual Machine using the vSphere Web Client as seen in the screenshot below: Using HTML5 VMRC simply by clicking on the thumbnail preview. We all know that Mac OS is extremely popular with users. However, Mac OS can only be used with Mac machines. Now it’s easy to migrate Mac OS 10.12 into a virtual machine. Follow the simple steps to achieve it. VMware ESXi 6.0 doesn’t support OS X out of the box.
We all know VMWare start to supporting Mac OS X as VM on latest ESXi hypervisor releases. According to Apple licensing policies, VMware only supports the virtualization of Apple Mac OS X 10.10 (Yosemite) client or server, Apple Mac OS X 10.11 (El Capitan) client or server, Mac OS X 10.9 (Mavericks) client or server, Mac OS X 10.8 (Mountain Lion) client or server, Mac OS X 10.7 (Lion) client or server, 10.6 (Snow Leopard) server and 10.5 (Leopard) server.
The End User License Agreement (EULA) for Apple Mac OS X legally and explicitly binds the installation and running of the operating system to Apple-labeled computers only. Mac OS X 10.5 Leopard Server, 10.6 Snow Leopard Server, 10.7 Lion client or server, 10.8 Mountain Lion client or server and 10.9 Mavericks client or server are fully supported on VMware Fusion while running on supported Apple hardware.
In this HOWTO, provided the steps to create an Mac OS X 10.9 Mavericks as a VM in ESXi 6.0 Host for a test case scenario. Before deployment, you must read EULA for Apple Mac OS X license, given link at the end of this HOWTO.
8 Steps total
Step 1: Steps to do
1. VMware ESXi 6.0 doesn’t support OS X out of the box. So, the first thing you need to do is to customise the hypervisor layer by executing an Unlocker script by insanelymac.com. You will need to register on the site in order to download the Unlocker tool.
2.You need to enable SSH server service on your ESXi host. In order to do that, login to the host using VMware vSphere Client and navigate to Configuration->Security Profile. From here click on Properties in the upper right corner where it says Services. The dialog Services Properties should appear and from here you can click on SSH->Options and choose Start and Stop with host. Click Start and then close all the open dialogs.
3.Transfer the Unlocker-files to the host using any SFTP client. Make sure you extract the files somewhere on your client before transfer and connect to the ESXi host using the user root. Once connected navigate to /vmfs/volumes/datastore/, replacing datastore with your actual datastore name. Create a new folder (mkdir) called tools and transfer your unlockerXXX directory.
4.Now cd into the uploaded directory and ensure the ESXi scripts have execute permissions by running chmod +x esxi-install.sh. Now run ./esxi-install.sh in order to install the Unlocker.
5. Reboot ESXi host.
Step 2: Download and create the bootable OS X Sierra ISO
Grab the Sierra installer app from the Apple App Store. Note, you need a Genuine Mac machine in order to download and convert the Sierra installation disk. Once downloaded, minimize or close the installer.
Open the terminal and run the below command one after another.
# Mount the installer image
hdiutil attach /Applications/Install macOS Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
# Create the Sierra Blank ISO Image of 7316mb with a Single Partition – Apple Partition Map
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
# Mount the Sierra Blank ISO Image
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
# Restore the Base System into the Sierra Blank ISO Image
asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
# Remove Package link and replace with actual files
rm /Volumes/OS X Base System/System/Installation/Packages cp -rp /Volumes/install_app/Packages /Volumes/OS X Base System/System/Installation/
# Copy Sierra installer dependencies
cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS X Base System/BaseSystem.chunklist cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS X Base System/BaseSystem.dmg
# Unmount the installer image
hdiutil detach /Volumes/install_app
# Unmount the Sierra ISO Image
hdiutil detach /Volumes/OS X Base System/
Vsphere Client For Mac Os X 10.9
# Convert the Sierra ISO Image to ISO/CD master (Optional)
hdiutil convert /tmp/ElCapitan.cdr.dmg -format UDTO -o /tmp/ElCapitan.iso
# Detach the volumes
hdiutil detach /Volumes/install_app
hdiutil detach /Volumes/OS X Base System/
hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso
# Rename the Sierra ISO Image and move it to the desktop
mv /tmp/Sierra.iso.cdr ~/Desktop/Sierra.iso
Note : Once done it should have created a file called Sierra.iso on your desktop.
Step 3: Create a virtual Mac OS X VM
The next step should be fairly simple if you have used ESXi before. As usual open your datastore and transfer the iso to wherever you normally store your installation files.
1. Create a New VM
2.Select Typical and you should be able to select Other and then Apple Mac OS X 10.10 (64-bit). Complete the wizard, mount the ISO and install Mac OS X as usual.
Step 4: Mac OS X Installation steps - Language selection
Choose desired language once you see the welcome screen
Step 5: Mac OS X Installation step - Formatting the hard drive.
Also note that you must format the hard drive using the disk utility before it will be visible in the install wizard.
Step 6: Mac OS X Installation step - Choose Virtual disk and erase the partition
Choose Virtual disk and erase the partition
Step 7: Mac OS X Installation step - Choose Virtual disk and erase the partition 2
Give a name and click “Erase”.
Click “Continue” button on the next consecutive screen, choose the Virtual HDD which is created and proceed the installation with on-screen instructions
Step 8: Configure Mac OS X after install
It’s very important to install the VMware Tools as soon as possible after the install has finished. Without it Mac OS X might not awake from sleep and in general be very unreliable.
Very Important : I also recommend to turn off sleep and the screensaver in settings as these may cause issues.
Finally, reboot and start enjoying your virtual Mac on non-Apple hardware.
You may also wish to read the software license agreement for Mac OS Sierra provided in the References section.
As said, using Apple Mac OS X as a VM on vmware environment is subject to apple EULA. VMWare recommend to use VMWare fusion for installing Mac OS X 10.9 Mavericks.
References
- Apple EULA
- Installing OS X 10.9 Mavericks as a guest operating system in VMware Fusion (2056603)
- Virtualizing Apple Mac OS X (1000131)
3 Comments
- Anaheimthelaz Apr 25, 2017 at 03:30pm
Tried this - didn't work for me. Never made it to install screen. Did I miss anything that says this is for Apple hardware only? There's a ton of these guides out there that are generally the same - to my knowledge those that include the unlocker step are for non-Apple platforms.
- AnaheimMaster RX Sep 25, 2018 at 09:32pm
Hello, it worked for me. with the process I was able to create an ISO for Yosemite macOS. however it does not work for me to create an iso of macOS Mojave. you know if the creation process has changed or if it's just mojave can not be used with VM
- HabaneroGopal (Vembu) Sep 26, 2018 at 06:03am
Master RX
Yes, We tried with Yosemite and Sierra macOS only, since it was the latest that time. We have not tried with Mojave yet, and not sure process has changed.
In this article, we shared the VMware ESXi Unlocker download link, which allows you to install an Apple macOS systems on the vSphere Hypervisor server.
Download macOS Unlocker for vSphere ESXi 6.7
If you try to install a MacOS on VMware Workstation or VMware vSphere ESXi under normal conditions, you will get an error. By default, the MacOS virtual machine option is not active on VMware Workstation.
To install a MacOS operating system on the VM Workstation, VM Player Workstation Player, VM ESXi and even VM Fusion, you need to unlock the program.
You will need VMware Unlocker to install Apple MacOS X operating system on VM virtualization programs. With VM Unlocker (MacOS X Unlocker for VM) you can use MacOS on virtual machine without buying a MacBook or iMac.
What is VMware Unlocker?
This tool is an unlock patch software developed for Mac OS systems. In short, this tool allows you to emulate a Mac OS X system on a virtual machine.
In our previous articles, we installed High Sierra on VM Workstation and vSphere ESXi using this program. Mac OS High Sierra installation is available in the links below.
We used VMware Unlocker 2.1.1 in macOS High Sierra installation on the server and successfully installed MacOS system. However, the older version of this program did not work when configuring Apple operating system on vSphere 6.7!
So we have updated vSphere Unlocker for Hypervisor ESXi 6.7!
Download VMware Unlocker 2.1.1
Click on the button below to download the related tool to your computer. You can install an Apple Mac operating system with the vSphere 6.7 Unlocker you have downloaded to your computer.
How to Install macOS Using the Unlock Tool on vSphere
After downloading the macOS unlock tool for vSphere, copy this file onto your server and click on the image below to set up MacOS step by step on ESXi.
Final Word
In this article, vSphere 6.7 Unlocker 2.1.1 is required to run a MacOS on VM Hypervisor 6.7. Thanks for following us!
Vsphere For Mac Os X64
Related Articles
Vmware For Mac Os X Download
♦ Download macOS High Sierra 10.13.4 ISO
♦ How to Download vSphere Hypervisor 6.7 ISO
♦ How to Install VM Tools on VM ESXi 6.5
♦ How to Install VM Tools on macOS High Sierra
♦ How to Create Virtual Machine for macOS High Sierra