How to dual boot EndeavorOS and openSUSE

I created the menuentry in /etc/grub.d/40_custom.

menuentry "openSUSE" {
        set root="hd2,gpt1"
        chainloader /boot/efi/EFI/opensuse/grubx64.efi
}

But when trying to boot it grub claims that it can not find the path. This is the correct path:

isak@motherbrain /e/grub.d> sudo ls -al /boot/efi/EFI/opensuse/grubx64.efi
-rwx------ 1 root root 315392 14 sep 18.48 /boot/efi/EFI/opensuse/grubx64.efi

But looking in efibootmgr -v the path is /EFI/opensuse/grubx64.efi I find this odd. My EFI partitions is mounted at /boot/efi.
What am I doing wrong here?