Friday 22 January 2021

Add rEFInd to agFM

Clover identifies EFI files on all partitions.
You can also add your own menu entries if you wish.

If you want to add rEFInd to your Easy2Boot USB drive, then you can download the current rEFInd files to the \EFI\refind folder, rename the bootx64 and bootia32 .efi files and then simply add all the files to the 2nd FAT32 partition (agFM partition) of your E2B USB drive.

You can configure the rEFInd menu by editing the \EFI\refind\refind.conf text file.

Instructions

Note: agFm v1.70 now includes the \EFI\refind files by default.

You will need to add the following lines to your \boot\grubfm\startup_menu.txt  menu file (if you have one):

if $EFI64; then
if [ -f "(${user})/EFI/refind/BOOTX64_refind.EFI" ] ; then
menuentry "rEFInd (UEFI64)" --class=settings {
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=settings {
set grubfm_file="(${user})/EFI/refind/BOOTIA32_refind.EFI"
grubfm_open "${grubfm_file}"
}
fi
fi

You should now be able to see a new option for rEFInd when you UEFI-boot to the agFM menu:


4 comments:

  1. Could you please explain the main features of rEFInd bootloader.

    ReplyDelete
  2. Latest version of agfm has warm reboot and cold reboot, and even two choices for halt command in uefi mode, So what is the difference???

    ReplyDelete
    Replies
    1. warm reboot may be faster on some systems than cold reboot (POST startup diagnostics may be skipped so faster on servers). Two halt commands in case one does not work on some systems.

      Delete