- Boot the computer using an Ubuntu live CD
- Open a terminal and type
sudo grub grub>find /boot/grub/stage1
This will bring up a list of partitions, example : (hd0,1) = it will be different on your system.
- type the following commands in the terminal
root (hd0,1) setup (hd0)
This will display text similar to the one below
Checking if “/boot/grub/stage1? exists… yes
Checking if “/boot/grub/stage2? exists… yes
Checking if “/boot/grub/e2fs_stage1_5? exists… yes
Running “embed /boot/grub/e2fs_stage1_5 (hd0)”… 16 sectors are embedded.
succeeded
Running “install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,)/boot/grub/stage2
/boot/grub/menu.lst”… succeeded
Done. - type quit
- type reboot