Problem with Grub on installing

Hi I’m having a problem when installing, the grub wont install , it says unable to install grub in dummy.
But i had problem with installing other disctroes as well when it came to installing grub , because i have two sperate ssd (secure boot is disabled). For example i tried to install the EOS its based on arch and that happened, but i had a work around, i edited the = kate /usr/lib/calamares/modules/bootloader/main.py and added

else:
            check_target_env_call([libcalamares.job.configuration["grubInstall"],
                                   "--target=" + efi_target,
                                   "--efi-directory=" + efi_directory,
                                   "--bootloader-id=" + efi_bootloader_id,
                                   "--force",
                                   "--no-nvram"])

At line 655 and it fixed the problem, but i can’t do it here , any help?

Oh and for example , when i tried to install windows on the ssd no.2 it failed but when i unpluged the ssd.no1(linux) it worked, but i cant unplug the ssd no.1
And that my theory, because i think it doesn’t matter if they are on different ssds they will interfere with installation

I fixed it , by installing it in the removable bath(after couple of time trying the installer recommended that automatically) and updating the nvram to not boot into kali