OpenCore/Clover/rEFInd

Table of Contents

OpenCore

OpenCore is a UEFI boot loader (similar to Clover) and is very hardware dependent.

The config.plist needs to be correct for your particular target PC and it is not trivial to set up (see Guide here).

However, if you want to boot to the OpenCore boot loader from an E2B USB drive you must add the OpenCore files as follows:

  1. Copy the source EFI\OC folder to Partition 2 (which should be a FAT32 partition) at \EFI\OC
  2. Copy the \EFI\BOOT\BOOTX64.EFI file from your OC source to the same \EFI\OC folder on Partition 2
  3. Add your \EFI\OC\config.plist file (edit as required)

UEFI64 boot to the E2B agFM menu and browse to the \EFI\OC\BOOTX64.EFI file on Partition 2 and select it and press ENTER key.

If you are using your own startup menu, you can add the following entry into the \boot\grubfm\startup_menu.txt file:


if $EFI64; then
  if [ -f "(${user})/EFI/OC/BOOTX64.EFI" ] ; then
  menuentry "OpenCore (UEFI64)" --class=settings {
    set grubfm_file="(${user})/EFI/OC/BOOTX64.EFI"
    grubfm_open "${grubfm_file}"
  }
  fi
fi

An alternative solution would be to create a new FAT32 Partition 3 on the E2B USB drive and place the \EFI\OC files on that partition. If you want multiple OC partitions, then make a .imgPTNREP3 partition image file for each FAT32 partition that your require.

Clover

E2B already includes Clover. You can UEFI64-boot to Partition 2 of the E2B USB drive and from the agFM menu you can browse to and run \EFI\CLOVER\CLOVERX64.EFI. The config.plist file in the \EFI\CLOVER folder will be used. Note that the config.plist file will be overwritten if you update agFM/E2B, so make a backup of it in the same folder if you have edited it so you can restore the file after an update!

You can add the following grub2 menu entry to your \boot\grubfm\startup_menu.txt file if you want a menu entry in the agFM menu to be listed for Clover:

if $EFI64; then
	if [ -f "(${user})/EFI/CLOVER/CLOVERX64.EFI" ] ; then
		menuentry "Clover (UEFI64)" --class=settings {
		set grubfm_file="(${user})/EFI/CLOVER/CLOVERX64.EFI"
		grubfm_open "${grubfm_file}"
		}
	fi
fi

rEFInd

The rEFInd UEFI boot manager is also included in agFM on Partition 2 at \EFI\REFIND. The configuration file is refind.conf (make a copy if you need to edit it as an update will replace it!).

You can add the menu entries to load rEFInd into your own startup_menu.txt file as follows:

if $EFI64; then
	if [ -f "(${user})/EFI/refind/BOOTX64_refind.EFI" ] ; then
		menuentry "rEFInd (UEFI64)" --class=uefi {
		set grubfm_file="(${user})/EFI/refind/BOOTX64_refind.EFI"
		grubfm_open "${grubfm_file}"
		}
	fi
fi
if $EFI32; then
	if [ -f "(${user})/EFI/refind/BOOTIA32_refind.EFI" ] ; then
		menuentry "rEFInd (UEFI32)" --class=uefi {
		set grubfm_file="(${user})/EFI/refind/BOOTIA32_refind.EFI"
		grubfm_open "${grubfm_file}"
		}
	fi
fi

Multi-buy discount 10%

eBooks (in PDF format)

Easy-to-read eBooks are available in PDF format (each eBook is over 100 pages) – rated 4.5/5 stars.
Learn the secrets of Legacy and UEFI USB booting and then make your perfect multiboot USB drive.
E2B eBook #1 includes instructions on how to remove the E2B 5-second start-up delay blue screen.

E2B is unique in that it uses partition images which allows you to directly boot from Secure Boot images (no need to disable Secure Boot or run MOK manager or modify your UEFI BIOS).

Most eBooks are over 100 pages long, contain original content (not AI generated!) and step-by-step exercises which are suitable for both the beginner or the more experienced user.
Customer reviews are located at bottom of each eBook product page and multi-buy discounts are available when you buy more than one eBook. Please also visit RMPrepUSB.com and the E2B Forum.
Subscribe to my blog for the latest news, tips, USB boot articles and free eBook updates.