What do the system logs say? "sudo journalctl -b-1" after a reboot and jump to the end.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
honestly, you should give less info. what's your hardware? what PSU? drivers? X11, wayland? what's that "running again" business, what was the issue before?
How new are you to Linux?* /gen
Have you checked the output of, say, “journalctl -b -2”? This would give you a system log of messages that go back to two boot sessions ago and normally show you what happened just before that first shutdown.
This could be drivers, background processes, hardware, no way to know without starting by looking at logs. Hell, I’ve had a monitor crash out my system multiple times and I wouldn’t have ever guessed if I didn’t check my logs and dmesg output.
* to get a better sense of how to help you
FYI you can add -r to show the log in reverse order.
I bet you it's a hardware issue.
Run Memtest+ to check the RAM first...
Might be a PSU / heat issue....
Make sure the fan is not full of dust. Clean it out if it is. Most systems shutdown/reboot if it gets overheated.
Make sure your RAM and all other connections are properly seated. I’ve had reboots in the past because a stick of memory wasn’t fully seated, even though the clasps were locked in place.
Is there anything in the journal? If you're not familiar, try something like journalctl -o short-precise -k -b -1 and then look for anything weird.
Up and running again suggests it wasn't running before. Why not and what did you do?