I had this problem; it was so annoying I felt like throwing the computer out of the window. I did not fancy a reformat. Anyway, this is how you stop it. And this actually works, unlike the garbage people have put in this forum.
1) First, put your Windows 7 CD in the CD drive.
2) Press F8 then...