I'm dual booting two distros that mount ESP as /boot instead of /boot/efi. It seems to me that os-prober works by checking every partition for /boot, and so if it finds it empty, it doesn't consider it an OS. So when I run os-prober from either distro, the other one is not detected.