System always boots to grub prompt
Solution 1
I needed to install grub-efi-amd64
, system then booted as expected.
See https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1775743#yui_3_10_3_1_1531236190615_547 and comment #21 by Jean-Baptiste Lallement (jibel)
Solution 2
I had same issue. Solved by manual partitioning of hard disk within installer. I chose partition1 /dev/sda1 type efi size 1023 type boot. Partition 2 type swap size 2xRAM e.g 16384. Partition 3 ext4 / remaining. But i believe wher it all ends in tears is that one needs to select at bottom of screen boot=/dev/sda1 NOT boot=/dev/sda
Related videos on Youtube
DanielB
Updated on September 18, 2022Comments
-
DanielB over 1 year
After installing a fresh copy of Ubuntu 18.04 Desktop, I am shown the grub prompt at boot.
I've tried:
- boot-repair tool within liveUSB: https://paste.ubuntu.com/p/6Q3ndws93b/
- Re-install grub from liveUSB: https://paste.ubuntu.com/p/GrCKTgbjRm/
- manually booting ( https://paste.ubuntu.com/p/j89ZK9Jgdx/ ) and using boot-repair ( https://paste.ubuntu.com/p/knYGTtwkWz/ )
But I am still shown the grub prompt at each boot.
How can I fix grub so that it automatically starts the installed system?
-
Jos almost 6 yearsI fixed it by setting BIOS parameter "UEFI/Legacy Boot" to "UEFI Only" and "CSM Support" to Yes.
-
DanielB almost 6 years@Jos Doesn't seem to work for me
-
oldfred almost 6 yearsWhat brand/model system. Some require work arounds. But you are showing grub entry, not typical Ubuntu entry. If not from another install like Debian, grub is not correct. I installed 18.10 and got a similar grub entry, but it used my default /EFI/ubuntu/grub.cfg file, not the /EFI/grub/grub.cfg file for 18.10. You do not have /EFI/ubuntu folder in ESP? If not copy all of /EFI/grub to /EFI/ubuntu. You may only need grub.cfg for it to work. Please post this bug, if grub UEFI entry is from Ubuntu, not another install: bugs.launchpad.net/ubuntu/+source/grub2/+bug/1775743
-
DanielB almost 6 years@oldfred - custom build, had no /EFI/ubuntu/grub.cfg ( paste.ubuntu.com/p/82bFbST6xw ). That ticket mentioned grub-efi-amd64 was missing and sure enough installing it fixes my issue! Thanks.
-
DanielB almost 6 yearsDid a fresh install, confirmed GPT ( paste.ubuntu.com/p/7q5qB7PPhd ), still no good
-
Lucifer almost 6 yearsDid it work after installing grub-efi-amd64 ??
-
oldfred almost 6 yearsThere is now a separate bug for 18.04. bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1781042 Please add to it, to get it prioritized. Seems strange that installer updates install a "bad" version of grub that installs to /EFI/grub, but manually booting and updating grub works as /EFI/ubuntu?
-
MERose over 4 yearsWould you mind editing your answer to a) remove the problem statement and b) tell us what exactly you edited?
-
Amin Shojaei over 3 yearsHow can i install grub-efi-amd64?