I installed Ubuntu 18.10 alongside Windows 10.
When I boot, I see grub, and I can boot into Ubuntu. But if I choose Windows from the grub menu, I get an error message saying that BCD is missing. Now, I can fix that with my Macrium Reflect CD, if I boot it EFI (my AMI BIOS is very temperamental about booting removable media as EFI). It fixes Windows, but then, grub is gone, and the only way I can get to Ubuntu is by manually selecting it in BIOS.
I tried running boot-repair. When I run it from my Ubuntu installation, it complains that I did not boot efi. If I run it from DVD, either my BIOS fails to boot it EFI, or it fails to repair.
I tried changing BIOS from efi to legacy, but that didn't help much. Here is log:
sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\Microsoft\Boot\bootmgfw.efi" -d /dev/sda -p 2
or use your Windows repair console to fix. – oldfred Nov 28 '18 at 19:11Reboot the machine and it should work.
Hope that helps." https://askubuntu.com/questions/1085550/cant-install-ubuntu-18-10-on-xps-15-efi-boot-mmx-64-not-found Then, boot-repair running from Ubuntu on flash drive was able to fix it.
– shmu Nov 30 '18 at 05:52