Did a fresh install of 18.04 alongside Windows 10 (UEFI). Now my system boots only into grub2 commandline.
I am able to boot into both windows by executing
> chainloader (hd0,gpt1)/efi/Microsoft/bootmfgw.efi
and ubuntu by executing
> set prefix=(hd0,gpt6)/boot/grub
> set root=(hd0,gpt6)
> insmod linux
> insmod normal
I ran grub-install, boot repair several times after booting into ubuntu, but to no effect. I still keep booting into grub commandline.
Any help is appreciated. Boot repair pastebin - http://paste.ubuntu.com/p/64X9XmshBJ
Edit - ** tried these and did not work**:
grub-install with grub-efi-amd4
grub install from live usb
boot-repair from live usb or ubuntu
fresh install of 18.04 again lands in grub manual