Rigo's Blog Linux The Future In Your Hands

28 Apr/09 0

Recovering GRUB after installing Windows

Often, if we have Linux installed on our computer and then install Windows, the same erase our Grub therefore not be able to enter our Linux as we did previously. This came just after installing Windows 7 so I started trying to remember how it was that was done and after doing a little searching, I managed to find how. For the next tutorial, you need a live CD.

1) Insert the live CD of ubuntu, kubuntu, etc ... and booting.

2) As soon start to finish we go to Applications> Accessories> Terminal.

3) Now to get the grub we must proceed to write the following commands (the ones in bold) in the terminal.

  • sudo grub (grub mode to enter.)
  • find / boot/grub/stage1 (This will search the boot partition. We will give a result which we have copied for the next command.)
  • root (hd0, 0) (Replace hd0, 0 by the value obtained in the above command.)
  • setup (hd0) (This will install the grub.)
  • quit (to exit.)

With this, the next time you reboot, you'll have your grub and we wanted to access our Linux again.

Source | MakeTechEasier
Seen | Gabuntu

Comments (0) Trackbars (0)

No Comments Yet.


Leave a comment


Trackbacks yet.