View Full Version : [ubuntu] Installing GRUB

Felix Lionheart
January 20th, 2009, 10:34 PM
Hello, I formatted and reinstalled Windows Vista to find out that it deleted GRUB meaning I can't boot Ubuntu. Is it possible to install or recover GRUB?

January 20th, 2009, 10:40 PM

January 20th, 2009, 10:41 PM
Yes, you can use the installer cd to do that. You open a terminal and type:

sudo grub

and search for the location of your boot partition:

find /boot/grub/stage1

Then you do:

setup (hd0)

to reinstall grub (change the 0 to the disk that was given in the previous step)

and exit the program with "quit"

Felix Lionheart
January 20th, 2009, 10:43 PM