This is what I suspect happened. I had a 2012 iMac with Catalina that was showing signs of a severe hard drive issue. I took it to a local computer repair shop who returned it saying that they had managed to get it working but thought that it might soon fail totally. They said that they had installed Sonoma which surprised me as I thought that Catalina was the most recent OS that could be installed.
After about a week, the iMac failed totally so I bought a brand-new M3 iMac with Ventura installed. From a Time Machine backup of the old computer, I copied Documents and a very small number of apps to the new iMac. I did not use Migration Assistant and saw nothing that indicated Opencore Legacy Patcher but I surmise that this came from the old computer. Neither the Time Machine backup nor “Applications” on the new computer show the Opencore Legacy app but I have round it in Library/Application Support/Dortania folder.
Dortania give the following instructions for removal:
Uninstalling OpenCore
Uninstalling the bootloader
- Remove OpenCore either from the USB or internal drive
- You'll need to mount the drive's EFI partition, and delete the EFI/OC and System folders
- Reset NVRAM(opens new window)
WARNING
Note that after you remove OpenCore, your Mac will no longer boot and show the "prohibited" symbol. Be ready to install an natively-supported version of macOS before you uninstall OpenCore.
- This does not apply to native Macs just using OpenCore to achieve features like AirPlay to Mac and Sidecar, but it is still recommended to reinstall macOS after removing OpenCore, if using SMBIOS spoofing to enable Univeral Control.
Uninstalling the application
If you want to remove the application without reinstalling the OS, navigate to /Library/Application Support/ and delete the Dortania folder.
Removing the app seems straightforward but, quite frankly, I have little idea what removing the bootloader means and what effect it might have on my machine. I would be grateful for any advice in non-technical terms.