Grub loads instead of Ubuntu whenever my HP streambook reboots

I recently decided to install Ubuntu on an old HP streambook I had lying around. I ran into an issue where, instead of booting Ubuntu, it would stay in grub. I don't have much experience with linux, but I was able to get Ubuntu to boot up by using the directions provided in the answer to this posted question, but I find that, whenever my system reboots, it goes back to booting into grub. How do I get it to boot into Ubuntu automatically?


Solution 1:

It is UEFI and you show grub not UEFI. See these bug reports, they seem to have rolled out a version of grub efi boot that uses /EFI/grub (used by Debian) not standard Ubuntu /EFI/ubuntu: Ubuntu 18.04 similar error /EFI/grub

https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1781042

Ubuntu 18.10 Cosmic installed /EFI/grub

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1775743

Can you manually boot? Your install is in /dev/mmcblk0p2 so in grub that is gpt2.

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

Then once booted run these:

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