[Tip] Enable Magic SysRq Key (REISUB)

https://wiki.archlinux.org/title/keyboard_shortcuts

Troubleshooting

  • If a SysRq action produces output, it is sent to the kernel ring buffer where the systemd journal will pick it up. When nothing prevents the output to be displayed on the Linux console, it will be there too. Not having a response on the console does not prove the SysRq command was not processed successfully. If that is the case, run journalctl -kf to monitor the output as it arrives to the kernel ring buffer.
  • If you are using a display manager and after Alt+SysRq+e you are presented with the login screen (or full desktop if autologin is enabled), it is most likely caused by Restart=always directive in the relevant service file. If necessary, edit the unit, however this should not prevent the “REISUB” sequence from working.
  • If all the above combinations work except Alt+SysRq+b, try using the contralateral Alt key.
  • On laptops that use Fn key to differentiate SysRq from PrtScrn, it may not actually be necessary to use the Fn key (i.e., Alt+PrtScrn+letter could work).
  • On Lenovo laptops (outside of their Legion lineup) SysRq is often configured as Fn+S. To use it press and hold Alt then press Fn+s, release Fn and s still holding Alt followed by the keys above.
  • You may need to press Ctrl along with Alt. So for example, full key shortcut would be Ctrl+Alt+SysRq+b.

This is the most useful information I can find so far

1 Like

Yeah, it worked!
So I had to hold the Ctrl key as well and it works now
Nice, thanks for your help guys

1 Like

Nice glad you figured it out

I can’t thank you enough for that one. I emailed it to myself in case this happens and can see it from another device.

Thanks!

I have a new laptop that does not have the SysRq key, but it does have a PrtSc key.

If I want to runecho 'kernel.sysrq=1' | sudo tee /etc/sysctl.d/99-reisub.conf

does that mean I have to change the 'kernel.sysrq=1' part to 'kernel.prtsc=1'?

No. My understanding is, (as Kresimir said), that the PrtSc key is taken if the SysRq key is not available. So, you don’t want to do kernel.prtsc=1 which doesn’t make much sense.

1 Like

For the record:

True, it works. Note: as soon as I hit the “I” key the screen goes black, suggesting, to me in any case, the procedure is over. However, despite the screen going black, you have to tap the remainder of the keys too.

Closing this thread so that it doesn’t become too large.
For related messages users can create a new thread and refer to this.

5 Likes