your problem is that your OS is not properly booting after attaching second HDD with first one and the error show that "missing ntoskrnl.exe or it was corrupt".
It actually happen when you try to boot your OS from a HDD that does not contain any installed OS.
You need to configure your bios to boot OS from HDD 1.
Build consists of Win 7 Home Premium, MSI 785GTM-E45 board, AMD X2 250, 2GB DDR2 Crucial memory, SATA hard drive, Sata Optical, On board graphics. Problem occurred when I tried to add second SATA drive. Would not boot, and I was told that I was missing ntoskrnl.exe or it was corrupt. I disconnected the second hard drive, booted normally, then connected the hard drive with a USB/SATA Drive adapter, and the drive shows in Disk management, but it will not initialize.
As soon as I took off the second HD, system booted normally, and I searched for and found the file. It is in System32.
Removed Hard drive, and tried it on another win7 install, and it showed just fine. How can I get the drive recognized in the first computer?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic