Computer shuts down on boot
Recently, my custom built computer will shut off during bootup and I am not able to access the OS. After turning on the computer, I can access the BIOS fine and I dont have any problems with it shutting off. But when I boot it the normal way, it starts to boot but randomly shuts off after a few seconds at the same time every time I boot it. I have tried booting it in safe mode, but the same thing happens.
I don't think that it is a software problem because when I boot the ubuntu install disk it will also randomly turn off.
Any help is appreciated.
2.4ghz core 2 quad proccessor
4gb ddr3 ram
8800gt graphics card
1000gb western digital hard drive
Ubuntu Operating System