Skip to content

Instantly share code, notes, and snippets.

@bugyt
Created February 12, 2016 18:41
Show Gist options
  • Save bugyt/607b16f136b3cd070454 to your computer and use it in GitHub Desktop.
Save bugyt/607b16f136b3cd070454 to your computer and use it in GitHub Desktop.
Run Vanilla OS X El Capitan, Yosemite or Mavericks in VirtualBox 5.0.10 on a Windows Host
<html>
<body>
<div class="post_body">
<div itemprop="commentText" class="post entry-content ">
<!--cached-Fri, 12 Feb 2016 11:58:52 +0000--><p><u><span style="font-family:arial, helvetica, sans-serif"><strong><span style="font-size:18px">Run Vanilla OS X El Capitan, Yosemite or Mavericks in VirtualBox 5.0.10 on a Windows Host</span></strong></span></u></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">Following on from my <a href="http://www.insanelymac.com/forum/topic/309556-run-vanilla-os-x-el-capitan-in-vmware-workstation-12-on-a-windows-host/" class="bbc_url" title="">previous guide</a> on how to create a VMware virtual machine running Vanilla OS X El Capitan in Windows, I’ve decided to write a similar guide for creating a VirtualBox El Capitan VM.&nbsp; </span></span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">The virtual machine should be useful for testing El Capitan and also for creating installers for use on a real machine/hackintosh.</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">There are other tutorials and videos on the net about running OS X on Windows machines using pre-made VMDK disk images but you can never guarantee what else is in there….</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">I’ve gathered info for this guide from several threads in the Multibooting and Virtualisation section of this forum and also the wider internet eg</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif">@colt2 <a href="http://www.insanelymac.com/forum/topic/308533-how-to-create-a-bootable-el-capitan-iso-fo-vmware/" class="bbc_url" title="">HOW TO: Create a bootable El Capitan ISO for VMware</a></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">@E:V:A <a href="http://forum.xda-developers.com/showpost.php?p=55572430&amp;postcount=6" class="bbc_url" title="External link" rel="nofollow external">http://forum.xda-dev...430&amp;postcount=6</a></span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">@Tech Reviews video tutorial <a href="https://www.youtube.com/watch?v=t7X07U63lwg" class="bbc_url" title="External link" rel="nofollow external">https://www.youtube....h?v=t7X07U63lwg</a>.</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><strong><span style="font-size:11pt">Requirements</span></strong></span></p>
<ul><li><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; Intel PC with four or more CPU cores running Windows 7 X64 or later OS (2 or more cores needed for OS X)</span></span></li>
<li><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; 4GB or more RAM (2GB or more will be needed for OS X)</span></span></li>
<li><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; Hard Disk with at least 40GB free for Virtual Machine</span></span></li>
<li><span style="font-family:arial, helvetica, sans-serif">&nbsp;&nbsp; <a href="https://www.virtualbox.org/wiki/Downloads" class="bbc_url" title="External link" rel="nofollow external"><span style="font-size:11pt">Oracle VM VirtualBox v 5.0.10</span></a></span></li>
<li><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; Install OS X El Capitan app and Mac or Hack to prepare installation iso</span></span></li>
<li><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; 16GB or larger <a href="http://www.mactip.net/guide-how-to-format-an-external-drive-to-work-seamlessly-with-macs-and-pcs-without-third-party-software/" class="bbc_url" title="External link" rel="nofollow external">exFAT formatted USB</a> stick to transfer El Capitan iso from Mac/Hack to Host PC</span></span></li>
</ul><p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><strong><span style="font-size:11pt">Prepare Installation ISO on your Mac or Hack</span></strong></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">1.&nbsp; On your Mac or Hack, download "Install OS X El Capitan.app" from the App Store into your Applications folder.</span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">2.&nbsp; Download and unzip the CECI.tool (attached to this post) into your ~/Downloads folder. The commands in this executable script are shown below for informational purposes….</span></span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"></span></p><div class="bbc_spoiler">
<span class="spoiler_title">Spoiler</span> <input type="button" class="bbc_spoiler_show" value="Hide">
<div class="bbc_spoiler_wrapper"><div class="bbc_spoiler_content" style=""><br>
&nbsp; #!/bin/bash<br>
&nbsp;<br>
&nbsp;# Mount the Installer image<br>
&nbsp;hdiutil attach /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app<br>
&nbsp;<br>
&nbsp;# Create El Capitan sparseimage of 7316mb with a Single Partition - Apple Partition Map<br>
&nbsp;hdiutil create -o /tmp/ElCapitan -size 7316m -layout SPUD -fs HFS+J -type SPARSE<br>
&nbsp;<br>
&nbsp;# Mount the El Capitan sparseimage<br>
&nbsp;hdiutil attach /tmp/ElCapitan.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build<br>
&nbsp;<br>
&nbsp;# Restore the Base System into the El Capitan Blank sparseimage<br>
&nbsp;asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase<br>
&nbsp;<br>
&nbsp;# Remove Packages link and replace with actual files<br>
&nbsp;rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages<br>
&nbsp;cp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/<br>
&nbsp;<br>
&nbsp;# Copy El Capitan installer dependencies<br>
&nbsp;cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklist<br>
&nbsp;cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS\ X\ Base\ System/BaseSystem.dmg<br>
&nbsp;<br>
&nbsp;# Unmount the installer image<br>
&nbsp;hdiutil detach /Volumes/install_app<br>
&nbsp;<br>
&nbsp;# Unmount the Base System image<br>
&nbsp;hdiutil detach /Volumes/OS\ X\ Base\ System/<br>
&nbsp;<br>
&nbsp;# Optimise Sparseimage Size<br>
&nbsp;hdiutil compact /tmp/ElCapitan.sparseimage<br>
&nbsp;hdiutil resize -size min /tmp/ElCapitan.sparseimage<br>
&nbsp;<br>
&nbsp;# Convert the ElCapitan spareseimage to ISO/CD master<br>
&nbsp; hdiutil convert /tmp/ElCapitan.sparseimage -format UDTO -o /tmp/ElCapitan.iso<br>
&nbsp;<br>
&nbsp;# Rename the ElCapitan ISO image and move it to the desktop<br>
&nbsp; mv /tmp/ElCapitan.iso.cdr ~/Desktop/'EC 10.11.0.iso'<br>
&nbsp;<br>
&nbsp;# Delete ElCapitan.sparseimage file<br>
&nbsp; rm -f /tmp/ElCapitan.sparseimage<p></p>
<p><span style="font-family:arial, helvetica, sans-serif"></span></p></div></div>
</div><p></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">3.&nbsp; Open OS X terminal, then run the following commands to execute the script:</span></span></p>
<pre class="prettyprint prettyprinted"><span class="pln">cd downloads
chmod </span><span class="pun">+</span><span class="pln">x CECI</span><span class="pun">.</span><span class="pln">tool
</span><span class="pun">./</span><span class="pln">CECI</span><span class="pun">.</span><span class="pln">tool</span></pre>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">4.&nbsp; At the end of the process, you will have an El Capitan iso on your desktop - copy this onto an exFAT formatted USB for use on the PC Host later.</span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><strong><span style="font-size:11pt">Create an El Capitan Virtual Machine in VirtualBox</span></strong></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">1.&nbsp; Open the VirtualBox program and click the "New" button to create a new VM.</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174850-0-10629300-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-88912600-1448963845.png" title="VB1 New VM.png - Size: 102.57KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-88912600-1448963845_thumb.png" id="ipb-attach-img-174850-0-10629300-1455300735" style="width:300;height:226" class="attach" width="300" height="226" alt="VB1 New VM.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">2.&nbsp; Select Mac OS X and Mac OS X 10.11 El Capitan (64 -bit) for Operating System type and version.&nbsp; I named my Virtual Machine "El_Capitan", then clicked next...</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174851-0-10653000-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-91169600-1448963869.png" title="VB2 Name and operating system.png - Size: 144.02KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-91169600-1448963869_thumb.png" id="ipb-attach-img-174851-0-10653000-1455300735" style="width:300;height:224" class="attach" width="300" height="224" alt="VB2 Name and operating system.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">3.&nbsp; Leave the Memory size at the recommended 2048 MB, then click next.</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174852-0-10668700-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-89412300-1448963896.png" title="VB3 Memory Size.png - Size: 127.94KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-89412300-1448963896_thumb.png" id="ipb-attach-img-174852-0-10668700-1455300735" style="width:300;height:224" class="attach" width="300" height="224" alt="VB3 Memory Size.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">4.&nbsp; Choose to "Create a virtual hard disk now", then click the create button.</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174853-0-10684200-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-29172100-1448963917.png" title="VB4 Hard disk.png - Size: 136.2KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-29172100-1448963917_thumb.png" id="ipb-attach-img-174853-0-10684200-1455300735" style="width:300;height:223" class="attach" width="300" height="223" alt="VB4 Hard disk.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">5.&nbsp; For the hard disk file type, the default is VDI (VirtualBox Disk Image) but I have selected VMDK for inter-operability with VMWare.&nbsp; Click next...</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174854-0-10699200-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-95996100-1448963937.png" title="VB5 Hard disk file type.png - Size: 132.44KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-95996100-1448963937_thumb.png" id="ipb-attach-img-174854-0-10699200-1455300735" style="width:300;height:223" class="attach" width="300" height="223" alt="VB5 Hard disk file type.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">6.&nbsp; For Storage on physical hard disk, I have chosen the default Dynamically allocated (grows larger to a set limit as you need more disk space).</span></span></p>
<p style="margin-left:80px">&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174855-0-10714300-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-31109600-1448963961.png" title="VB6 Storage on physical hard disk.png - Size: 140.58KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-31109600-1448963961_thumb.png" id="ipb-attach-img-174855-0-10714300-1455300735" style="width:300;height:224" class="attach" width="300" height="224" alt="VB6 Storage on physical hard disk.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">7.&nbsp; On the File location and size screen, you can set the location of the new virtual hard disk and its size - I recommend changing disk size to 40GB or larger.&nbsp; When you click the create button, you will now see your new VM in the VirtualBox main GUI.</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174856-0-10728600-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-32604500-1448963988.png" title="VB7 File location and size.png - Size: 123.16KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-32604500-1448963988_thumb.png" id="ipb-attach-img-174856-0-10728600-1455300735" style="width:300;height:223" class="attach" width="300" height="223" alt="VB7 File location and size.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">8.&nbsp; Click the settings button on the Main Menu to tweak a few settings....</span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; a.&nbsp; On the System/Motherboard tab in Boot Order, you can uncheck the Floppy Drive (who has these now?)</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174857-0-10744500-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-06851900-1448964133.png" title="VB8 System Settings Remove Floppy.png - Size: 134.56KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-06851900-1448964133_thumb.png" id="ipb-attach-img-174857-0-10744500-1455300735" style="width:292;height:300" class="attach" width="292" height="300" alt="VB8 System Settings Remove Floppy.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; b.&nbsp; On the System/Processor tab, you can increase the allocated CPU cores to 2</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174858-0-10759500-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-39713300-1448964166.png" title="VB10 Two Processor Cores.png - Size: 104.24KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-39713300-1448964166_thumb.png" id="ipb-attach-img-174858-0-10759500-1455300735" style="width:300;height:223" class="attach" width="300" height="223" alt="VB10 Two Processor Cores.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; c.&nbsp; On the Display tab, you can increase the allocated Video Memory to 128MB</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174859-0-10775000-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-93416900-1448964191.png" title="VB11 Video Memory.png - Size: 105.94KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-93416900-1448964191_thumb.png" id="ipb-attach-img-174859-0-10775000-1455300735" style="width:300;height:224" class="attach" width="300" height="224" alt="VB11 Video Memory.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; d.&nbsp; On the Storage tab, click on the icon of the Optical Drive and select "Choose Virtual Optical Disk File".&nbsp; </span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174860-0-10789600-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-43148400-1448964229.png" title="VB12 Storage Choose Virtual Optical Disk File .png - Size: 304.15KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-43148400-1448964229_thumb.png" id="ipb-attach-img-174860-0-10789600-1455300735" style="width:300;height:188" class="attach" width="300" height="188" alt="VB12 Storage Choose Virtual Optical Disk File .png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">Navigate and select the El Capitan ISO we created earlier...</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174861-0-10805400-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-46757100-1448964266.png" title="VB13 Choose virtual optical disk file.png - Size: 423.88KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-46757100-1448964266_thumb.png" id="ipb-attach-img-174861-0-10805400-1455300735" style="width:300;height:130" class="attach" width="300" height="130" alt="VB13 Choose virtual optical disk file.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">&nbsp;&nbsp; e.&nbsp; Click the OK button to finalise the VM settings.</span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><strong><span style="font-size:11pt">Patch El Capitan vbox configuration file with iMac11,3 DMI Settings and Spoofing a Lynnfield i5 750 CPU</span></strong></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">1.&nbsp; From the start menu, type cmd and click run as administrator to open an administrative command prompt.</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174862-0-10820700-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-13525000-1448964304.png" title="VB14 Open cmd prompt as administrator.png - Size: 25.94KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-13525000-1448964304_thumb.png" id="ipb-attach-img-174862-0-10820700-1455300735" style="width:179;height:300" class="attach" width="179" height="300" alt="VB14 Open cmd prompt as administrator.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">2.&nbsp; Type the following lines, followed by &lt;enter&gt;&nbsp; after each line...</span></span></p>
<pre class="prettyprint prettyprinted"><span class="pln">cd </span><span class="str">"C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "</span><span class="typ">El_Capitan</span><span class="str">" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "</span><span class="typ">El_Capitan</span><span class="str">" "</span><span class="typ">VBoxInternal</span><span class="pun">/</span><span class="typ">Devices</span><span class="pun">/</span><span class="pln">efi</span><span class="pun">/</span><span class="lit">0</span><span class="pun">/</span><span class="typ">Config</span><span class="pun">/</span><span class="typ">DmiSystemProduct</span><span class="str">" "</span><span class="pln">iMac11</span><span class="pun">,</span><span class="lit">3</span><span class="str">"
VBoxManage setextradata "</span><span class="typ">El_Capitan</span><span class="str">" "</span><span class="typ">VBoxInternal</span><span class="pun">/</span><span class="typ">Devices</span><span class="pun">/</span><span class="pln">efi</span><span class="pun">/</span><span class="lit">0</span><span class="pun">/</span><span class="typ">Config</span><span class="pun">/</span><span class="typ">DmiSystemVersion</span><span class="str">" "</span><span class="lit">1.0</span><span class="str">"
VBoxManage setextradata "</span><span class="typ">El_Capitan</span><span class="str">" "</span><span class="typ">VBoxInternal</span><span class="pun">/</span><span class="typ">Devices</span><span class="pun">/</span><span class="pln">efi</span><span class="pun">/</span><span class="lit">0</span><span class="pun">/</span><span class="typ">Config</span><span class="pun">/</span><span class="typ">DmiBoardProduct</span><span class="str">" "</span><span class="typ">Mac</span><span class="pun">-</span><span class="pln">F2238BAE</span><span class="str">"
VBoxManage setextradata "</span><span class="typ">El_Capitan</span><span class="str">" "</span><span class="typ">VBoxInternal</span><span class="pun">/</span><span class="typ">Devices</span><span class="pun">/</span><span class="pln">smc</span><span class="pun">/</span><span class="lit">0</span><span class="pun">/</span><span class="typ">Config</span><span class="pun">/</span><span class="typ">DeviceKey</span><span class="str">" "</span><span class="pln">ourhardworkbythesewordsguardedpleasedontsteal</span><span class="pun">(</span><span class="pln">c</span><span class="pun">)</span><span class="typ">AppleComputerInc</span><span class="str">"
VBoxManage setextradata "</span><span class="typ">El_Capitan</span><span class="str">" "</span><span class="typ">VBoxInternal</span><span class="pun">/</span><span class="typ">Devices</span><span class="pun">/</span><span class="pln">smc</span><span class="pun">/</span><span class="lit">0</span><span class="pun">/</span><span class="typ">Config</span><span class="pun">/</span><span class="typ">GetKeyFromRealSMC</span><span class="str">" 1</span></pre>
<p>An alternative model to spoof is <strong>MacBookPro11,3</strong> with an <strong>IvyBridge i7-3770 CPU</strong> - substitute the second to fifth lines above with</p>
<pre class="prettyprint prettyprinted"><span class="typ">VBoxManage</span><span class="pun">.</span><span class="pln">exe modifyvm </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="pun">--</span><span class="pln">cpuidset </span><span class="lit">00000001</span><span class="pln"> </span><span class="lit">000306a9</span><span class="pln"> </span><span class="lit">04100800</span><span class="pln"> </span><span class="lit">7fbae3ff</span><span class="pln"> bfebfbff
</span><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiSystemProduct"</span><span class="pln"> </span><span class="str">"MacBookPro11,3"</span><span class="pln">
</span><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiSystemVersion"</span><span class="pln"> </span><span class="str">"1.0"</span><span class="pln">
</span><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiBoardProduct"</span><span class="pln"> </span><span class="str">"Mac-2BD1B31983FE1663"</span></pre>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">3.&nbsp; Close the command prompt window.</span></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><strong><span style="font-size:11pt">Installation of El Capitan</span></strong></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">We are now ready to start the El_Capitan Virtual Machine....</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174863-0-10838100-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-00458100-1448964384.png" title="VB15 Start VM.png - Size: 106.05KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-00458100-1448964384_thumb.png" id="ipb-attach-img-174863-0-10838100-1455300735" style="width:294;height:300" class="attach" width="294" height="300" alt="VB15 Start VM.png"></a>
</span></p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174864-0-10853600-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-74046700-1448964397.png" title="VB16 Verbose Boot.png - Size: 108.61KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-74046700-1448964397_thumb.png" id="ipb-attach-img-174864-0-10853600-1455300735" style="width:300;height:243" class="attach" width="300" height="243" alt="VB16 Verbose Boot.png"></a>
</span></p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174865-0-10867700-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-43170900-1448964411.png" title="VB17 Apple logo.png - Size: 64.91KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-43170900-1448964411_thumb.png" id="ipb-attach-img-174865-0-10867700-1455300735" style="width:300;height:245" class="attach" width="300" height="245" alt="VB17 Apple logo.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">Installation should be relatively straight forward, just following the prompts of the OS X installer:</span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">1.&nbsp; Select language, agree to legal terms</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174867-0-10881800-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-05430100-1448964461.png" title="VB18 Installer GUI Select Language.png - Size: 256.46KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-05430100-1448964461_thumb.png" id="ipb-attach-img-174867-0-10881800-1455300735" style="width:300;height:243" class="attach" width="300" height="243" alt="VB18 Installer GUI Select Language.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">2.&nbsp; Use Disk Utility from the Utilities Menu to erase and format the virtual hard drive as a single partition GUID Mac OS X Extended.&nbsp; I named my drive "Macintosh HD" but you can enter whatever you like eg El_Capitan.</span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174868-0-10902200-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-91060500-1448964502.png" title="VB19 Disk Utility Erase HD.png - Size: 288.85KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-91060500-1448964502_thumb.png" id="ipb-attach-img-174868-0-10902200-1455300735" style="width:300;height:244" class="attach" width="300" height="244" alt="VB19 Disk Utility Erase HD.png"></a>
</span></p>
<p>&nbsp;</p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">3.&nbsp; Quit DU and choose Macintosh HD to install El Capitan on.</span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">4.&nbsp; After 20-30 min (depending on how fast your system is), the installation will complete.&nbsp; At this point, unmount the El Capitan ISO by clicking the <strong>Devices </strong>menu from the VM window, click <b>Optical Drives</b>, then choose <b>Remove disk from virtual drive</b>.&nbsp; The VM is now ready to reboot into OS X from the virtual hard drive.</span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">5.&nbsp; At the welcome screen, choose your country and keyboard layout.&nbsp; You can skip transfer information, location services and logging in with your Apple ID if you wish…</span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">6.&nbsp; Create a User Account and select your Time Zone.&nbsp; You can skip sending diagnostics and usage data to Apple….</span></span></p>
<p><span style="font-family:arial, helvetica, sans-serif"><span style="font-size:11pt">7.&nbsp; Finally, you will arrive at the El Capitan Desktop. </span></span></p>
<p>&nbsp;</p>
<p style="margin-left:80px"><span style="font-size:14px"><span style="font-family:arial, helvetica, sans-serif"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-174869-0-10916800-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-14340200-1448964610.png" title="VB22 System Information.png - Size: 670.39KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-14340200-1448964610_thumb.png" id="ipb-attach-img-174869-0-10916800-1455300735" style="width:300;height:243" class="attach" width="300" height="243" alt="VB22 System Information.png"></a>
</span></span></p>
<p>&nbsp;</p>
<p><span style="font-size:14px">8.&nbsp; Network/internet and audio should work OOB but on my system, the sounds were distorted.&nbsp; Unfortunately, there is no QE/CI and the VM resolution will be fixed without the ability to dynamically resize the VM window (no VirtualBox additions for OS X guests atm).&nbsp; </span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Customization with VBoxManage</strong></p>
<p>1.&nbsp; You can change the default resolution of 1024*768 (after shutting down the VM) with the VBoxManage command from the Windows Administrative Command Prompt:</p>
<pre class="prettyprint prettyprinted"><span class="pln">cd </span><span class="str">"C:\Program Files\Oracle\VirtualBox\"
VBoxManage setextradata "</span><span class="typ">El_Capitan</span><span class="str">" "</span><span class="typ">VBoxInternal2</span><span class="pun">/</span><span class="typ">EfiGopMode</span><span class="str">" N (Where N can be one of 0,1,2,3,4,5)</span></pre>
<p>referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1920x1200 screen resolution respectively.</p>
<p>&nbsp;</p>
<p>2.&nbsp; Adding serials and other SMBIOS details for the System Information Screen</p>
<pre class="prettyprint prettyprinted"><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiSystemSerial"</span><span class="pln"> </span><span class="str">"W8#######B6"</span><span class="pln">
</span><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiBoardSerial"</span><span class="pln"> </span><span class="str">"W8#########1A"</span><span class="pln">
</span><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiSystemVendor"</span><span class="pln"> </span><span class="str">"Apple Inc."</span><span class="pln">
</span><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiSystemFamily"</span><span class="pln"> </span><span class="str">"iMac"</span><span class="pln">
</span><span class="typ">VBoxManage</span><span class="pln"> setextradata </span><span class="str">"El_Capitan"</span><span class="pln"> </span><span class="str">"VBoxInternal/Devices/efi/0/Config/DmiBIOSVersion"</span><span class="pln"> </span><span class="str">"IM112.0057.03B"</span><span class="pln">
</span></pre>
<p><span style="font-size:14px">A listing of known issues with Mac OS X guests can be found in the VirtualBox Manual - link <a href="https://www.virtualbox.org/manual/ch14.html" class="bbc_url" title="External link" rel="nofollow external">https://www.virtualb...anual/ch14.html</a>.</span></p>
<p>&nbsp;</p>
<p><span style="font-size:18px"><strong>Vanilla Mavericks and Yosemite, Snow Leopard from Retail DVD.</strong></span></p>
<p><span style="font-size:14px">The same VM settings for El Capitan will also boot and run vanilla installations of OS X Mavericks and Yosemite <img src="http://www.insanelymac.com/forum/public/style_emoticons/default/smile.png" class="bbc_emoticon" alt=":)">.&nbsp; Attached to this post are installer scripts to create bootable Mavericks (<strong>CMI.tool</strong>) and Yosemite (<strong>CYI.tool</strong>) ISOs for VirtualBox and VMware.</span></p>
<p>&nbsp;</p>
<p><span style="font-size:14px">With the respective OS X installer apps in the Applications folder, download and run the installer tools using terminal ie</span></p>
<p>&nbsp;</p>
<p>To create a Mavericks ISO on your desktop</p>
<pre class="prettyprint prettyprinted"><span class="pln">cd downloads
chmod </span><span class="pun">+</span><span class="pln">x CMI</span><span class="pun">.</span><span class="pln">tool
</span><span class="pun">./</span><span class="pln">CMI</span><span class="pun">.</span><span class="pln">tool</span></pre>
<p>To create a Yosemite ISO on your desktop</p>
<pre class="prettyprint prettyprinted"><span class="pln">cd downloads
chmod </span><span class="pun">+</span><span class="pln">x CYI</span><span class="pun">.</span><span class="pln">tool
</span><span class="pun">./</span><span class="pln">CYI</span><span class="pun">.</span><span class="pln">tool</span></pre>
<p>Here is a screenshot of the VM running Mavericks 10.9.5...</p>
<p>&nbsp;</p>
<p style="margin-left:80px"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-175149-0-10944800-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-60483000-1449392442.png" title="Vanilla Mavericks on VB.png - Size: 1.57MB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-60483000-1449392442_thumb.png" id="ipb-attach-img-175149-0-10944800-1455300735" style="width:300;height:256" class="attach" width="300" height="256" alt="Vanilla Mavericks on VB.png"></a>
</p>
<p>&nbsp;</p>
<p>Finally, <strong>those without a Mac/Hack to prepare the install media can purchase a retail Snow Leopard DVD directly from Apple and install OSX 10.6.3</strong> on their virtual machines (Snow Leopard, Lion and Mountain Lion run quite happily in VirtualBox with <strong>1 CPU, 1-2 GB of RAM </strong>and the rest of the settings unchanged from above).&nbsp; Once you update by combo update to SL 10.6.8, you can directly download El Capitan from the App Store for free <img src="http://www.insanelymac.com/forum/public/style_emoticons/default/thumbsup_anim.gif" class="bbc_emoticon" alt=":thumbsup_anim:">.</p>
<p>&nbsp;</p>
<p style="margin-left:80px"><a class="resized_img" rel="lightbox[2193145]" id="ipb-attach-url-175282-0-10983900-1455300735" href="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-87473800-1449565170.png" title="Snow Leopard on VirtualBox.png - Size: 996.86KB"><img itemprop="image" src="http://www.insanelymac.com/forum/uploads/monthly_12_2015/post-846696-0-87473800-1449565170_thumb.png" id="ipb-attach-img-175282-0-10983900-1455300735" style="width:300;height:257" class="attach" width="300" height="257" alt="Snow Leopard on VirtualBox.png"></a>
</p>
<p>&nbsp;</p>
<p><span style="font-size:14px">Good luck and enjoy <img src="http://www.insanelymac.com/forum/public/style_emoticons/default/smile.png" class="bbc_emoticon" alt=":)"></span></p>
<div id="attach_wrap" class="rounded clearfix">
<h4>Attached Files</h4>
<ul>
<li class="attachment">
<a href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=174877" title="Download attachment"><img src="http://www.insanelymac.com/forum/public/style_extra/mime_types/zip.gif" alt="Attached File"></a>
&nbsp;<a href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=174877" title="Download attachment"><strong>CECI.tool.zip</strong></a> &nbsp;&nbsp;<span class="desc"><strong>735bytes</strong></span>
&nbsp;&nbsp;<span class="desc lighter">609 downloads</span>
</li>
<li class="attachment">
<a href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=175150" title="Download attachment"><img src="http://www.insanelymac.com/forum/public/style_extra/mime_types/zip.gif" alt="Attached File"></a>
&nbsp;<a href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=175150" title="Download attachment"><strong>CMI.tool.zip</strong></a> &nbsp;&nbsp;<span class="desc"><strong>676bytes</strong></span>
&nbsp;&nbsp;<span class="desc lighter">202 downloads</span>
</li>
<li class="attachment">
<a href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=175151" title="Download attachment"><img src="http://www.insanelymac.com/forum/public/style_extra/mime_types/zip.gif" alt="Attached File"></a>
&nbsp;<a href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_id=175151" title="Download attachment"><strong>CYI.tool.zip</strong></a> &nbsp;&nbsp;<span class="desc"><strong>715bytes</strong></span>
&nbsp;&nbsp;<span class="desc lighter">208 downloads</span>
</li>
</ul>
</div>
<br>
</div>
<div class="ipsLikeBar right clearfix" id="rep_post_2193145">
<ul class="ipsList_inline">
<li id="like_post_2193145" class="ipsLikeBar_info">
<a hovercard-ref="member" hovercard-id="161756" data-ipb="noparse" class="url fn name ___hover___member _hoversetup" href="http://www.insanelymac.com/forum/user/161756-pippox0/" title="" id="anonymous_element_3"><span itemprop="name">pippox0</span></a>, <a hovercard-ref="member" hovercard-id="241390" data-ipb="noparse" class="url fn name ___hover___member _hoversetup" href="http://www.insanelymac.com/forum/user/241390-gwan/" title="" id="anonymous_element_4"><span itemprop="name">Gwan</span></a>, <a hovercard-ref="member" hovercard-id="1093405" data-ipb="noparse" class="url fn name ___hover___member _hoversetup" href="http://www.insanelymac.com/forum/user/1093405-gils83/" title="" id="anonymous_element_5"><span itemprop="name">gils83</span></a> and <a href="#" class="_repLikeMore" data-id="2193145" data-type="pid" data-app="forums">6 others</a> like this
</li>
<li>
<a class="ipsLikeButton ipsLikeButton_enabled rep_up" href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=2193145&amp;rating=1&amp;secure_key=acb18d0898f73825dda28c3f62805f8d&amp;post_return=2193145" title="Like this item">Like This</a>
</li>
<li style="display:none">
<a class="ipsLikeButton ipsLikeButton_disabled rep_down" href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=global&amp;section=reputation&amp;do=add_rating&amp;app_rate=forums&amp;type=pid&amp;type_id=2193145&amp;rating=-1&amp;secure_key=acb18d0898f73825dda28c3f62805f8d&amp;post_return=2193145" title="Remove like for this item">Unlike</a>
</li>
</ul>
</div>
<script type="text/javascript">
ipb.global.registerReputation( 'rep_post_2193145', { domLikeStripId: 'like_post_2193145', app: 'forums', type: 'pid', typeid: '2193145' }, parseInt('9') );
</script>
<div class="signature" data-memberid="846696">
<a href="#" class="hide_signature"></a>
<!--signature-cached-Wed, 10 Feb 2016 21:14:43 +0000--><p><span style="color:#ff0000">For support, please ask in the forums - no PMs for help!!!</span></p>
<p><span style="font-family:'lucida sans unicode', 'lucida grande', sans-serif;"><strong>HD 500GB GPT Dual boot</strong> <strong> <strong><span style="color:#008000">Clover</span></strong><span style="color:#008000"> v2.3k_r3330, </span>10.9.5/Win10 X64UEFI/FAT32(shared) </strong></span><span style="font-family:'lucida sans unicode', 'lucida grande', sans-serif;"><strong>on Dell XPS m1530</strong></span><strong> A12 BIOS</strong></p>
<p><span style="font-family:'lucida sans unicode', 'lucida grande', sans-serif;"><strong>CPU</strong>: Intel Core 2 Duo - T9300 2.49GHz<strong> MEMORY</strong>: 4GB Dual Channel DDR2 SDRAM at 667MHz<br><strong>DISPLAY</strong>: WXGA - 15.4 [1440x900] &amp; 2MP Camera<strong> VIDEO</strong>: NVIDIA GeForce 8600M GT 256MB</span><strong> Wifi</strong>: Asus N10 USB.</p>
<p>&nbsp;</p>
<p>&nbsp;
</p></div>
<ul id="postControlsNormal_2193145" class="post_controls clear clearfix">
<li class="top hide"><a href="#ipboard_body" class="top" title="Back to top">Back to top</a></li>
<li class="report">
<a href="http://www.insanelymac.com/forum/index.php?app=core&amp;module=reports&amp;rcom=post&amp;tid=309654&amp;pid=2193145&amp;page="><img src="http://www.insanelymac.com/forum/public/style_images/insanely_mac/report.png" alt=""> Report</a>
</li>
</ul>
</div>
</html>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment