this post was submitted on 27 Mar 2026
32 points (100.0% liked)
Linux
64115 readers
630 users here now
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
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
There is https://en.wikipedia.org/wiki/Magic_SysRq_key but I've had some hit and miss success in actually getting it to work.
Normally I first try see if it is only the graphical interface that has crashed by pushing ctrl+alt+F1 or F2 or F3 to try and switch to another terminal. If I can switch, I log in and reboot or restart the window manager.
I also try SSH into the machine if I have another of around.
If I do reboot, then I use 'journalctl -b-1 -e' to see what happened at the time the system froze.
A lot of distros disable the functions of the magic sysrq key for security reasons. If it's enabled, it should work as long as the system is still capable of reading keyboard inputs.
I've used Alt+PrtSc (the magic sysrq key) with r,e, i, s, u, and b to trigger what I've read is a more "graceful" forced restart. I'm still learning what the hell I'm doing, though, so don't take my word for any of this.
(edit: goofed the key order)