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 need to edit it!
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
OpenCore is similar to Clover and is highly 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 EFI\OC folder to Partition 2 (which should be FAT32) 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
https://easy2boot.xyz/create-your-website-with-blocks/add-payload-files/opencore/
No comments:
Post a Comment