You wil never have to replace an entire computer. The chances of every component of the computer becoming physically damaged at the same time are very close to 0. Let's figure out what the actual problem is and fix that instead of buying an entirely new computer.
If you've gotten so far as to try and run an operating system the problem likely isn't even hardware. Winter, what actual errors are you getting? Have you narrowed the problem down at all? We could save everyone a LOT of money (not to mention all of that already written code) with a little testing and repair work.