Update: I thought that as the problems usually only happened when the computer woke from sleep mode, either by itself or from someone using it, I turned off sleep mode and no more problems.
As for the actual cause, I have no idea, but it boots up just fine from shut down and no longer beeps for...