I understand that your system stop booting and you can see the diagnostics LED "G" blinking.
The LED "G" is for Hard Drive Initialization this LED will flash when the hard drive activity starts. Then the LED will stay on when hard drive initialization is complete. Meaning that you may have a problem with your hard drive.
The post code 37 is for memory test, your memory may not be initializing correctly. Make sure that your RAM memory is 1333MHz at 1.5v latency 9 to be fully compatible.