1

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?

2 Answers2

1

Use Grub customizer. It is a GUI, very easy to use.

Note that for Ubuntu 20 you don't need to add any external ppa as indicated in some sources. You can simply install it with

sudo apt-get update
sudo apt-get install grub-customizer

Otherwise, operation is very easy and you can use the linked pages as a reference.

0

this can be fixed with one command in your Linux terminal

sudo grub-install /dev/sda