How To Fix GRUB Boot Error in Ubuntu
Fix and repair the boot or start GRUB of your Ubuntu.
The fundamental component in Linux environments for us to have the right access is the GRUB boot loader.
GRUB or GNU GRUB is responsible for loading the kernel of the system allowing us to choose which operating system to use, in case of having more than one, to access more administrative functions on startup.
To check if we can access the GRUB , in this case on Ubuntu 16.10 , by booting the system and pressing the Shift key, we should see the following:
If we don't access this window, it means that we will have some problem with the GRUB bootloader and it will be necessary to take measures to correct it and this tutorial will show you some useful ways to carry out this process.
Repair GRUB with Boot Repair
In case the GRUB fails in our Ubuntu it will be necessary to restart the system with an installation disk, or a bootable USB with the system image, and access a live or live environment.
Once there we go to the terminal and add the following repository which will be useful to install the application that will allow us to run the boot repair tool:
sudo apt-add-repository ppa:yannubuntu/boot-repair
Update the repository packages using the following command:
sudo apt update
Once updated, we proceed to install the tool by executing the following line:
sudo apt-get install -y boot-repair
After the tool has been installed we continue to its execution using the following command:
We will see that starts the analysis of the tool.
Once you have completed your analysis we will have access to the application. There we can choose some of the available options being the “Recommended repair” option the most practical and useful for fixing the GRUB in Ubuntu.
With this option, we can recover the GRUB bootloader in a simple way and enjoy a right boot of Ubuntu again.