sometimes when i shut down my laptop (Gateway P-7805u) and start it up later it gets to the loading screen (black screen with the green bar) and just stays there loading for hours until i manually shut it down. sometimes it loads, sometimes it doesnt. but when it doesnt i usually restart it multiple times until it finally loads. rarely do i use the startup repair because when i do use it, it doesnt seem to make a difference.
then yesterday i went to start up my laptop and it wouldnt start, no matter if i kept turning it on or off, or if i did the startup repair.(it was already running a little slow the day before, but because of a family emergency i didnt get to look at it too much before i shut it down) so eventually i ran it in safemode, which worked, and ran a virus scan, and a malware/spyware scan. no problems came up on either scan. then i shut it down and restarted, yet again, and it finally worked. what's wrong with my laptop and why is it doing it? what can i do to keep it from happening again/fix it?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic