Things to try when the repair option is not available in Windows XP setup:
1. Run chkdsk c: /r
2. Boot into the recovery console and use bootcfg to make sure your boot.ini is valid.
3. Copy ntdetect.com and ntldr to c:\ from the i386 folder of the setup disc