Rebooting The Magic SysRq Way


[Cory Wright] shares a tip on how to reboot a system with a failed hard drive remotely. The magic SysRq key is a linux kernel feature that lets you perform a number of interesting operations. If you’re working on a remote system where the disk has failed, you won’t have access to the reboot or shutdown commands. You can issue keystrokes to the magic SysRq device in /proc though, so you can send a hard reboot directly to the kernel with no disk access required.

The Wikipedia entry includes a handy tip on how to properly restart a otherwise frozen machine. It should save you from having to fsck the next time around.

[photo: Joshua Davis]

6 thoughts on “Rebooting The Magic SysRq Way

  1. I used to follow this blog rather regularly, but its taken a turn for the worst. I thought the point was to showcase a different hack/project, not simply to copy lifehacker/slashdot?

  2. I have to say I agree with some of the other posters. I think you should go back to the old receipe, and have a single quality hack every day. And try to avoid software hacks and news at an absolute minimum.

Leave a Reply to freyyr890Cancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.