I had a dual booot with Windows 10 and elementary, I also have a SSD in which windows 10 was installed and elementary was installed on a HDD. When I tried to install the new elementary distribution by erasing the partition and creating a new one for the new OS the installation program crashed at the grub installation, saying it was a fatal error, so I've decided to try with Ubuntu 18.04.1 and the same thing happens. I always select the SSD as the boot device. I've already tried to recover the boot with boot-repair but it won't work, it says it can't solve the problem and exits. I'm not sure this is a bug or if I'm doing something wrong,but I searched in forums for some days now and I haven't found nothing that helps me yet, I'd accept gladly any orientation to install any linux distribution on my system. Thanks
I've already filled a bug report in the last failed installation and I'm linking it here, if there's a problem just point it out and I will edit acordingly
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1800858