Installed ubuntu 20.04 and every time I turn on the machine it starts on grub command line mode.then I have to type "exit" and select the right disk to boot from(which is "Notebook Hard drive".it works this way. I have tried to edit BIOS setting and put "Notebook Hard drive" in first place ,it didn't work. My device is hp notebook,in which both uefi and legacy mode is enabled for boot.
I also have installed boot repair from here
this is the diagnostic result https://paste.ubuntu.com/p/bg6QY2S4qk/
reinstalling grub solved my problem. link below for how to reinstall grub https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
I had this issue today on a Thinkpad w540... for reasons unknown every time I tried booting it went to the grub prompt. Finally in frustration I removed the battery. about an hour later I put the battery back in and it booted up just fine
For those who manually partition your disk, you need to make sure EFI system partition exists before clicking the button
install now
, otherwise you may end up hitting the GRUB command line interface after installation. this article describes how to set up the partitions.