I have Windows 10 installed on SSD (240GB plugged in sata express slot) and then I have plugged M.2 SSD (240GB) to install Ubuntu 18.04 on it. In the end of installing Ubuntu 18.04 the setup program gives message about failing to install bootloader. GParted shows initial partitions including Windows on /dev/sdb and Ubuntu related partition - on /dev/sda. I have googled and looked through some articles about dual booting but I have no idea how to solve this issue.
Thanks in advance.