Reset without corrupting the filesystem

Wish there was somethin like this for windows which crashes often for me for no reason.

Well GNU/Linux users be happy this stuff is for you :

If your system hangs up (believe me GNU/Linux does freeze sometimes esp while I try to watch movies from my good-fer-nothin scratched DVD) try this key combination to get your box restarted (soft reset) :

Alt + PrtSc/SysRq Key + R + E + I + S + U + B

Press the Alt+SysRq throughout the process and take a sec gap between pressing other keys.

And still more interestingly here a description of what is happening when you press these keys :

R – Raw – Take control of keyboard back from GUI

E – Terminate – Send the TERM signal to all process for them to safely exit

I – Kill – For those who protest to stay alive make them terminate by force (Sends KILL signal)

S – Sync – Dump data to disk

U – Unmount – Unmount filesystem

B – Reboot – What we need!!

This requires CONFIG_MAGIC_SYSRQ to be enable during kernel compilation but don’t worry I think its enabled by default 🙂

Advertisements

~ by toolweb on May 20, 2008.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: