EFI CMD to boot on new debian vm on truenas
sh
FS0:
cd ./EFI/debian
mv ./grubx64.efi ./bootx64.efi
cd ..
mkdir boot
mv ./debian/BOOTX64.EFI ./boot/