Linux: Force Reboot
08.05.2005
Sometimes you need to reboot your Linux machine but what will you do if the reboot command fails and your machine is kilometers away from your home.
Forcing reboot
Linux is not Windows XP and if reboot fail you usually still connect by SSH and do something. This commands will show you how to remotely hard reboot machine. Hard reboot mean that shutdown scripts will not run and machine reboot immediately without syncing hard disk drives, shutdown applications etc.
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
This commands enable sysrq and after this call fast reboot. If you want to force shutdown machine try this.
Force shutdown
echo 1 > /proc/sys/kernel/sysrq
echo o > /proc/sysrq-trigger
Re: Linux: Force Reboot od AndyK@HudsonUSA
09.05.2005 #Oh my gosh, Shakespeare's heart would crack if he saw your English. You've corrected the first paragraph, but there are three more. ("Linux is not Win XP and if THE reboot failS, you ARE usually still connectED by SSH and you ARE ABLE TO do something. ThESE commands will show you how to remotely reboot the machine BY USING THE HARD REBOOT METHOD. Hard reboot meanS that the shutdown scripts will not be RUNNING ANYMORE, and the machine WILL reboot immediately, without syncing hard DRIVES, shutdown applications, etc.
I'm sorry, but I don't understand the last paragraph..
Re: Linux: Force Reboot od Shadobwird
14.12.2005 #Thanks for this, this must be the third time I'm looking for this page. Ignore people like AndyK who make too big of a deal out of using correct language - these commands are really helpful, and it is possible to quite easy understand your text - even for a non-english speaker like me.
Re: Linux: Force Reboot od ALberti
06.01.2006 #Awsome. Im cuban PROUD and smart. SO ROCK ON and dont lizen to the guy making fun of the english.
Re: Linux: Force Reboot od andre rodier
24.04.2007 #Thanks for this.
I'm french, and the main is that this post was be very useful for me. Even if the english is not perfect ( my english is worse
od Mufasa
13.06.2007 #Thank you! This was exactly what I looking for!
od roms
18.06.2007 #these command help me !

thanks for that !
and don't worry about AndyK, we can understand your article
Re: Linux: Force Reboot od George P.
27.08.2007 #It hurts my soul that I have to force reboot my server
Re: Linux: Force Reboot od Linux Support Company
24.10.2007 #Very Handy Info, thanks!
Re: Linux: Force Reboot od futaji
19.05.2008 #Thanks for this. Its for me!