Info Security Memo
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org

Build Confidence

Focusing on Information Security 

Info Security Notes

Install ESXi 5.1/5.5/6.0 into Mac Mini 3.1 (Later 2009)

10/27/2019

1 Comment

 
It is not new to install ESXi on Mac Mini for technical person . There are lots of benefits to do this. I have been used ESXi 5.5/6 on my Mac Mini 5.1 for many years now. Just recently I have got two Mac Mini 3.1  to play at my home and I was wondering if it is possible to get ESXi on them.

I have two types of Mac Mini 3.1, one is regular with one hard drive and one optical drive. Another Mac Mini 3.1 is server version. There is no optical drive but two hard drive installed.

The result is surprising and working very well although I had a small hiccup on storage adapter. First thing I did is to upgrade the RAM from 4G to 8G which is maximum you can have. You can not start installing process if you only have 4G RAM. I did not try 16G RAM since no one succeed that by googled online. It is enough to get me run 2-3 VMs anyway.



Here is all steps I took to get this Mac Mini 3.1 server working with ESXi 5.1/5.5/6. Yes, I did try all of those three versions.



(TBC)

1. Use Rufus to get bootable ESXi USB disk

note:ESXi can be downloaded and licensed from https://my.vmware.com/en/group/vmware/evalcenter?p=free-esxi6

2. Boot Mac Mini from USB disk and install ESXi on USB

3. Configure your Mac Mini to boot USB permanently

4. Configure ESXi with Static IP / DNS/ Gateway and Enable SSH/shell Access

5. Connect ESXi through VMWare vSphere Client

6. Connect ESXi through SSH. Update Storage Adapter PCI ID File
ESXi is quite picky on SATA controllers. Generic AHCI driver in ESXi is not support Mac Mini 3.1.  Here are some words from  Andreas Peetz from his post "How to make your unsupported SATA AHCI Controller work with ESXi 5.5 and 6.0":

I always thought that whenever an ESXi driver is loaded then it would detect and configure any PCI devices that it supports, but the ahci driver of ESXi 5.5 behaves differently: Even if manually loaded (with vmkload_mod ahci) it will only configure the devices that are explicitly listed with their PCI IDs in its map file (/etc/vmware/driver.map.d/ahci.map).

But once you realize this it is easy to add support for other SATA AHCI controllers that are not listed there. You just need to create another map file with the PCI IDs of these devices and a reference to the ahci driver. I was able to verify this method with the help of someone who tried to get his ASMedia ASM1062 Controller (PCI ID 1b21:0612) working with ESXi 5.5. If you have the same controller then you can add support for it by running the following commands in an ESXi shell: 


1 esxcli software acceptance set --level=CommunitySupported
2 esxcli network firewall ruleset set -e true -r httpClient
3 esxcli software vib install -d http://vibsdepot.v-front.de -n sata-xahci

The above three commands are not only working fine with PCI ID 1b21:0612. It also supports many other PCI IDs. You can find out from his wiki what has been support. Fortunately Mac Mini 3.1 's PCI ID 10de:0ab9 also supported.

Once you ran those three commands, you can reboot your ESXi to get your storage controller working now. The last command to install vib file is going to take a couple of minutes to get it done. Please be more patient to wait until it is completed.

7. Reboot ESXi  and create a new datastore through VMWare vSphere Client

8. Create a new VM in ESXi



References:

  • How to make your unsupported SATA AHCI Controller work with ESXi 5.5 and 6.0


1 Comment
Best Hypervisor for Homelab link
6/5/2025 07:03:53

Thank you for sharing your ESXi installation experience on the Mac Mini 3.1. It's remarkable to see such an ancient system successfully converted for virtualisation purposes.

Your precise instructions, particularly for the AHCI driver tweaks, are excellent. It is worth mentioning that, while VMware does not officially support the Mac Mini 3,1, enthusiasts have discovered ways to make it work. For example, William Lam notes that ESXi 6.0 works out of the box for Mac Mini models starting with 5,1 and above, while previous models, such as the 3,1, require further adjustments.

Your technique to increase the RAM to 8GB and resolving the storage adapter issues demonstrates the potential of older technology when properly maintained. It demonstrates the community's commitment to make the most of available resources.

Reply



Leave a Reply.

    Categories

    All
    Architecture
    Blog
    Checkpoint
    Cisco
    Cloud
    CyberArk
    F5
    Fortigate
    Guardium
    Juniper
    Linux
    Network
    Others
    Palo Alto
    Qualys
    Raspberry Pi
    Security
    SIEM
    Software
    Vmware
    VPN
    Wireless

    Archives

    March 2024
    February 2024
    January 2024
    December 2023
    November 2023
    October 2023
    September 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    October 2019
    September 2019
    June 2019
    July 2018
    May 2018
    December 2017
    August 2017
    April 2017
    March 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015

    Print Page:

    RSS Feed

    Email Subscribe
Powered by Create your own unique website with customizable templates.
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org