Ok my friend whos just got a lot of PC parts put together his system but he says this...

i turn it on and the internal speaker go's mad bleeping, then after 10-20 seconds it shuts off before i even get a chance to boot the operating system
ok anyone hazzard a guess to whats happening?