How to retore grub after reinstall your windows
Posted on November 25, 2008
Maybe you have windows and ubuntu on you computer,If you reinstall your windows ,you will find that the grub lost,then how to restore your grub,in fact it’s very simple.You only need you ubuntu live cd.
1.Put your ubuntu live cd to your cdrom,then boot from cd to your ubuntu desktop
2.Press Ctl+Alt+F1 to open a new tty
3.Input command “sudo grub”
4.Input command “find /boot/grub/stage1″
5.Input command “root (hdx,y)” # x and y are the outcome of the last command
6.Input command “setup (hdx)”
7.Quit and reboot your computer(take out your ubuntu live cd)
Below is an example:
sudo grub find /boot/grub/stage1 (hd0,3) root (hd0,3) setup (hd0) quit
Popularity: 2% [?]
Related Posts:
» Filed Under Linux
Comments
One Response to “How to retore grub after reinstall your windows”
Leave a Reply
Thanks,I will have a try