{"id":2962,"date":"2019-01-30T14:33:36","date_gmt":"2019-01-30T14:33:36","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=2962"},"modified":"2020-04-05T06:37:19","modified_gmt":"2020-04-05T06:37:19","slug":"using-apple-file-system-apfs-with-your-virtualized-mac-on-esxi","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=2962","title":{"rendered":"Using Apple File System (APFS) with your virtualized Mac on ESXi 6.5"},"content":{"rendered":"<p>UPDATE \u00a0: \u00a0You can take the firmware file from VMware Fusion instead of building your own. its located :<\/p>\n<p>\/Applications\/VMware\\ Fusion.app\/Contents\/Library\/roms\/EFI64.ROM<\/p>\n<p>Use this process of adding it to the VM. It has the advantage of supporting the Recovery HD. Here is a copy of the Fusion 11.5.2 Rom <a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/efi64_apfs.rom_-1.zip\">efi64_apfs.rom<\/a><\/p>\n<p>Also remember to have you VM set to at least :<\/p>\n<ul>\n<li>Virtual Machine Version: 9 (ESXi 5.1 and later)\n<ul>\n<li>This is the minimum version required for 10.13 and later.<\/li>\n<\/ul>\n<\/li>\n<li>Guest Operating System: Other &gt; Apple Mac OS X 10.8 (64-bit)<\/li>\n<li>CPUs: 2 cores<\/li>\n<\/ul>\n<p>This also allows older versions of ESXI, eg 6.0, to run newer Mac OS Clients.<\/p>\n<p>Newer versions of the Darwin VMware tools can be got from VMWare Fusion, located in\u00a0\/Applications\/VMware\\ Fusion.app\/Contents\/Library\/isoimages\/darwin.iso<\/p>\n<p>More info can be found <a href=\"https:\/\/ericfromcanada.github.io\/output\/2019\/macos-catalina-vmware-esxi-6.html\">here<\/a>\u00a0or as a pdf <a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/macOS-10.15-Catalina-on-VMware-ESXi-6.0-Mac-Insights.pdf\">macOS 10.15 Catalina on VMware ESXi 6.0 | Mac Insights<\/a><\/p>\n<p>Apple has just released the macOS High Sierra with new features, one of them is the brand-new Apple File System (APFS) that is optimized for flash storage which newer Macs enjoy. If you happen to be using macOS in a virtualized way, e.g. with VMware, you may have trouble getting the new OS to work as the upgrade forces conversion of the boot partition to APFS which the VMware UEFI does not support.<\/p>\n<p>To solve the problem, we need to let the VMware UEFI know APFS and luckily the APFS driver can be extracted from the High Sierra installer as a UEFI driver executable. We can then slip the driver to the UEFI BIOS that bundles with VMware Player itself and everything should work.<\/p>\n<h3>Getting Started<\/h3>\n<p>We\u2019ll need 3 things before modifying the VMware UEFI BIOS. They are listed below:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/darkhandz\/XPS15-9550-Sierra\/blob\/master\/CLOVER-Install\/drivers64UEFI\/apfs.efi?raw=true\" target=\"_blank\" rel=\"noopener noreferrer\">The APFS UEFI Driver extract<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/LongSoft\/UEFITool\/releases\" target=\"_blank\" rel=\"noopener noreferrer\">UEFITool, a tool for editing UEFI BIOS<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pbatard\/ffs\/releases\">FFS to convert the APFS driver to UEFI module<\/a><\/li>\n<\/ul>\n<p>The APFS UEFI Driver can be located in\u00a0<b>\/usr\/standalone\/i386\/\u00a0<\/b>on a Real Mac running 10.13 or higher<\/p>\n<p>To simplify things, you can download my modified <a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/efi64_apfs.rom_.zip\">efi64_apfs.rom<\/a>\u00a0UEFI BIOS (tested on VMware Workstation Pro 14, may work for other versions too). If that ROM doesn\u2019t work for you, go after these steps to get a modified BIOS with APFS support.<\/p>\n<p>Use UEFITool to open EFI64.rom located at\u00a0[VMware Installation Folder]\/x64\/, select File &gt; Search and choose GUID tab. Type in 961578FE-B6B7-44C3-AF35-6BC705CD2B1F and double click the result inside Message section. Leave this screen for now.<\/p>\n<p><a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2964\" src=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image.png\" alt=\"\" width=\"802\" height=\"627\" srcset=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image.png 802w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-640x500.png 640w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-768x600.png 768w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-230x180.png 230w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-350x274.png 350w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-480x375.png 480w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/a><\/p>\n<p>Extract the FFS tool to the same directory as the APFS driver file. Open your command prompt, change directory to that place and run this command: GenMod apfs.efi .<\/p>\n<p><a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2965\" src=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1.png\" alt=\"\" width=\"833\" height=\"541\" srcset=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1.png 833w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1-640x416.png 640w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1-768x499.png 768w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1-830x539.png 830w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1-230x149.png 230w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1-350x227.png 350w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-1-480x312.png 480w\" sizes=\"auto, (max-width: 833px) 100vw, 833px\" \/><\/a><\/p>\n<p>Go back to UEFITool, right-click the selected item and choose Insert After, then select apfs.ffs from the FFS directory. The screen should look like this.<\/p>\n<p><a href=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2966\" src=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2.png\" alt=\"\" width=\"802\" height=\"627\" srcset=\"https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2.png 802w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2-640x500.png 640w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2-768x600.png 768w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2-230x180.png 230w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2-350x274.png 350w, https:\/\/blog.designed79.co.uk\/wp-content\/uploads\/2019\/01\/image-2-480x375.png 480w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/a><\/p>\n<p>Save the modified ROM with the name efi64_apfs.rom to your VM directory.<\/p>\n<h3>Applying the new UEFI BIOS<\/h3>\n<p>To get the modified UEFI BIOS to work, use a text editor to open the VMX file. Ensure the file contains the following lines.<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">firmware = &quot;efi&quot;<br \/>\nefi64.filename = &quot;efi64_apfs.rom&quot;<\/div><\/div>\n<p>Save the VMX file and start your VM, your macOS High Sierra will now boot as expected with an APFS volume. Voila!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UPDATE \u00a0: \u00a0You can take the firmware file from VMware Fusion instead of building your own. its located : \/Applications\/VMware\\ Fusion.app\/Contents\/Library\/roms\/EFI64.ROM Use [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2962","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2962"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2962\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}