Every time I boot into Ubuntu (not dual boot, only have one OS installed) it boots me into the GRUB rescue prompt. I fix it every time with the same commands:
set root=(hd0,msdos5)
set prefix=(hd0,msdos5)/boot/grub
insmod normal
normal
I can use the set
command to see that it defaults the prefix and root to (hd0,msdos1)
. How can I set it to start from (hd0,msdos5)
at boot?
sudo update-grub
– Master_Nachi May 23 '21 at 18:59sudo grub-install
. If not using boot repair from live installer, then you have to mount partitions, / (root) and nay other system partition and then install grub to those or full chroot to mount everything. – oldfred May 24 '21 at 02:45