Laptop shuts off randomly

xmorisx

Honorable
Dec 11, 2012
20
0
10,560
I have an old laptop that shuts off randomly the fan starts making noises and then shuts off. I took it to a hardware shop they told me it is the fan I got a new fan and replaced it same issue. It is duo boot, win XP and Ubuntu. When i am in Ubuntu and it shuts off it displays a bunch of text and i cannot read it because it disappears to fast. In windows mode it doesn't show anything when it shuts off. So i was wondering is there some way i can record or extract that data that it displays when it shuts off in Ubuntu?
 
when you are watching videos it seems to like have difficulty after the first minute and it plays them with lagging fps, and skips time let us say 2 min 49 seconds then it jumps to 2 min 52 seconds.