WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Apple / That's so cool! Running ESXi 5.0 & 5.1 on Apple Mac Mini

That's so cool! Running ESXi 5.0 & 5.1 on Apple Mac Mini

05.31.2012 by William Lam // 39 Comments

Those of you who follow me on twitter should know that I recently got my hands on an Apple Mac Mini Server (Thanks Randy K.) and are probably thinking I would install Apple OSX on the Mini. Nope! I am actually running vSphere ESXi 5.0 or 5.1 on the Mac Mini!

UPDATE (12/21): Yo no longer need to create a customized ESXi ISO for Apple Mac Mini, the necessary drivers are now included in the new ESXi 5.0 Update 2 and will work out of the box. Please take a look at this article for more details.

UPDATE (01/18): To run ESXi 5.1 on Mac Mini 5,1 or 5,3 please follow the same steps outlined below but for an ESXi 5.1 ISO image. If you are trying to run ESXi 5.0 or 5.1 on the new 2012 Apple Mac Mini 6,2 please refer to this blog post for the instructions.

Disclaimer: This is not officially supported by VMware. Use at your own risk.

Note: I did not have a spare monitor at home and luckily the Mac Mini has a DVI output which I was able to connect to my 46" TV. Nothing like ESXi on the big screen 🙂

Even though this is not officially supported by VMware, it is still a very cool solution and the Mac Mini is great form factor for a vSphere home lab. I also want to mention that this was only possible with the research from the folks over at Paraguin Consulting who initially blogged about the process needed to get ESXi 5 running on a Mac Mini. I would highly recommend you check out their blog post which provides additional details as well as a step by step installation guide including screenshots for each step.

I did not have access to an Apple Super Drive which is what the Paraguin folks used in their installation guide, as they thought formatting a USB key would have taken too long ... and who has a CD burner these days? 😉 There is also an additional step that is needed to get network connectivity which requires the user to manually install a network driver on the ESXi host.

I decided to go down the route of using a USB key to perform the installation and using a spare 1GB USB key, I created a custom ESXi installation that included the network driver which allows for network connectivity during and after the installation.

What you will need:

  • vSphere ESXi 5.0 Update 1 Offline Bundle  (You can also use ESXi 5.0)
  • Broadcom NetXtreme I Gigabit Ethernet Driver (tg3-3.120h.v50.2)
  • PowerCLI Image Builder (there are some other free tools that allows you to add drivers, but did not work well with UNetbootin)
  • UNetbootin

Step 1 - Extract the offline bundle "tg3-3.120h.v50.2-offline_bundle-547149.zip" from Broadcom zip file

Step 2 - Use Image Builder to add the Broadcom driver and create a custom ESXi 5 ISO (steps taken from this VMware KB article)

# Add the ESXi 5.0 Update 1 Offline Bundle

Add-EsxSoftwareDepot "C:\VMware-ESXi-5.0.0-623860-depot.zip"

# Add the Broadcom Offline VIB

Add-EsxSoftwareDepot "C:\tg3-3.120h.v50.2-offline_bundle-547149.zip"

# Create a new Image Profile (in example, I'm using the full version w/tools)

New-EsxImageProfile -CloneProfile "ESXi-5.0.0-623860-standard" -name "ESXi50u1-Custom"

# Add the broadcom driver to our Image Profile

Add-EsxSoftwarePackage -ImageProfile "ESXi50u1-Custom" -SoftwarePackage "net-tg3"

# Create an ISO from our custom Image Profile

Export-EsxImageProfile -ImageProfile "ESXi50u1-Custom" -ExportToISO -filepath C:\VMware-ESXi-5.0u1-Custom.iso

Step 3 - Plug in a USB key into your system and run UNetbootin which will take the custom ISO we just created and make it bootable on the USB key

Step 4 - Finally, power on your Mac Mini and plug in the USB key. You can either hold the "Alt/Option" key while the system is booting and select the EFI volume OR just plug the USB key and the ESXi installer should automatically start up.

After a few minutes, you should now have ESXi 5 running on your Mac Mini, here is my setup:

Note: If you wish to add a custom kickstart file so it automatically installs and configures the host, take a look at this blog post for the details. If you want the Mac Mini to automatically boot from USB without having to press the "Alt/Option" key after installation, you can set the default boot device by following this article here.

Since you are running ESXi on Apple hardware, you can also create Mac OSX Virtual Machines (10.5 Server and 10.6 Server) and with the latest release of vSphere 5.0 Update 1, OSX 10.7 (Lion) is now officially supported. To install OSX 10.7 as a VM, make sure you follow the instructions here.

Here is a screenshot of running OSX Lion 64bit as a VM running on ESXi 5 running on a Mac Mini 😀

If you are looking to refresh your vSphere home lab, definitely consider looking at the Mac Mini, which can get up to a max of 16GB of memory. Also if you are wondering if other people are doing this, I would recommend you check out Christopher Well's vSamarai blog here which details his experience using the Mac Mini as well as voting for his VMworld CFP which will also include topic about running ESXi on Mac Mini.

I want to thank Randy K. again for lending me the Mac Mini, you rock dude! Hopefully this will not be the last article about the Mac Mini 😉

Additional Resources:

  • Thunderbolt Ethernet Adapter in Apple Mac Mini on ESXi 5
  • When Can I Run Apple OSX on vSphere 5?

More from my site

  • Running ESXi 5.0 & 5.1 on 2012 Mac Mini 6,2
  • Thunderbolt Ethernet Adapter in Apple Mac Mini on ESXi 5
  • When Can I Run Apple OSX on vSphere 5?
  • Quick Tip - Cloning Mac OS X VMs with unique serial numbers in vCloud Director
  • How to change hardware serial number for Mac OS X Guest?

Categories // Apple, ESXi, Not Supported Tags // apple, ESXi 5.0, mac, mini, osx, vSphere 5.0

Comments

  1. *protectedJon Harris says

    05/31/2012 at 5:19 am

    This is pretty cool man. Good work. Going to have to check this out.

    Reply
  2. *protectedSantosh says

    06/01/2012 at 11:00 am

    William,

    That's really great stuff!! I would also like to check ESXi on Apple MAC mini.

    Cheers

    Reply
  3. *protectedAnonymous says

    06/01/2012 at 11:04 pm

    You made my day! Just what I was looking for 🙂

    Reply
    • *protectedAnonymous says

      06/29/2012 at 11:03 am

      Mine can only recognise 8GB, but I ha 16GB installed.

      Any Ideas.

      Thanks

      Reply
  4. *protectedAndy says

    07/24/2012 at 10:19 pm

    Did you use an i5 or an i7 Mac Mini?

    Reply
  5. *protectedAnonymous says

    08/13/2012 at 5:03 am

    It s so nice information. I m going to buy Macmini and SSD(for ESXi)!!

    Reply
  6. *protectedAnonymous says

    08/24/2012 at 9:45 am

    Hi,

    I have installed ESXi successfully on my mac mini server 5,3 ( intel graphic card ) and it’s going well.
    The only thing I noticed is that none of my guests have audio capability and the graphic card is so bad that the resolution permitted is 640×480 max.

    Have you noticed this too ?

    I guess it’s because of the apple hardware or maybe esxi is missing some drivers. I will run mostly linux machines on it and the only thing I am interested is to be able to ssh into them, but you know I was just wondering if
    maybe it’s something wrong with my setup.

    Thanks

    Reply
  7. *protectedAnonymous says

    09/01/2012 at 11:30 am

    Great article! What about the performance regarding the disks? Are the vms fast enough? Is your setup only a test or are you using this setup for productive work? Which vms and applications are you running?

    Reply
  8. *protectedAnonymous says

    10/07/2012 at 12:36 am

    esxi5.1 works well on Mac Mini 2010 (4,1) ( no usb issues) with a customised install using the TG3.3 updated broadcom driver.
    One problem, How can i tell the machine to boot from the usb by default, I cannot select the ESXI as a startup disk from the OSX control panel.
    2nd Has anyone successfully loaded Leopard 10.5 onto esxi5, Lion and mountain lion load fine, Leopard ends up giving me the circle with the horizontal slash halfway through boot up

    Reply
    • *protectedRichard Robbins says

      11/10/2012 at 2:08 pm

      I have a similar question. I've installed ESXi to the internal hard drive on my Mac Mini 2010 (4,1) and would like the machine to boot ESXi by default. I can't figure out how to do that as the ESXi image doesn't appear in the OSX control panel. The only way for me to fire up the system is using Option-C at boot to select it, which is inconvenient since I run this thing as a headless server.

      Reply
  9. *protectedAnonymous says

    11/03/2012 at 9:49 pm

    Hi,

    i wanted to install ESXI on my Mac Mini 3,1.
    But the Esxi did't reconiced the HDD. So i found out that you need to add the right driver. Its a MCP79 Controller. This site helped me and poited to the right tools and driver. Its not for the mac mini but it works! In case anyone else has the same issue. http://www.twinsquared.ch/bcyrill/blog/article/20#post

    Reply
    • *protectedNiklas Jung says

      12/07/2012 at 12:21 am

      Hey how did you get to manage it i built my own image file and booted from it and again it didn't show up the internal harddrive. And especially for the thing described with bios can i put it in the mac somewhere? thx in andvance

      Reply
    • *protectedAnonymous says

      03/18/2013 at 2:33 am

      I have only tested this with ESXi 5.1. I have no idea if it works with 5.0.

      When you insert the twinsquared.ch MCP79 AHCI driver mentioned above (I used ESXi Customiser 2.7.1), you need to tick the "Create EFI bootable ISO" box (you'll get a warning about no longer being able to modify it). If you don't select this option you will not have the ability to boot in EFI mode with the Mac. This is required as BIOS emulation mode disables AHCI and ESXi will not be able to see your HDD.

      Hold Alt for the boot menu and select the "EFI Boot" CD (*not* the "Windows" CD or ESXi will not be able to see your HDD). Install. The 201212001 patch set does not work, but if you install it then immediately patch to 201303001 without rebooting you should be OK.

      There still seem to be a few power related issues so you may have to manually power off after a shutdown or manually power cycle during a restart. YMMV.

      Reply
  10. *protectednotsleepy says

    11/08/2012 at 3:55 pm

    Just a warning for everyone. I attempted this on a new 2012 Mac Mini server MD389LL/A and it didn't work. I received a purple screen upon install that complained "No usable memory below 4GB" 🙁

    I noticed the 2011 Mac Mini server lists the RAM as "SDRAM" and the 2012 lists "1600MHz DDR3 memory".

    Reply
  11. *protectedRichard Robbins says

    11/28/2012 at 7:35 pm

    This problem has been solved. Please read the very informative thread at http://communities.vmware.com/thread/423099

    Reply
  12. *protectedAnonymous says

    12/03/2012 at 12:38 am

    Hi guys,
    I have run into a different issue, I have got esxi 5.1 installed and working on my mac mini server. The problem I have is that after I reboot the machine the esxi5.1 wont boot automatically, it comes with a blank screen with just a line saying “no boot device found”. The only way to get around this is to hold the option key while rebooting and then manually selecting the EFI disk that has the ESXI installed and from there on everything works as expected.

    Options I tried:
    I tried removing the other harddrive – didnt work (same issue as described above).

    I tried installing it on a USB stick -didnt work (same issue as described above).

    I tried installing mountatin lion on the installed harddrive and Esxi5.1 on the USB drive – didnt work, the machine boots into the mountain lion and even the attached USB is not available as an option to select as a start up disk in the mountain lion OS.

    Currently I have the esxi 5.1 installed on the USB stick and the internal harddrive have Mountain lion installed. On reboot it boots directly into mountain lion unless you hold the option key and manually select the USB with EXSI 5.1.

    Any help will be highly appreciated.

    Reply
  13. *protectedNiklas Jung says

    12/11/2012 at 8:20 pm

    did anyone get to work the soundcard or wifi card of the mac mini 3,1 or in any other mac mini and also the hardware throughpass. for now i have the esxi 5.1 working but without sound and wifi.

    Reply
  14. *protectedAnonymous says

    12/27/2012 at 2:32 am

    Has anyone had any success with telling the Mini to always boot to EFI (esxi) so you dont have to hold down the option key everytime you bounce the server??

    Reply
  15. *protectedWilliam says

    12/27/2012 at 5:45 am

    Yes. Hold down the "alt/option" key and when you're presented with the boot options, use the arrow key to hover over the USB drive which contains your ESXi installation. To set that as your default boot option, hold down "control" and the arrow will turn into a circle arrow and then hit enter. Now when you reboot, it will automatically boot off of the device you've selected

    Reply
  16. *protectedJhonny Nemonic says

    12/27/2012 at 11:28 pm

    Hi William, did you were able to virtualized vCd on it? or VoV perhaps? How this going on it?

    thanks

    Reply
    • *protectedWilliam says

      12/28/2012 at 12:27 am

      Yes, you can run anything on it as you would normally on any another vSphere host, it's still running ESXi on bare metal.

      Reply
    • *protectedJhonny Nemonic says

      12/28/2012 at 3:02 am

      Sound great man!

      One last question what's the difference from hp mini server -as a esxi host- (Performance/scalability/cost)?

      thanks again!

      Reply
  17. *protectedAnonymous says

    01/18/2013 at 6:32 pm

    Attempted install on: Mac Mini 2010 4,3

    Install fails at 'Select a disk to install...' splash. No storage devices are found and selecting F1 shows:
    Attribute error: 'Text' object has no attribute 'device'

    Any help

    Reply
    • *protectedWilliam says

      01/18/2013 at 6:41 pm

      I'm not sure if pre Mac Mini 5,1 would work or not. You may want to post on the VMTN communities and see if anyone has tried.

      Reply
  18. *protectedCodinger says

    02/14/2013 at 11:36 pm

    I just tried the following on my MacMini 5,3 with previously Mountain Lion: I installed ESXi 5.1 to avoid the driver issue. The network was not working. I saw the adapters but they did not receive an IP address under any circumstances.
    Then i created another bootable image on a USB stick with ESXi 5.0 U2 (unmodified) and everything worked like a charm.
    The only notable issue is that if you format the USB stick in a wrong way the MacMini will not boot from it.
    I solved the issue with creating the bootable USB stick on Mountain Lion using UNetBootin. After a failed test with the stick formatted in NTFS and FAT32 i used the Apple Disc Utility to partition the USB drive as an Apple GUID drive.
    Then i plugged it into the MacMini and with pressed ALT key i was able to select to boot the ESXi installer from the USB drive.
    After the (easy) installation the LAN Adapter and the Thunderbolt Adapter are both visible and in function. That's nice - with some expermental pleasure you really can do it! Thanks for the great tutorial - it helped a lot.

    Reply
  19. *protectedAnonymous says

    03/16/2013 at 11:42 am

    Hi, I am trying to install ESXi 5.1 on a mac mini 4.1 but get stuck on the following install error: VALIDATE_HOST_HW ERROR: vendor VIB for HP found, but host is Apple, Inc. Any suggestions?

    Reply
  20. *protectedSrikar Garisa says

    03/17/2013 at 10:02 pm

    1. Bought 2 MacMini's late 2012 i7 2.6 Ghz
    2. Download ESXi-5.1-MacMini-SMC-BOOT-FIX-6-2 iso from Ghetto
    3. ESX 5.1 booter is unable to detect SDHC cards, SO used USB to install ESX 5.1
    4. Network driver works perfectly
    5. Wireless and SDHC Memory Card reader are not detected
    I found Linux driver for MemoryCard. And didn't find the driver for WiFi.
    Will let you know how it goes with MemoryCard reader driver after adding to ISO image. Or i will try latest ESX 5.1 original ISO image, who knows may be it comes with drivers for memory card and wifi/ethernet!

    Thanks to Ghetto for this great article.

    Reply
    • *protectedLeo says

      10/29/2013 at 2:31 am

      This comment has been removed by the author.

      Reply
  21. *protectedAnonymous says

    09/04/2013 at 6:14 pm

    My MAC Mini 6.2 has been working flawlessly. I used Update Manager to update to the latest ESXi. This worked except for one issue. I am now not able to power on MAC OS VMs. I get the following:

    The guest operating system 'darwin11_64Guest is not supported'

    Any suggestions?
    Thanks

    Reply
    • *protectedAnonymous says

      09/06/2013 at 4:49 pm

      Hi, try to start the OSX VM from ESX5i console...

      Reply
  22. *protectedAnonymous says

    09/06/2013 at 4:51 pm

    To list all VMs:

    vim-cmd vmsvc/getallvms

    then, to start VM

    vim-cmd vmsvc/power.on “Vmid”

    ByeBye

    Reply
  23. *protectedLeo says

    10/29/2013 at 2:32 am

    Can anyone help me out. Just got a new Mac Mini v 6.2 and I'm trying to install the latest ISO from this site. I followed all of the steps here to copy it to a USB thumb drive but it's not being recognized when I hold down the ALT key.

    My Mac Mini has OSX Mountain Lion pre-installed (10.8.x).

    Thanks.

    Reply
    • *protectedJohn says

      04/16/2014 at 7:51 pm

      Having the same exact problem on my 6,2 mini. I've tried to install both the "ESXi-5.5-MacMini-6-2.iso" and the "ESXi-5.5u1-MacMini-6-2.iso" that William posted in another thread here. I also tried creating the USB boot drive with both the Windows version of UNetbootin and the OSX version. I tried following what Codinger mentioned about partitioning the USB drive as a Apple GUID drive. Each time I boot the mini holding down the "Option" key, No luck. I guess I'll try a different version of the ESXi iso.

      Any suggestions would be greatly appreciated.

      Reply
  24. *protectedtony says

    01/10/2014 at 6:23 pm

    Great write up! Based on my past experience with vSphere, I had to run the vSphere Client from another machine to manage the ESXi host. I'm assuming you had to do the same? And if so, are you running it from a Mac, because I wasn't able to find vSphere Client for Mac. Thanks!

    Reply

Trackbacks

  1. Thunderbolt Ethernet Adapter in Apple Mac Mini on ESXi 5 | virtuallyGhetto says:
    03/02/2014 at 6:12 pm

    […] a Thunderbolt to Gigabit Ethernet adapter. So, why am I talking about this? Well if you are running ESXi 5 on an Apple Mac Mini like me, then you are probably wondering if you can get another network interface on the Mini as it […]

    Reply
  2. Running ESXi 5.0 & 5.1 on 2012 Mac Mini 6,2 | virtuallyGhetto says:
    03/15/2014 at 10:56 pm

    […] I would also like to point out that this issue only applies to the new 2012 Apple Mac Mini, for previous models such as the Apple Mac Mini 5,1 or 5,3 you can install ESXi 5.0 or 5.1 without any issues. For more details, please refer to the instructions in this blog post. […]

    Reply
  3. Testowy post | pionar.wordpress.com says:
    03/07/2015 at 5:47 pm

    […] I would also like to point out that this issue only applies to the new 2012 Apple Mac Mini, for previous models such as the Apple Mac Mini 5,1 or 5,3 you can install ESXi 5.0 or 5.1 without any issues. For more details, please refer to the instructions in this blog post. […]

    Reply
  4. ESXi 5.1 for Mac Hardware - Kulmosen.dk says:
    05/19/2016 at 6:35 am

    […] That's so cool! Running ESXi 5.0 & 5.1 on Apple Mac Mini […]

    Reply
  5. ESXi running in unexpected places ... says:
    05/20/2022 at 8:14 am

    […] still vividly remember back in 2012, when ESXi was able to run on an Apple Mac Mini and how that enabled a new class of use cases for accelerated development and testing of iOS and […]

    Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VMware Flings is now available in Free Downloads of Broadcom Support Portal (BSP) 05/19/2025
  • VMUG Connect 2025 - Minimal VMware Cloud Foundation (VCF) 5.x in a Box  05/15/2025
  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2025