If it's happening across two operating systems, it's most likely a hardware issue, and it's likely a powersource issue.
Buy a decent 350 or 400 watt PS. With multiple drives and peripherals and fans etc etc power consumption needs to be smooth and adequate
I always recommend QUALITY power sources, memory, and heatsink/fans. Cheaper versions of these components lead to many mysterious problems! Generally
newegg is a safe online source for quality parts and good customer service