This is the first time this has happened to me. I don't use Linux on a regular basis, except for some project work.I had logged in today, finished my work and restarted it so I could go into Windows (I have both Windows and Linux in my computer).But when I rebooted it gave me this error:error: attempt to read or write outside of partition.  grub rescue>                     I have not tweaked with the software. As I said I don't use it so frequently.Please help me resolve this problem.
GRUB partition error
ubuntu;partition;grub;reboot