I was trying to dual boot my machine and used the hide command on a linux partition on reboot grub started loading then stopped giving me the Error 17. I was able to resolve it after checking this site out.
This error can aslo be caused if you cange out HD’s without abdating the changes in grub or you overwrite a linux partition with windows in which case you can run fdisk /mbr from any rescue disk.