about a 1 minute
Somehow, you crashed your Linux. It’s completely frozen. You try pressing Ctrl + Alt + Backspace, but doesn’t help.
What to do? Someone would press the power button and restart or shut down the system. You shouldn’t do this. This can make you a lot of problems.
What you can do, is to perform a gentle Linux restart. This is much safer way to restart your frozen Linux. To do this, you need to press:
Ctrl + Alt + PrtSc (SysRq) + reisub
Just to make it clear. You need to press and hold Ctrl, Alt and PrtSc(SysRq) buttons, and while holding them, you need to press r, e, i, s, u, b
This will restart your Linux safely.
It’s possible that you’ll have problem to reach all the buttons you need to press. I’ve seen people type reisub with their nose :)
So, here’s my suggestion: With your smallest finger on the left hand, press Ctrl. With your thumb on left hand, press Alt. With the smallest finger on your right hand press PrtSc(SysRq) button. This way, you’ll be able to access to reisub buttons with your other fingers.
Okay, but what this REISUB means?
- R: Switch the keyboard from raw mode to XLATE mode
- E: Send the SIGTERM signal to all processes except init
- I: Send the SIGKILL signal to all processes except init
- S: Sync all mounted filesystems
- U: Remount all mounted filesystems in read-only mode
- B: Immediately reboot the system, without unmounting partitions or syncing
You can find the complete list here. There you can see that o shuts down the system. So, if you want to turn off your PC when your Linux crash, you can use this combination:
Ctrl + Alt + PrtSc (SysRq) + reisuo
If you liked the post, we should get connected - follow me on Twitter