Jun 14
When Ubuntu freezes
Scribbled on Saturday, June 14th, 2008What to do if your system is not responding and gone into eternal freeze. You might be tempted to press the restart button on the CPU cabinet or will turn off the UPS.
The easiest trick is to directly communicate with the Kernel via /proc filesystem.
- Press Alt + SysRq/Prt Scr key and type REISUB
It will safely restart your PC with no loss of data.
What if you wanted to shut down the PC
- Press Alt + SysRq/Prt Scr key and then type REISUO
Explanation:
- R tries to communicate with Keyboard directly without the need of X window system
- E tries to end processes by giving them stop/terminate signal (SIGTERM), its a respectful request
- I this is for SOB processes which don’t listen to the kernel, they are killed (SIGKILL) to free the resource locks, thou shalt die who didn’t heed
- S to write the cached changes to the filesystem, so that data is proof written to the disk and poses no data loss
- U now its the time to unmount the filesystems and remount them as read only
- B restarts the sytem
- O turn off/Shut down the system
So next time keep this little handy trick to show some mercy to your system and valuable data.

No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.





5 Responses to “When Ubuntu freezes”
Hey!! This is like awesome !!
I used to always restart the system everytime the system froze.
Will surely keep this in mind !
By Priya on Sat 14th Jun, 2008
@Priya
Do you really use linux ? now thats first chick that I know of :p
Its just awesome
have a nice time
By T on Sat 14th Jun, 2008
Hi. How are you? Is everything ok?
a big kiss… =^)
By Smallstar on Mon 16th Jun, 2008
Man! Chicks with *NIX! Its a nice turn on!
By Metahuman on Wed 18th Jun, 2008