This is not critical but to comply with the FreeBSD default UEFI boot configuration.At firs it was telling me an error on the path but soon I was able to find the real path to the efi boot file which was:
/boot/efi/EFI/BOOT/BOOTX64.efi/CMD]
/boot/efi/EFI/BOOT/BOOTX64.efi is OK, except it is not the default FreeBSD efi loaders configuration.
When the installation is guided, the installer (FreeBSD system installer bsdinstall(8)) creates two paths with the same efi loader in the EFI System Partition:
Code:
efi/boot/bootx64.efi
efi/freebsd/loader.efi
Additionally, the FreeBSD installer specifies loader.efi as the kernel loader explicitly, and is also used as the loader in a UEFI Boot Manager entry (created automatically in a guided installation),i.e. on a Root-on-ZFS installation:
Rich (BB code):
efibootmgr -v
...
+Boot0004* FreeBSD HD(1,GPT,9cd66e2f-d9f0-11ee-ac5f-0800273b7f5c,0x28,0x82000)/File(\efi\freebsd\loader.efi)
gpt/efiboot0:/efi/freebsd/loader.efi /boot/efi//efi/freebsd/loader.efi
...
loader.efi(8)
Rich (BB code):
FILES
/boot/loader.efi The location of the UEFI kernel loader within the
system.
EFI System Partition
loader.efi is installed on the ESP (EFI System Partition) in one of the
following locations:
efi/boot/bootXXX.efi The default location for any EFI loader (see
uefi(8) for values to replace ‘XXX’ with).
efi/freebsd/loader.efi The location reserved specifically for the
FreeBSD EFI loader.
The default location for the ESP mount point is documented in hier(7).
Side note, the ESP's file system being MS-DOS FAT32, which is not case sensitive, there is no need to set names in capital letters.