Ubuntu 19.10 boots into GRUB and I have to manually load the kernel. How do I have it load automatically?
I solved the problem using Freddy's comments, specifically sudo grub-install /dev/sda
and then sudo update-grub
.
Related videos on Youtube
connordaniel
Updated on September 18, 2022Comments
-
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 about 4 yearsHave you tried
sudo update-grub
to update your/boot/grub/grub.cfg
? -
connordaniel about 4 yearsI'm getting
/usr/sbin/grub-probe: error: failed to get canonical path of 'dev/sda2'.
right now. -
Freddy about 4 yearsThat sounds really broken. Can you try a reinstall with
sudo grub-install /dev/sda
(assuming/dev/sda
is the target drive) followed bysudo update-grub
? -
connordaniel about 4 yearsThat did it! Thank you so much for your help.
-
Freddy about 4 yearsWould you mind to write a short self-answer to your question? Comments can be deleted and are not a reliable source. Thank you!
-