lb - 2021-07-05

After much experimentation and noticing the windows boot manager would overwrite refind no matter what I did.. here is my solution. I installed refind into the efi ubuntu partition using ubuntu. I created another partition and called it opencore. I copied the contents of the efi partition from mac os partition to the opencore partition. I renamed os_unknown.png icon to original_os_unknown.png and renamed the os_win.png icon to os_unknown.png icon. When refind boots and scans the opencore partition it pickes the os_unknown.png icon which gives me a windows icon for the opencore partition. I set MacOS system preferences to pick windows. I hid all refind boot options except the direct linux boot, the opencore boot from the opencore partition and the opencore boot from the mac os partion. Now when I boot, refind is never written over from the windows boot manager since opencore boots windows. I have 3 icons, windows, ubuntu and macos. If I pick windows, it goes into opencore. I hit enter again and it goes into windows 10. If I select ubuntu, it boots directly. If I pick mac os, it goes to opencore. I then have to pick the macos boot drive since the windows drive is the default (from system preferences in the MacOS. So.. it works well and eliminates the windows boot manager from overwriting refind in the NVRAM since opencore handles booting into windows.

Opencore improvements:

go into sounds in the macos and turn off startup sounds. this will turn off the chime when opencore starts.
also: copied from another site:
In the opencore config.plist on the mac EFI partition, , change the number at Misc->Security->ScanPolicy by subtracting 1024 from the number. This will turn off the Scan for EFI option. use Xcode or another similar editor to do it.
If you have zero in that field, set it to 17760515 (0x10F0103); The default setting.
When you select the Mac OS in refind, when opencore opens, it will only show the Mac OS drive to boot into.
The other windows entry showing in refind will be unaffected and boot into opencore and default to windows booting since it is in the opencore partition.

 

Last edit: lb 2021-07-05