Alternate way to reboot a Linux system

Robert Leong -

Scope

If normal methods to reboot a Linux box does not work for whatever reason, the method below is another alternative.

Some reason why this might be need is:

  • Typical Linux reboot commands are not working.  Could be a result of disk errors returning Input / Output Errors and the command does not execute.
  • Access to the physical reset switch and the power switch not possible or has side effects causing a partner unit to behave undesirably due to the shared power switch (3u MDS).

Alternative method to reboot

Echoing a number and a letter to a place in the /proc tree:

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

Source:
http://smshaker.wordpress.com/2009/03/02/linux-force-rebootshutdown/

 

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.