0

My laptop has rebooted suddenly without any warnings, but it has closed all programms, and killed all processes as if it was me who send it in reboot. The question is - where in logs can I see what caused the reboot?

Ivan
  • 116

1 Answers1

1

Sometimes it reboots automaticlly because of updates. It happened to me and later I found out it was because of updates.

To have a look at logs, look at /var/log.

To see the boot log, go to /var/log/boot.log.

If you need any more log locations, go here to find them.

Hope this helps!!!

horIzoN
  • 1,086
  • 1
    Surely it should request to reboot before doing so automatically, mine always does. – w4etwetewtwet Apr 10 '13 at 12:48
  • @handuel - Mine does to. But I kept on ignoring it, so it must of rebooted. But still, who knows? – horIzoN Apr 10 '13 at 12:49
  • Maybe there's some kind of timeout. Just seems odd. – w4etwetewtwet Apr 10 '13 at 12:51
  • @handuel - Maybe. Maybe. – horIzoN Apr 10 '13 at 12:52
  • You know, guys, I've compared data in kern.log and syslog and found out time when it rebooted(16:08. Segfault of dconf 16:08. Kernel logging stopped), and the previous "event" before system stopped logging is removing of an SD card. It this ever possible, can (unapropriate) removind of an SD card cause reboot? – Ivan Apr 10 '13 at 17:16
  • 1
    Sometimes. It depends on your SD card. Some are set to remove without warning safely, some aren't. And if it isn't set to remove without warning, the computer could cause a sudden shutdown. – horIzoN Apr 11 '13 at 10:27