Ubuntu – PC still booting on GNU GRUB even after boot-repair


I have an issue on my Asus. After I runned boot-repair on USB live, after rebooting the same message of Grub GNU 2.0 appears "minimal bash like-line editing is supported…"

I don't know what to do,

Here is the link http://paste.ubuntu.com/p/D9JQcvy33S/

The message says "Please do not forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!", but I don't know how to do that.

Thank you,

Best Answer

Your UEFI update created /EFI/grub not updating /EFI/ubuntu. You can move /EFI/grub/grub.cfg to /EFI/ubuntu/grub.cfg and boot grub UEFI entry. Ubuntu UEFI grub boot expects to use & find grub.cfg in /EFI/ubuntu. The ubuntu entry has an old GUID, so will not work.

Are you at this: grub>

If so manually boot with:

set root=(hd2,gpt2)
configfile /boot/grub/grub.cfg

Note that in report install was in sdc (hd2), but if you unplug flash drive it will be hd1, and when originally installed it was sda or in grub hd0, so you may have to experiment on which actually works. then see if the reinstall of grub works.

sudo apt-get install grub-efi-amd64
sudo update-grub

See also: Grub loads instead of Ubuntu whenever my HP streambook reboots