Online
We will use the macrecovery.py
utility included with OpenCore.
Figuring out which command to run
The below table is based on the recovery_urls.txt
file from macrecovery
.
macOS version | Command |
---|---|
OS X Lion (10.7) | python3 macrecovery.py -b Mac-2E6FAB96566FE58C -m 00000000000F25Y00 download |
OS X Mountain Lion (10.8) | python3 macrecovery.py -b Mac-7DF2A3B5E5D671ED -m 00000000000F65100 download |
OS X Mavericks (10.9) | python3 macrecovery.py -b Mac-F60DEB81FF30ACF6 -m 00000000000FNN100 download |
OS X Yosemite (10.10) | python3 macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000GDVW00 download |
OS X El Capitan (10.11) | python3 macrecovery.py -b Mac-FFE5EF870D7BA81A -m 00000000000GQRX00 download |
macOS Sierra (10.12) | python3 macrecovery.py -b Mac-77F17D7DA9285301 -m 00000000000J0DX00 download |
macOS High Sierra (10.13) | python3 macrecovery.py -b Mac-7BA5B2D9E42DDD94 -m 00000000000J80300 download |
macOS Mojave (10.14) | python3 macrecovery.py -b Mac-7BA5B2DFE22DDD8C -m 00000000000KXPG00 download |
macOS Catalina (10.15) | python3 macrecovery.py -b Mac-CFF7D910A743CAAF -m 00000000000PHCD00 download |
macOS Big Sur (11) | python3 macrecovery.py -b Mac-2BD1B31983FE1663 -m 00000000000000000 download |
macOS Monterey (12) | python3 macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000000000 download |
macOS Ventura (13) | python3 macrecovery.py -b Mac-B4831CEBD52A0C4C -m 00000000000000000 download |
macOS Sonoma (14) | python3 macrecovery.py -b Mac-226CB3C6A851A671 -m 00000000000000000 download |
macOS Sequoia (15) | python3 macrecovery.py -b Mac-937A206F2EE63C01 -m 00000000000000000 download |
Running the command
Open a terminal (cmd
on Windows) and change the directory to OpenCorePkg/Utilities/macrecovery
.
Now, run the command corresponding to the macOS version you want to install.
Copy and paste the command to the terminal you opened previously.
Like, for example, if you were to download macOS Ventura (13)
.
Checking the files
After the script finishes running, there will be a new folder called com.apple.recovery.boot
inside the terminal’s current directory (in this case, the macrecovery
folder).
Inside it, there should be either:
BaseSystem.dmg
andBaseSystem.chunklist
, orRecoveryImage.dmg
andRecoveryImage.chunklist
.
If both files in either group are present, we’re good; copy the com.apple.recovery.boot
folder to your Drive
folder or similar.