Sounds like it is trying to repair either Vista or Windows 7. Does it say which? Try running Windows 7 Repair, or If you have a Vista DVD and can get it to boot (or run Setup from the CMD) then you can try Repair My Computer on the second screen. See if it finds an installation to repair, then accept the repair, plus repeatedly click through to Startup Repair to run at least 3 times with reboots.
Your best course of action here is to try to get your Windows 7 DVD to boot by resetting CMOS or updating BIOS, to get the DVD drive to boot first and keyboard to respond. You can also trigger the DVD to boot by tapping the key given for Boot Menu on BIOS boot screen
If this fails, then you need to run the Diskpart commands given to wipe the HD to force the DVD to autostart, or if unable to run the commands, boot free Partition Wizard bootable CD
(it should autostart) to delete the HD, create New partition, then format NTFS primary. This will also force the DVD to autostart.