Did you accidentally update macOS and lose access to your system?
This repository provides a "Rescue Kit" to help you boot back into macOS when your OpenCore installation has been overwritten, bypassed, or corrupted during a system update.
Select the method that best fits your situation:
| Method | Requirements | Difficulty | Best For |
|---|---|---|---|
| 1. Rescue USB | Another PC/Mac + USB Drive | ⭐ Easy | Most reliable method. |
| 2. Local Recovery | OpenCore-Patcher app on disk |
⭐⭐ Medium | No USB or Internet needed. |
| 3. Internet Recovery (Official) | Internet connection in Recovery | ⭐⭐⭐ Hard | Downloads generic OpenCore. |
| 4. Internet Rescue Kit (Repo) | Internet connection in Recovery | ⭐⭐ Medium | Downloads this specific rescue kit. |
Requirements: Another computer (Windows/Mac/Linux) and a USB drive.
We provide automated scripts for all major operating systems to easily create the rescue USB.
- Open Terminal.
- Run:
./create_usb.sh
- Follow the on-screen prompts.
- Right-click
create_usb.ps1and select "Run with PowerShell". - Follow the prompts to select your USB drive.
- Note: Requires Administrator privileges.
- Open Terminal.
- Run with sudo:
sudo ./create_usb_linux.sh
- Follow the prompts.
If you prefer to do it manually:
- Prepare USB: Format a USB drive as FAT32 (Scheme: GUID Partition Map / GPT).
- Copy Files: Copy the
EFIfolder from theBOOTEFIX64folder in this repository to the root of the USB drive. - Boot:
- Insert USB into the broken Mac.
- Hold Option (Alt) while powering on.
- Select "EFI Boot" (OpenCore logo).
- Select your macOS disk to boot.
- Fix: Once in macOS, run OpenCore Patcher and "Install to Disk" to fix the internal drive.
Requirements: You must have the OpenCore Legacy Patcher app installed in your Applications folder on the broken Mac.
- Boot into macOS Recovery (Hold
Cmd+Ror Power button). - Open Terminal (Utilities > Terminal).
- Identify your disks:
Note your EFI partition (e.g.,
diskutil list
disk0s1) and macOS Data volume identifier (e.g.,disk1s1- look for "APFS Data"). - Unlock Data Volume (If Encrypted):
If you don't see your volume in
/Volumesor it is encrypted (FileVault), unlock it:Enter your macOS user password when prompted.# Replace disk1s1 with your Data volume identifier diskutil apfs unlockVolume disk1s1 - Mount EFI:
diskutil mount disk0s1
- Copy EFI from your Applications folder:
# Navigate to the Patcher's resources cd "/Volumes/Macintosh HD/Applications/OpenCore-Patcher.app/Contents/Resources" # Copy the EFI folder to your EFI partition cp -R EFI /Volumes/EFI/
- Clear NVRAM & Reboot:
It is critical to clear NVRAM so the firmware forgets the old broken boot entries.
Then, fully shutdown and power on again (cold boot) to ensure the new settings take effect.
nvram -c
shutdown -h now
Requirements: Working Wi-Fi or Ethernet in Recovery Mode.
- Boot into macOS Recovery and connect to Wi-Fi (top right corner).
- Open Terminal.
- Mount EFI:
diskutil mount disk0s1
- Download OpenCore:
cd /Volumes/EFI # Download OpenCore (Example for v1.6.0 - check for latest version URL) curl -L -O https://github.com/acidanthera/OpenCorePkg/releases/download/1.6.0/OpenCore-1.6.0-RELEASE.zip unzip OpenCore-*.zip
- Install:
- Warning: This installs a generic config. Only use this if you know how to configure it or just need the .efi files.
(See the Detailed Guide for properly configuringcp -R X64/EFI /Volumes/EFI/
BOOTx64.efi) - Clear NVRAM & Reboot:
Perform a cold boot (shutdown then power on).
nvram -c shutdown -h now
Requirements: Working Wi-Fi or Ethernet in Recovery Mode.
- Boot into macOS Recovery and connect to Wi-Fi.
- Open Terminal.
- Mount EFI:
diskutil mount disk0s1
- Download this Rescue Kit:
cd /tmp curl -L -o opencore-restore.zip https://codeload.github.com/supermarsx/opencore-restore/zip/refs/heads/main unzip opencore-restore.zip - Run the Automated Restore Script:
We have included a script to automate the process (detects EFI, backs up old files, installs new ones, and clears NVRAM).
Follow the on-screen prompts.
cd opencore-restore-main chmod +x restore.sh ./restore.sh
For complex scenarios, troubleshooting, and detailed explanations of every command, please read our full Restoration Guide.
YOU ARE ON YOUR OWN.
This software and guide are provided "AS IS", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
- Risk of Data Loss: Modifying EFI partitions and bootloaders carries a risk of rendering your system unbootable or causing data loss.
- Backup Required: Always backup your data before performing system modifications.
- Not Official: This is a community-maintained rescue kit and is not affiliated with Apple Inc. or the OpenCore project.