|
@@ -0,0 +1,175 @@
|
|
|
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
|
+ <head>
|
|
|
+ <title>Running a MacOS 12 Monterey VM on VMware ESXi</title>
|
|
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
+ <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
|
+ <script type="text/javascript">
|
|
|
+ $(function(){
|
|
|
+ $('textarea').each(function(i,e){
|
|
|
+ theTextarea = $(this);
|
|
|
+ theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
|
|
|
+ });
|
|
|
+
|
|
|
+ $('li').each(function(i,e){
|
|
|
+ var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
|
|
|
+ $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
|
|
|
+ $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
|
|
|
+ });
|
|
|
+
|
|
|
+ $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
|
|
|
+ theElement = $(this);
|
|
|
+ var lines = theElement.html().split("\n");
|
|
|
+ theElement.empty();
|
|
|
+ for(l=0;l<lines.length;l++){
|
|
|
+ if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
|
|
|
+ theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ $.trim(lines[l].replace(/"/g, '"')) +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
|
|
|
+ } else {
|
|
|
+ theElement.append(lines[l]);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ $(document).on('click','input.copy-text',function(){
|
|
|
+ theButton = $(this);
|
|
|
+ $('input.copy-text').attr('src','images/clipboard.png');
|
|
|
+ $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
|
|
|
+ try {
|
|
|
+ if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
|
|
|
+ $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
|
|
|
+ } else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
|
|
|
+ $('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
|
|
|
+ } else {
|
|
|
+ $('#'+ theButton.attr('rel')).addClass('copy-animation');
|
|
|
+ }
|
|
|
+ navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
|
|
|
+ theButton.attr('src','images/clipboard_active.png');
|
|
|
+ } catch(err) {
|
|
|
+ }
|
|
|
+ return false;
|
|
|
+ });
|
|
|
+
|
|
|
+ $(document).on('click','input.completeBox',function(){
|
|
|
+ theBox = $(this);
|
|
|
+ $('#'+ theBox.attr('rel')).addClass('strikethrough');
|
|
|
+ theBox.prop('disabled',true);
|
|
|
+ theBox.parent('li').prevAll().each(function(i,e){
|
|
|
+ theLI = $(this);
|
|
|
+ if(theLI.find('input[type=checkbox]').not(':checked')){
|
|
|
+ $('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
|
|
|
+ theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+
|
|
|
+ if(window.self !== window.top){
|
|
|
+ window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
|
|
+ }
|
|
|
+ });
|
|
|
+ </script>
|
|
|
+ <link href="css/steps.css" rel="stylesheet" type="text/css" />
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div id="gridContainer">
|
|
|
+ <div class="topMargin"></div>
|
|
|
+ <div id="listName" class="topMargin">
|
|
|
+ <h1>Running a MacOS 12 Monterey VM on VMware ESXi</h1>
|
|
|
+ </div>
|
|
|
+ <div></div>
|
|
|
+ <div id="content">
|
|
|
+ <h2>Downloads and Configuring ESXi</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Download a MacOS Monterey .iso <a href="https://archive.org/search.php?query=Mac%20OS%20Monterey&and[]=mediatype%3A%22software%22" target="_blank">Download</a></li>
|
|
|
+ <li>Download Unlocker for VMware ESXi <a href="https://github.com/hugepants/esxi-unlocker/releases/" target="_blank">Download</a></li>
|
|
|
+ <li>Download WinSCP <a href="https://winscp.net/eng/downloads.php" target="_blank">Download</a></li>
|
|
|
+ <li>Extract the downloaded Unlocker for VMware ESXi</li>
|
|
|
+ <li>Rename the extracted folder unlocker</li>
|
|
|
+ <li>Log into the ESXi web UI</li>
|
|
|
+ <li>Enable the SSH service by selecting Actions > Services > Enable Secure Shell (SSH)</li>
|
|
|
+ <li>Extract WinSCP and run the executable</li>
|
|
|
+ <li>Connect to the ESXi host IP address via WinSCP</li>
|
|
|
+ <li>Copy the extracted Unlocker folder to the ESXi host /root directory</li>
|
|
|
+ <li>Connect to the ESXi host via SSH</li>
|
|
|
+ <li>Run the following commands to install ESXi Unlocker
|
|
|
+ <div class="codeBlock"># change directory to unlocker<br />
|
|
|
+ cd /unlocker<br />
|
|
|
+ # make the install script executable<br />
|
|
|
+ chmod +x ./esxi-install.sh<br />
|
|
|
+ # run the install script<br />
|
|
|
+ ./esxi-install.sh<br />
|
|
|
+ # reboot esxi host<br />
|
|
|
+ reboot</div>
|
|
|
+ </li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<h2>Creating the Monterey VM</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Log into the ESXi web UI</li>
|
|
|
+ <li>In the left navigation pane, right click on Virtual Machines > Create/Register VM</li>
|
|
|
+ <li>Select Create a new virtual machine > Click Next</li>
|
|
|
+ <li>Name the VM MacOS 12 > Set the Guest OS family to Mac OS and Guest OS Version to Apple MacOS 10.14 (64-bit) > Click Next</li>
|
|
|
+ <li>Select the storage datastore to use > Click Next</li>
|
|
|
+ <li>Set the Memory to at least 4096, Hard disk 1 to 50 GB or more</li>
|
|
|
+ <li>Expand CD/DVD Drive 1 > Make sure Datastore ISO file is selected > Click Browse next to the CD/DVD Media field</li>
|
|
|
+ <li>Click Upload > Browse to and select the Mac OS installation ISO</li>
|
|
|
+ <li>Once the upload completes, click the Mac OS ISO to highlight it > Click Select</li>
|
|
|
+ <li>Back on the Hardware customization screen click Next</li>
|
|
|
+ <li>Review the summary provided and click Finish Click the new MacOS 12 VM Click Power on at the top of the page</li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<h2>Installing MacOS Monterey</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>After an initialization sequence the MAC OS Setup should start</li>
|
|
|
+ <li>Select a Language > Click the next arrow</li>
|
|
|
+ <li>Select Disk Utility</li>
|
|
|
+ <li>Select the VMware Virtual SATA Hard Drive Media > Click Erase</li>
|
|
|
+ <li>Name the drive OS12 > Set the Format to APFS > Click Erase</li>
|
|
|
+ <li>Click Done > Close Disk Utility</li>
|
|
|
+ <li>Click Install macOS Monterey</li>
|
|
|
+ <li>Click Continue > Click Agree > Click Agree again</li>
|
|
|
+ <li>Select the OS12 disk > Click Install</li>
|
|
|
+ <li>Wait while Mac OS installs files, the VM will reboot several times</li>
|
|
|
+ <li>Select your Country > Click Continue</li>
|
|
|
+ <li>Confirm your languages and keyboard layout > Click Continue</li>
|
|
|
+ <li>Click Not Now on the Accessibility screen</li>
|
|
|
+ <li>Click Continue on the Data & Privacy screen</li>
|
|
|
+ <li>Select Not Now on the Migration Assistant screen</li>
|
|
|
+ <li>Select Set Up Later and then Skip on the Apple ID screen</li>
|
|
|
+ <li>Click Agree > Agree again</li>
|
|
|
+ <li>Enter a name, user name, password > Click Continue</li>
|
|
|
+ <li>Click Customize Settings</li>
|
|
|
+ <li>Click Continue > Select Use or Don't Use for Location Services</li>
|
|
|
+ <li>Pick a timezone > Click Continue</li>
|
|
|
+ <li>Choose whether to share analytics with Apple > Click Continue</li>
|
|
|
+ <li>Click Set Up Later on the Screen Time screen</li>
|
|
|
+ <li>Uncheck the Enable Ask Siri box > Click Continue</li>
|
|
|
+ <li>Pick a theme > Click Continue</li>
|
|
|
+ <li>Welcome to MacOS 12 Monterey</li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<h2>Install VMware Tools (optional, but recommended)</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Download MacOS Unlocker for VMware Workstation <a href="https://github.com/paolo-projects/auto-unlocker/releases" target="_blank">Download</a></li>
|
|
|
+ <li>Extract the downloaded .zip file</li>
|
|
|
+ <li>Navigate into the extracted folder</li>
|
|
|
+ <li>Hold SHIFT and right click in the white space > Open PowerShell window here...</li>
|
|
|
+ <li>Run the following command to download VMware Tools for MacOS
|
|
|
+ <div class="codeBlock PS">.\unlocker.exe --download-tools</div>
|
|
|
+ </li>
|
|
|
+ <li>Back in the ESXi web UI select Storage from the left navigation menu</li>
|
|
|
+ <li>Click the Datastore browser icon at the top of the main content pane</li>
|
|
|
+ <li>Click Upload > Browse to and select the darwin.iso</li>
|
|
|
+ <li>Once the upload completes click Close to close out of the Datastore browser</li>
|
|
|
+ <li>Select the MacOS 12 VM > Actions > Edit settings</li>
|
|
|
+ <li>Attach darwin.iso to CD/DVD drive 1</li>
|
|
|
+ <li>Inside the VM, double click the mounted VMware tools and run the installer</li>
|
|
|
+</ol>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
+
|