I have two OS installed on my computer one is XP another one is Linux. Yesterday i got so many error msg's on my XP related to HDD. So i decied to run CHKdisk on Xp startup.I got ahead of my self and did something stupid, I deleted my Linux partition in windows. When I restarted, I got GRUB ERROR 22. I looked around on net and i found the solution that is boot computer into a Linux live cd and run this command,
"sudo lilo -M /dev/sda mbr"
It will recover linux on your Pc. Now i have both OS's that run's nicely..