The computer just turns off after the apple logo is on the screen for about 30 seconds.
If that doesn't help, run Disk Utillity in case the startup disk needs repairing before trying to reformat and reinstall.
Launch Disk Utiity located in HD > Applications > Utilities
Select the startup disk on the left then select the First Aid tab.
Click Verify Disk (not Verify Disk Permissions)
If the disk needs repairing you'll need your install discs > Using Disk Utility to verify or repair disks
Like I mentioned earlier, the computer won't stay running. Can't even get to the log in screen so I'm hoping I can get to the disk utility from the install disc. I'm trying the apple hardware test to see what it has to say. From there I'll try getting to the disk utility from the install disc because I think I can boot up on that.