Go into your BIOS and make sure your system recognizes your HDD on the other SATA port. Assuming it does, make sure your boot order is set to boot from your HDD.
Also, verify that all of your SATA and power connecters are securely fastened.
Last, what was your old graphics card and what is your new one?
The bios wont boot. anyway thanks alot.I have tried plugging out certain wires and parts.And its working.