If it stays on for about 5 seconds then shuts down, check that there is nothing causing the power button to stay pushed in, that there is nothing shorting out the on/off switch pins on the motherboard. That can cause this sort of behavior.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.