Did you remember the ALT key too? It is all in there…
Were you holding Alt the whole time?
Yep.
Maybe something else is intercepting it?
doing journalctl -xe I get:
Oct 06 22:42:04 onyx-laptop kernel: Emergency Sync complete
Oct 06 22:42:05 onyx-laptop kernel: sysrq: This sysrq operation is disabled.
Oct 06 22:42:06 onyx-laptop kernel: sysrq: This sysrq operation is disabled.
Nothing is intercepting it, it is the PrtSc key. It seems that it is disabled.
Did you enable it by creating that file, as the OP suggests? Check with
cat /etc/sysctl.d/99-reisub.conf
It should say
kernel.sysrq=1
Did you reboot after creating that file, as the OP suggests?
If yes, to both questions and it still does not work, look into the BIOS setup, if there is an option to enable it.
If nothing works, try asking about it on some official ASUS support place.
Thanks! I just tried this on one of my installs and it works perfectly.
I used this for the first time today. Works great. Thanks for the tip.
I tried it a few times when system froze trying to install on vbox.
My exact use case as well. I ended up installing things via qemu (after some research/learning on getting it all working).
I have done the same but virt-manager isn’t my favorite. I just don’t understand what’s up with vbox as i have no issue installing any EndeavourOS on it.
Thanks for sharing this. I learned two things:
- REISUB itself,
- issuing a forkbomb
:(){ :|:& };:
to test it
Christoph
Works on ARM too!!
Will be a lifesaver for me.
Thanks to @Kresimir for this Tip
Best part is the mnemonic in my opinion
Random extra tip, if you want to power off instead of reboot then use:
O = Power off
Another random extra tip
Don’t issue REISUB from a bluetooth keyboard - the connection gets terminated half way through the sequence
Obvious to most I’m sure, but I learned the hard way
Well, it makes sense… after you pointed it out.
This is a much easier way to remember which keys to press. I tried to remember REISUB, but I kept failing.
In the words of a buddy of mine.
Raising Elephants Is So Utterly Boring
I never forget it now.
If you remember just the B
, you should be good to go at least per (unsourced) Wikipedia article:
Before the advent of journaled filesystems a common use of the magic SysRq key was to perform a safe reboot of a Linux computer which has otherwise locked up (abbr.
REISUB
), which avoided a risk of filesystem corruption. With modern filesystems, this practice is discouraged, offering no upsides over straight reB
oot.
Extra tip if you can’t find the SysRq
and you’re on Lenovo: it tends to be Fn
+s