I bought a laptop Lenovo IdeaPad S145 which came pre-installed with Windows 10. Then I prepared an Ubuntu 18.04.4 LTS bootable usb drive and installed Ubuntu alongside Windows 10. To make it happen I had to modify "Boot mode" to "Legacy support". Now if I have to boot Windows then "Boot mode" should be "UEFI" and for Ubuntu "Legacy mode". I tried fixing it using boot-repair but boot repair already shows "separate /boot/efi/ partition" and selected the efi partition present on SSD. I have created summary using boot-repair http://paste.ubuntu.com/p/hp7nGk3xjQ/ Please suggest me how can I enable a dual boot in grub menu.
I have had this problem with certain laptops. My usual solution is.
Set boot mode to UEFI. Plug in the Ubuntu install/live usb drive. Don't boot, go into boot order menu. There should be an entry for OEM manufacturer install or something similarly named. Go into that and follow installation instructions.Take care of the extra partitions u need to create here, from the usual Ubuntu install.
This solution has usually worked for me and is a quick fix.(Do explore other options if you have the time)
hope it helps you today.