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:
- Copy the source EFI\OC folder to Partition 2 (which should be a FAT32 partition) at \EFI\OC
- Copy the \EFI\BOOT\BOOTX64.EFI file from your OC source to the same \EFI\OC folder on Partition 2
- 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