when i turn on the machine, i get the two choices f2 and f12
then the screen shows
we apologize for any inconvenience, but windows did not start successfully. A recent hardware or software might have caused this.
further down I have 5 choices
safe mode with networking
safe mode with command prompt
last known good configuration
start windows normally,
all of these options go to a BSOD
' A problem has been detected and windows has been shut down to prevent damage to your computer.
If this is the first time you've seen this stop error screen restart your computer. if this screen appears again, follow these steps:
check for viruses on your computer. remove any newly installed hard drives or hard drive controllers. check your hard drive to make sure it is properly configured and terminated. run CHKDSK /F to check for hard drive corruption, and then restart your computer.
You need to boot from the windows installation cd and make a system repair,press del key on system start up to enter bios setting,change boot sequence making cd/dvd drive primary boot ,save and exit setting and restart machine booting from cd.link below from official Microsoft website will guide you how to resolve this issue :