Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 2.78 KB

refind.md

File metadata and controls

70 lines (44 loc) · 2.78 KB

Setting up rEFInd

  • We do not support the use of rEFInd with OpenCore, this is just to shut up those who won't stop complaining that OpenCore injects data into all OSes but for some reason are too lazy to press F8 at boot. Using rEFInd can break both bless and Startup Disk, and can be concidered a security risk.
  • Please note that rEFInd has also been know to break macOS booting

To get started we're going to need:

  • Working copy of either Linux or Windows(we won't be setting up rEFind in macOS besides the basic files, you must run the scripts in Windows or Linux)
  • rEFInd files

And depending on your preferred OS, you've got a couple options for setting up rEFInd:

macOS Setup

  • Mount your system's EFI
  • Move OpenCore's BOOTx64.efi to EFI/OC/
  • Rename refind_x64.efi to BOOTx64.efi
  • Move rEFInd's BOOTx64.efito EFI/BOOT
  • Add the folders drivers_x64, tools_x64 and icons to EFI/BOOT
  • Grab refind.conf-sample and add it to EFI/BOOT
  • Rename refind.conf-sampleto refind.conf

Once done, you should get something like this:

Note that the refind-install isn't supported due to well not running a real Mac

Linux Setup

It's super simple on Linux, but make sure you're booted through the BIOS and not OpenCore to avoid any issues.

  • Run refind-install and go through the setup

If you have issues with installation, see Installing rEFInd Manually Using Linux

rEFInd Configuration

Now that rEFInd's installed, we'll want to grab the refind.conf-sample and rename it to refind.conf if you haven't already. Next open it up in a text editor and scroll to the bottom of the file, you'll find some example bootloader setups. For us we care about adding OpenCore to the picker, note that Bootstrap.efi must be booted first before OpenCore.

Example of a refind.conf supporting OpenCore, Arch and Windows:

timeout 10

menuentry "trashOS" {
    loader \EFI\OC\Bootstrap\Bootstrap.efi
}

menuentry "i uSe aRcH bTw" {
    loader \EFI\arch\grubx64.efi
}

menuentry "Winblows" {
    loader \EFI\Microsoft\Boot\bootmgfw.efi
}

scanfor manual,external

For those who want the OpenCore icon, you can grab the original files from OpenCorePkg repo: OpenCore logo

  • Note that rEFInd expects a 128x128 PNG for icons