Recovering GRUB after installing Windows
It often happens that if we have Linux installed on our computer and then install Windows, it will erase our Grub so we will not be able to enter our Linux as we did previously. This came just after installing Windows 7 so I started to try to remember how it was that was done and after doing a little research, I managed to find how. For the next tutorial, you need a live CD.
1) Insert the Live CD of ubuntu, kubuntu, etc ... and boots.
2) As soon start to finish we go to Applications> Accesories> Terminal.
3) Now to recover the grub we must proceed to write the following commands (the ones in bold) in the terminal.
- sudo grub (grub To enter standby mode.)
- find / boot/grub/stage1 (This will search the boot partition. We will give a result which we copied for the next command.)
- root (hd0, 0) (Replaces hd0, 0 for the value obtained in the previous command.)
- setup (hd0) (This will install the grub.)
- quit (to exit.)
With this, the next time you reboot, we will have our grub and we wanted to access our Linux again.
Source | MakeTechEasier
Seen | Gabuntu








































