System always boots to grub prompt

17,491

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

Share:
17,491

Related videos on Youtube

DanielB
Author by

DanielB

Updated on September 18, 2022

Comments

  • DanielB
    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:

    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
      Jos almost 6 years
      I fixed it by setting BIOS parameter "UEFI/Legacy Boot" to "UEFI Only" and "CSM Support" to Yes.
    • DanielB
      DanielB almost 6 years
      @Jos Doesn't seem to work for me
    • oldfred
      oldfred almost 6 years
      What 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
      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
    DanielB almost 6 years
    Did a fresh install, confirmed GPT ( paste.ubuntu.com/p/7q5qB7PPhd ), still no good
  • Lucifer
    Lucifer almost 6 years
    Did it work after installing grub-efi-amd64 ??
  • oldfred
    oldfred almost 6 years
    There 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
    MERose over 4 years
    Would you mind editing your answer to a) remove the problem statement and b) tell us what exactly you edited?
  • Amin Shojaei
    Amin Shojaei over 3 years
    How can i install grub-efi-amd64?