Hi,
here is a solution grub2 on deb10.
/etc/grub.d/15_batocera
!/bin/sh
exec tail -n +3 $0
menuentry "Batocera" {
set root='hd4,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd4,gpt1 --hint-e$
else
search --no-floppy --fs-uuid --set=root B704-7B41
fi
chainloader /EFI/BOOT/bootx64.efi
}
disk ID comes from #blkid cmd
/dev/sdc1: LABEL="BATOCERA" UUID="B704-7B41" TYPE="vfat" PARTLABEL="vfat" PARTUUID="2fbddaca-d8e2-4977-9a97-cf103b31babe"
make sure to change set root='hdx,xxx' to match your HD setup
PS: it works when u have installed batocera on a dedicated HD.