Live data from Hacker News

GNU/Linux: Emergency Restart

nicolasb.com.ar

11–12 of 12 posts

Re: GNU/Linux: Emergency Restart

#11
post #9

IIRC the kernel needs to be compiled with the magic sysreq keys enabled, so if this doesn't work for you you will likely need to rebuild your kernel. Or grow a couple extra digits.

You don't have to recompile, you can control it through proc (/proc/sys/kernel/sysrq)

Re: GNU/Linux: Emergency Restart

#12

It's usually worth trying to ssh into the machine when X locks up (if you don't want to just reboot). Depending on what caused the problem, this will often still work even when it's unresponsive locally.

Or you can press Ctrl-Alt-F1 to get to the console.
Post reply on HN