Ubuntu 19.10 boots into GRUB and I have to manually load the kernel. How do I have it load automatically?

8,668

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

Share:
8,668

Related videos on Youtube

connordaniel
Author by

connordaniel

Updated on September 18, 2022

Comments

  • connordaniel
    connordaniel over 1 year

    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.

    • Freddy
      Freddy about 4 years
      Have you tried sudo update-grub to update your /boot/grub/grub.cfg?
    • connordaniel
      connordaniel about 4 years
      I'm getting /usr/sbin/grub-probe: error: failed to get canonical path of 'dev/sda2'. right now.
    • Freddy
      Freddy about 4 years
      That sounds really broken. Can you try a reinstall with sudo grub-install /dev/sda (assuming /dev/sda is the target drive) followed by sudo update-grub?
    • connordaniel
      connordaniel about 4 years
      That did it! Thank you so much for your help.
    • Freddy
      Freddy about 4 years
      Would you mind to write a short self-answer to your question? Comments can be deleted and are not a reliable source. Thank you!