I activated the Nvidia proprietary driver in ubuntu 10.04, and it caused a problem in my grub where I get the error

Code:
error: hd0,5 out of disk
grub rescue>
I do not have the output of my fdisk, but my ubuntu was installed on a 12 gigabyte partition. I would appreciate any advice on how to proceed from here.