To restore grub, boot the Ubuntu LiveCD and run these commands.
$ sudo grub
grub> find /boot/grub/stage1
(hd0,1) <- This will vary depending on your system
grub> root (hd0,1) <- Use what was displayed from the previous command
grub> setup (hd0)
grub> quit
|