Created
September 19, 2019 12:34
-
-
Save asheroto/0a632ccde31f67476a50ef54889fdb03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
While in the rescue mode, type these commands: | |
set root=(hd0,1) | |
set prefix=(hd0,1)/boot/grub | |
insmod normal | |
normal | |
If you get an error on any of them, change the hd,1 to hd,2 or hd,3, etc until you don't get an error | |
Once booted into the OS, run these two commands to make it stick: | |
sudo update-grub | |
sudo grub-install /dev/sda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment