How to Correctly Copy and Register Your Hackintosh EFI on the Internal Drive
After successfully installing macOS, many users find that the system only boots when the USB installer drive is connected. This happens because the EFI folder has not yet been copied to the internal disk's EFI System Partition (ESP), or the system firmware hasn't registered the new boot option.
1. Prerequisites
- Target OS & Hardware: Works across all macOS versions (from High Sierra to Sequoia/Tahoe) on any standard OpenCore PC or Mac.
- Requirements: A working USB installer drive that can boot your system, and access to the macOS desktop.
- Tools: MountEFI script, Hackintool, or the macOS Terminal.
2. Compatibility Snapshot
- Firmware types: Requires a modern motherboard configured in UEFI mode. Legacy BIOS setups require additional steps (like installing BootDuet).
- Risks: Deleting existing bootloader files (like Windows Boot Manager) if they share the same EFI partition.
3. Installation Preparation
- Identify the disks: Open Terminal and run
diskutil listto locate your boot USB and your internal SSD. Note the identifier of the EFI partitions (usuallydisk0s1ordisk1s1). - Prepare the target partition: The internal EFI partition must be formatted as FAT32. If it is already formatted, do not format it again, as it might contain other OS boot files.
4. EFI and config.plist Review
- Verify Bootloader: Ensure your EFI folder on the USB contains the correct folders:
BOOTandOC. - LauncherOption: In your
config.plist, checkMisc -> Boot -> LauncherOption. Setting this toFullallows OpenCore to automatically register itself in your motherboard's UEFI boot options.
5. Post-Installation
- Mount USB EFI: Run MountEFI or use terminal to mount the USB drive's EFI partition. Copy the
EFIfolder to your desktop. - Mount SSD EFI: Unmount the USB EFI, mount the internal SSD EFI partition, and paste the
EFIfolder there. - Structure Verification: The final path on your SSD must look exactly like
/Volumes/EFI/EFI/OC/OpenCore.efi. Avoid placing the folder structure as/Volumes/EFI/EFI/EFI/OC.
6. Troubleshooting
Reported Issue: OS does not boot without USB
- Reset NVRAM: Reboot your computer, press Spacebar at the OpenCore picker, and select Reset NVRAM. This clears old UEFI boot variables.
- UEFI Boot Priority: Enter your BIOS settings, navigate to the Boot section, and set the internal SSD (specifically the UEFI OpenCore option) as the first boot option.
- CSM/Legacy: Ensure CSM (Compatibility Support Module) is disabled in your BIOS. OpenCore requires native UEFI mode to boot correctly from the internal ESP.
7. Dual Boot and Advanced Configuration
- Windows on same drive: If Windows is on the same drive, you will see a
Microsoftfolder inside theEFIdirectory. Do NOT delete this folder. Simply merge theEFIfolders. - bcfg tool: If the motherboard firmware fails to see OpenCore, boot into the EFI shell from OpenCore tools and manually add the boot option using:
bcfg boot add 0 fs0:\EFI\BOOT\BOOTX64.EFI "OpenCore Bootloader".
8. Verification, Maintenance and Rollback
- Test boot: Shut down the computer, remove the USB drive, and turn it on to verify that OpenCore loads automatically from the internal drive.
- Rollback plan: Keep your working USB installer in a safe place. If your internal EFI becomes corrupted during updates, you can always use the USB to boot and repair it.
9. References and Glossary
- ESP: EFI System Partition, a FAT32 partition where bootloaders reside.
- LauncherOption: An OpenCore feature that writes a boot entry directly to the motherboard's NVRAM.
Original Question: "Passing EFI to ESP went wrong"
Passing EFI to ESP went wrong
| I was passing my usb drive's EFI but when booting it doesn't show up macos but in the usb it does [link] [comments] |
Post a Comment