Files
OpenCore-Legacy-Patcher/INSTALLER.html
2021-03-31 13:28:19 +00:00

36 lines
15 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Download and build macOS Installers | OpenCore Legacy Patcher</title>
<meta name="generator" content="VuePress 1.7.1">
<link rel="&#39;stylesheet" href="/OpenCore-Legacy-Patcher/styles/website.css">
<meta name="description" content="">
<meta name="theme-color" content="#3eaf7c">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="preload" href="/OpenCore-Legacy-Patcher/assets/css/0.styles.1c47b1bb.css" as="style"><link rel="preload" href="/OpenCore-Legacy-Patcher/assets/js/app.e8d57982.js" as="script"><link rel="preload" href="/OpenCore-Legacy-Patcher/assets/js/2.8a0bfb2b.js" as="script"><link rel="preload" href="/OpenCore-Legacy-Patcher/assets/js/4.29a177c5.js" as="script"><link rel="preload" href="/OpenCore-Legacy-Patcher/assets/js/14.50f13509.js" as="script"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/10.e77dd09b.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/11.e2e5627a.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/12.5178ceb2.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/13.6595f5af.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/15.a6dd2c8d.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/16.0d7fc4f3.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/17.b006acaa.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/18.e75d7e35.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/19.31f8ea05.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/20.58ff7402.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/21.1d14d6d6.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/22.41816288.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/23.20c1d640.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/24.ac072512.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/3.687eb7d5.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/5.455ab867.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/6.b663f69b.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/7.a8ab50db.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/8.6d850392.js"><link rel="prefetch" href="/OpenCore-Legacy-Patcher/assets/js/9.bd289ebd.js">
<link rel="stylesheet" href="/OpenCore-Legacy-Patcher/assets/css/0.styles.1c47b1bb.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/OpenCore-Legacy-Patcher/" class="home-link router-link-active"><img src="homepage.png" alt="OpenCore Legacy Patcher" class="logo"> <span class="site-name can-hide">OpenCore Legacy Patcher</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"> <div class="nav-item"><a role="button" aria-label="Switch to light mode" class="nav-link"><span>Switch theme</span></a></div> <a href="https://github.com/dortania/OpenCore-Legacy-Patcher/" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"> <div class="nav-item"><a role="button" aria-label="Switch to light mode" class="nav-link"><span>Switch theme</span></a></div> <a href="https://github.com/dortania/OpenCore-Legacy-Patcher/" target="_blank" rel="noopener noreferrer" class="repo-link">
GitHub
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Introduction</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/OpenCore-Legacy-Patcher/START.html" class="sidebar-link">What is OpenCore?</a></li><li><a href="/OpenCore-Legacy-Patcher/MODELS.html" class="sidebar-link">Supported Models</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading open"><span>Setting up</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/OpenCore-Legacy-Patcher/INSTALLER.html" aria-current="page" class="active sidebar-link">Download and build macOS Installers</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/OpenCore-Legacy-Patcher/INSTALLER.html#downloading" class="sidebar-link">Downloading</a></li><li class="sidebar-sub-header"><a href="/OpenCore-Legacy-Patcher/INSTALLER.html#building" class="sidebar-link">Building</a></li></ul></li><li><a href="/OpenCore-Legacy-Patcher/BUILD.html" class="sidebar-link">Building and installing OpenCore</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Installation</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/OpenCore-Legacy-Patcher/BOOT.html" class="sidebar-link">Booting OpenCore and macOS</a></li><li><a href="/OpenCore-Legacy-Patcher/POST-INSTALL.html" class="sidebar-link">Post-Installation</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Misc</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/OpenCore-Legacy-Patcher/TROUBLESHOOTING.html" class="sidebar-link">Troubleshooting</a></li><li><a href="/OpenCore-Legacy-Patcher/DEBUG.html" class="sidebar-link">How to debug with OpenCore</a></li><li><a href="/OpenCore-Legacy-Patcher/UNINSTALL.html" class="sidebar-link">Uninstalling OpenCore</a></li><li><a href="/OpenCore-Legacy-Patcher/ICNS.html" class="sidebar-link">Creating custom icons for OpenCore and Mac Boot Picker</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Credit</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/OpenCore-Legacy-Patcher/DONATE.html" class="sidebar-link">Supporting the patcher</a></li><li><a href="/OpenCore-Legacy-Patcher/LICENSE.html" class="sidebar-link">OpenCore Legacy Patcher Licence</a></li></ul></section></li><li><section class="sidebar-group depth-0"><p class="sidebar-heading"><span>Documentation</span> <!----></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/OpenCore-Legacy-Patcher/TERMS.html" class="sidebar-link">OpenCore Patcher Terminology</a></li><li><a href="/OpenCore-Legacy-Patcher/HOW.html" class="sidebar-link">Boot Process with OpenCore Legacy Patcher</a></li><li><a href="/OpenCore-Legacy-Patcher/PATCHEXPLAIN.html" class="sidebar-link">Explaining the patches in OpenCore Legacy Patcher</a></li></ul></section></li></ul> </aside> <main class="page"> <div class="theme-succinct-content content__default"><h1 id="download-and-build-macos-installers"><a href="#download-and-build-macos-installers" class="header-anchor">#</a> Download and build macOS Installers</h1> <ul><li><a href="#downloading">Downloading</a></li> <li><a href="#building">Building</a></li></ul> <p>This doc is centered around downloading and writing the macOS installer to a USB. If you're already familiar with how to do this, you can skip.</p> <ul><li>Note: 16GB+ USB will be required for the installer</li></ul> <h2 id="downloading"><a href="#downloading" class="header-anchor">#</a> Downloading</h2> <p>The simplest way to download macOS installs would be to use installinstallmacos:</p> <div class="language-sh extra-class"><pre class="language-sh"><code><span class="token function">mkdir</span> ~/macOS-installer <span class="token operator">&amp;&amp;</span> <span class="token builtin class-name">cd</span> ~/macOS-installer <span class="token operator">&amp;&amp;</span> <span class="token function">curl</span> -O https://raw.githubusercontent.com/munki/macadmin-scripts/main/installinstallmacos.py <span class="token operator">&amp;&amp;</span> <span class="token function">sudo</span> python installinstallmacos.py
</code></pre></div><p><img src="/OpenCore-Legacy-Patcher/assets/img/munki.cb5c523a.png" alt=""></p> <p>As you can see, we get a nice list of macOS installers. If you need a particular versions of macOS, you can select it by typing the number next to it. For this example we'll choose 10:</p> <p><img src="/OpenCore-Legacy-Patcher/assets/img/munki-process.c0791880.png" alt=""></p> <p>This is going to take a while as we're downloading the entire 12GB+ macOS installer.</p> <p>Once finished, you'll find in your <code>~/macOS-Installer/</code> folder a DMG containing the macOS Installer, called <code>Install_macOS_11.1-20C69.dmg</code> for example. Mount it and you'll find the installer application.</p> <ul><li>Note: We recommend to move the Install macOS.app into the <code>/Applications</code> folder, as we'll be executing commands from there.</li> <li>Note 2: Running Cmd+Shift+G in Finder will allow you to easily jump to <code>~/macOS-installer</code></li></ul> <p><img src="/OpenCore-Legacy-Patcher/assets/img/munki-done-2.581ad405.png" alt=""></p> <p><img src="/OpenCore-Legacy-Patcher/assets/img/munki-dmg.893a0e5d.png" alt=""></p> <h2 id="building"><a href="#building" class="header-anchor">#</a> Building</h2> <p>Now we'll be formatting the USB to prep for both the macOS installer and OpenCore. We'll want to use macOS Extended (HFS+) with a GUID partition map(Using GUID is important for the patcher). This will create two partitions: the main <code>MyVolume</code> and a second called <code>EFI</code> which is used as a boot partition where your Mac's firmware will check for boot files. <code>EFI</code> partitions will be hidden by default, so don't worry if you don't immediately see them.</p> <ul><li>Note: By default, Disk Utility only shows partitions press Cmd/Win+2 to show all devices (alternatively you can press the View button)</li></ul> <p><img src="/OpenCore-Legacy-Patcher/assets/img/format-usb.d6438596.png" alt="Formatting the USB"></p> <p>Next run the <code>createinstallmedia</code> command provided by <a href="https://support.apple.com/en-us/HT201372" target="_blank" rel="noopener noreferrer">Apple<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>. Note that the command is made for USB's formatted with the name <code>MyVolume</code>:</p> <div class="language-sh extra-class"><pre class="language-sh"><code><span class="token function">sudo</span> /Applications/Install<span class="token punctuation">\</span> macOS<span class="token punctuation">\</span> Big<span class="token punctuation">\</span> Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
</code></pre></div><ul><li>Note: You can also replace the <code>createinstallmedia</code> path with that of where your installer's located (same idea with the drive name).</li></ul> <p><img src="/OpenCore-Legacy-Patcher/assets/img/createinstallmedia.800575fb.png" alt=""></p> <h1 id="once-finished-head-to-building-and-installing-opencore"><a href="#once-finished-head-to-building-and-installing-opencore" class="header-anchor">#</a> Once finished, head to <a href="/OpenCore-Legacy-Patcher/BUILD.html">Building and installing OpenCore</a></h1></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/dortania/OpenCore-Legacy-Patcher/edit/main/docs/INSTALLER.md" target="_blank" rel="noopener noreferrer">Help us improve this page!</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">3/18/2021, 6:19:48 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/OpenCore-Legacy-Patcher/MODELS.html" class="prev">
Supported Models
</a></span> <span class="next"><a href="/OpenCore-Legacy-Patcher/BUILD.html">
Building and installing OpenCore
</a>
</span></p></div> </main></div><div class="global-ui"><div style="visibility:hidden;display:none;"></div><!----></div></div>
<script src="/OpenCore-Legacy-Patcher/assets/js/app.e8d57982.js" defer></script><script src="/OpenCore-Legacy-Patcher/assets/js/2.8a0bfb2b.js" defer></script><script src="/OpenCore-Legacy-Patcher/assets/js/4.29a177c5.js" defer></script><script src="/OpenCore-Legacy-Patcher/assets/js/14.50f13509.js" defer></script>
</body>
</html>