OpenCore Recovery CD (using a new AMD dGPU)
Following the guide from this
post I created an recovery CD which is able to boot OpenCore by pressing the
C button on boot. Of course you need to have the DVD still installed within your iMac!
To get a valid OpenCore EFI folder I used the latest
OCLP TUI app. Because the recovery CD expects to have the boot.efi program located in the EFI/BOOT folder and have a name BOOTx64.efi you need to use configure this using the following steps (possibly it may work with the normal config, too)
- Ustart the TUI app
- select 5. Patcher Settings
- select 14. Advanced Patch Settings, for developers only (scary, right?)
- select 4. Set Generic Bootstrap
- select 2. EFI/BOOT/BOOTx64.efi
- select Q
- select Q
- select 1. Build OpenCore
- select 2. Install OpenCore to USB/internal drive
- follow the steps to write the new EFI to the disk of choice
Now mount the EFI volume (of your choice) and use the folder named EFI located in /Volumes/EFI to write to the CD image, create the CD. You do not need to change the
RequestBootVarRouting
value!
On reboot you can now do a PRAM reset and directly after the chime press and hold C to boot from the CD instead of the internal EFI folder.
(Note: A smart choice would be to disable SIP and SBM on this Recovery CD)
Why doing all this?
Now you can survive any corruption of the internal OpenCore configuration because you have a fall back and booting from OpenCore is for AMD users not having an EFI boot screen right now the only way to force a boot selection. On boot press C to boot from the CD and than use the OC boot picker to boot your macOS or Windows installations and fix the internal OpenCore either by using the one from the CD or edit your config manually.
I have already a working OC config, how can I use it?
Alternative: If you have already a working OC config you can mount the EFI volume, create manually the
/Volume/EFI/EFI/BOOT
folder and copy the file
/Volume/EFI/System/Library/CoreServices/boot.efi
and rename it to
BOOTx64.efi
.
Do I have to create a new CD with every OpenCore updates, again?
No!
I have multiple different iMacs with AMD dGPU, can I use the same recovery CD?
Difficult to promise in general! When using OCLP to generate the OpenCore these versions are pretty unique to the particular iMac model and you may miss some features booting of a CD. It is worth a try before you start to create a bunch of CDs.
Disclaimer:
I may edit this post and after checking the functionality with more than one iMac I may also add a single prepared ISO image for AMD users.