Mac Os X For Vmware Esxi

19.10.2020by

Create virtual camera. I have a Mac mini that hosts VMs of every OS X/macOS version from Leopard to Mojave using VMware ESXi 6.0. Because I’m already an old Dutch guy who hates change, I wanted to see if it was possible to get a Catalina VM running without having to upgrade to ESXi 6.5 or 6.7, which would require abandoning its .NET client that I still prefer.

  1. 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.
  2. Jul 24, 2020 On June 4, 2018, Apple released 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.
  3. Esxi install mac os x macOS vmware UPDATE 18/10/16: Changed to support 10.12 For one reason or another you need macOS on ESXi tells you that it isn't possible unless your host is a Mac itself.
  4. Follow these steps to create a virtual machine for macOS to be hosted by VMware ESXi running on a bare-metal server. The VMware ESXi hypervisor installed on a Mac. Operating system.

TL;DR You need to first create a new installation using VMware Fusion and provide an updated EFI.

To get a new version of macOS running in a VM, one could:

  1. upgrade an existing VM from an earlier version,
  2. create an installation from scratch by booting a new VM off of installation media, or
  3. migrate a virtual disk containing an installation created by another program.

I have not tried the first option. If you have a Mojave VM already running, it might actually work to clone and modify it as described below before running the upgrade.

Jun 24, 2020 VMware ESXi is a great option to get the most out of a single server at MacStadium as it’s the only enterprise option available for virtualizing OS X, Windows, and Linux on one machine. You’re probably using MacStadium because you personally use a Mac (let’s call it a MacBook Pro) for day-to-day work and recognize the potential of a.

First attempt using an ISO

Installing macOS to a freshly-created VM within ESXi requires converting the macOS installer application to a bootable ISO file. This procedure is already well-documentedelsewhere since Apple provides a createinstallmedia tool within the installer app itself.

I had no problems creating an ISO as described, but it refused to finish the boot process when attached to a new VM in ESXi—it would always throw the “unbootable volume” symbol at around the 60% mark—despite working in VMware Fusion. I tested ISOs created from the macOS 10.15.1 (15.1.03) installer under 10.11 and 10.13, but both behaved the same way; the workarounds described in this post seem not to work for ESXi 6.0.

Second attempt using Fusion

The latest version of VMware Fusion (11.5) supports macOS Catalina, so you can use it to create a new VM that boots directly from the installer app. Older versions will need to use the workarounds describedhere. I’m still on Fusion 8.5.10, but following the steps in the linked posts got me a working Catalina VM. (One customization I did make was to boost the disk size to 48GB before running the installer, mostly because Xcode will want there to be a lot of free space available before it’ll install.)

Next, create a new VM within VMware ESXi using the .NET client. (I haven’t fully tested whether using the HTML5 client makes a difference, but this was what worked for me.) These were the modifications I made during setup:

  • Configuration: Custom
  • Name: 10.15 Catalina
  • Virtual Machine Version: 9 (ESXi 5.1 and later)
    • This is the minimum version required for 10.13 and later, in my experience.
  • Guest Operating System: Other > Apple Mac OS X 10.8 (64-bit)
  • CPUs: 2 cores
  • Disk: Do not create a disk

This gives you a VM in need of a disk and a bit of modification.

Migrate the disk

To get the virtual disk from Fusion into ESXi, use scp to copy the VMDK files from your Mac to the server. (Be sure to enable SSH on your ESXi server, and shut down the source VM first!)

Canon mf 220 driver for windows 10

Then SSH into the server and use vmkfstools to convert the VMDK to an ESXi-friendly format and a matching filename, located within the VM’s directory:

You should now have a tiny “10.15 Catalina.vmdk” description file and giant “10.15 Catalina-flat.vmdk” data file in the current directory. Use the ESXi client’s VM editor to add the disk.

Replace the firmware

If you try to boot the VM now, it may freeze during the boot process, or fail to boot at all. This is because the EFI firmware provided by ESXi doesn’t understand the APFS disk format. This we know thanks to this fantastic post that describes how to modify and insert a firmware file into an existing VM, and even provides the modified firmware to save us all the trouble. That version works for 10.13 and 10.14 VMs, but did not for 10.15. Fortunately, all one needs to do is create a new firmware from more up-to-date sources, listed here:

  • The latest version of VMware Workstation Pro - I used v15.5.1
  • The APFS UEFI Driver extract - derived from macOS Mojave
  • UEFITool, a tool for editing UEFI BIOS - download the latest non-_NE_ release, which retains the ability to make firmware modifications
  • FFS to convert the APFS driver to UEFI module - unchanged

On Windows 7 or later, grab the EFI64.ROM file from an installation of VMware Workstation and modify it according to the above post. Or, just download the version I made: efi64_apfs-2019.rom

Upload the new efi64_apfs-2019.rom file to your VM directory on the server, then SSH into the server again and use a text editor to open the VMX file. Below the firmware = 'efi' line, add this:

Save and close the file and start up the VM. If all went well, you should have a macOS Catalina VM running under VMware ESXi 6.0!

on VMware ESXi 6.7 U2


** UPDATE 04/15/2020**
Seems you need to start at Mojave to be able to download the full Catalina package from the App Store. I started from Mojave so I never ran into the issues found in the comments. Check the comments for what Adam had to say..
** UPDATE 10/17/2019**
After applying the first update, the VM was rendered un-bootable again. That is the same crash that is originally experienced. SEE Boot Work Around at the bottom.
This exercise was to get a running MacOS Catalina VM instance running on VMware. I first wrote this for Catalina Beta but afte rthe official release, a couple things changed. So now it is how to install Catalina on ESXi 6.7.
I am using a 2013 Mac Pro with VMWare 6.7 U2 installed. I have High Sierra and Mojave VMs running on the host. Running VMs on VMware is something I've done for a few years.
A lot has changed in Catalina. Admittedly, I am not a MacOS expert. I'm not particularly good a Mac user either. So, I can't speak to the changes only that it is not currently (Oct 1, 2019) frienld to install on VMware ESXi. Catalina runs fine once you get a working VM though.

The MacOS Part

As of this writing (10/10/2019), You cannot upgrade and existing VM running High Sierra or Mojave. At least, I could not successfully upgrade and boot to Catalina.

If at first You Don't Succeed..

Note: You need to start at Mojave to upgrade to download the fill Catalina package.
I started with trying to upgrade a Mojave VM to Catalina. I just downloaded Catalina from the Apple Store (Search: macos catalina).
I followed the prompts and downloaded the Catalina installation image. I ran though the installation process which seemed to go pretty well. That is until it booted from the upgraded image. Then, it crashed. You can't see the crash, you just has an frozen Apple logo.

To see what is happening, reboot the VM and hold down the Windows Key + v for Verbose mode and see the boot attempt and the kernel panic. Changing VMware setting had no affect. After a couple hours, I gave up.

Try Something Else.. And It Worked!

My next tack was to boot from a Catalina ISO. First, I had to create one. I'd done this before on Mojave so it wasn't all unfamiliar. The steps are below. I am not sure where they came from.
First, I had to boot back to Mojave. I had found by rebooting the VM to the Boot Manager settings (you can set this in the VM settings or press escape before the OS loads in a VM console) and Selecting the EFI VMware Virtual SATA Hard Drive (0,0) option (not Mac OS X), that boots to my original Mojave image.
To start from scratch on a Mojave instance, download Catalina from the app store (Search: macos catalina). Just don't run the installer. You need the app image to create the ISO.
Once Mojave loaded, to build the ISO file, I start by making the virtual disk:
hdiutil create -o /tmp/catalina -size 8000m -layout SPUD -fs HFS+J
Then, I mount it to I can copy the installer to it
hdiutil attach /tmp/catalina.dmg -noverify -mountpoint /Volumes/install_build
Now I copy the installer to the mounted image
sudo /Applications/Install macOS Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build
The image is automatically mounted and is on your desktop. Select it and un-mount the image.
Now convert the image to an ISO file. You can put the file anywhere but I used ~/Downloads for simplicity
hdiutil convert /tmp/catalina.dmg -format UDTO -o ~/Downloads/catalina
Now rename the file from catalina.cdr to catalina.iso
mv ~/Downloads/catalina.cdr ~/Downloads/catalina.iso
You can delete /tmp/catalina.dmg.
Mac
Copy the ISO to your PC or where ever you want to attach it to the VM via a console session. I use WinSCP to copy to my PC.

The VMware Part

I created a blank VM with the following settings:
These are important. Just follow my lead here.
Guest OS Version: Apple macOS 10.14 64-bit
4GB Memory
The rest is default

Once the VM is saved, edit the settings and change to
Guest OS: Windows
Guest OS Version: Windows 10 64-bit
Changed to Windows 10

Next..
Open a Remote Console (VMRC)
Click VMRC --> Removeable Devices --> CD/DVD --> Connect to Disk Image File
Navigate to the catalina.iso file you saved where ever, Click Open
Attach ISO
Now ALT+CTRL+Insert in the VM to reboot it. It will boot from the ISO automatically. If not select the SATA CDROM frm the EFI menu. Note, sometimes it took several reboots for it to successfully boot from the ISO. usually, just one.

Once the installer image loads, use the disk tool to erase the VMware virtual disk (100GB in my case)
Use the default erase options (Note: Your keyboard doesn't work so just accept 'Untitled')



Next, choose to install MacOS
Follow the install steps and install Catalina

Once the install finishes, it will reboot to the OS. Make sure you detach the ISO so you don't boot to the installer again.
Reset the VM
The VM should boot to the image and continue installing Catalina. When it finishes (10 or so minutes) it will reboot.


After the reboot, it will freeze on the blank Apple logo or unsuccessfully load MacOS X. Don't fret. We're OK.
Power off the VM
Edit the VM setting and change the OS values.
Guest OS Version: Apple macOS 10.14 64-bit

Power on the VM and it will boot to and load Catalina.
Once you go through the setup steps and Catalina is ready to go.

Good luck on your adventure!

Added 10/17/2019

Install Mac Os X Vmware

After applying the update, the VM was no longer booting. Same cast at boot with the Apple Logo and no progress.
the work around is to change the boot order in EFI boot settings to boot to SATA Hard Drive 0.0
You need to enter EFI boot configuration for the VM. You can hit escape a the VMware logo or go to the VM settings and set to boor to EFI next boot. Boot/reboot to get the EFI menu

Enter Setup
Configure Boot Options
Change Boot Order
Press Enter then change the boot order in the pop up window using + and - keys. Press Escape when done editing.
Move EFI Virtual SATA Hard Drive (0.0) to the Top
You can see I change the overall boot order to:
Hard Drive
CDROM
Mac OS X

Mac Os X Vmware Image


Press Enter to Commit changes and exit

Esxi Os X






Mac Os X For Vmware Esxi Usb








Comments are closed.