1

Earlier today I was upgrading my computer from Ubuntu 19.04 to 19.10. The update temporarily broke my computer, booting into GRUB safe mode. With the accepted answer from grub error: you need to load kernel first I was able to load the kernel, specifically the following snippet:

insmod linux linux /vmlinuz root=/dev/sda2 initrd /initrd.img boot

That allowed me to load into my OS, and I used the solution proposed in Login loop on Ubuntu 19.10 to help me finish updating. Now, my computer works fine, but I still need to input the code that to which I referred earlier. How can I have it so that it will automatically boot into my Ubuntu kernel?

EDIT: Thankfully solved by the comments below.

connordaniel
  • 31
  • 1
  • 1
  • 5

1 Answers1

2

I solved the problem using Freddy's comments, specifically sudo grub-install /dev/sda and then sudo update-grub.

connordaniel
  • 31
  • 1
  • 1
  • 5