Safely reboot a locked up linux box: REISUB

As a last resort on a locked-up linux box you might hold down the power button to restart it. This is not great as the discs will still be mounted.
A safer way is to hold down Atl-SysReq while slowly typing “REISUB”. This will reboot the box safely.

What it does:

  • R: Switch the keyboard from raw mode to XLATE mode
  • E: Send the SIGTERM signal to all processes except init
  • I: Send the SIGKILL signal to all processes except init
  • S: Sync all mounted filesystems
  • U: Remount all mounted filesystems in read-only mode
  • B: Immediately reboot the system, without unmounting partitions or syncing

You can also type “REISUO” to power off, rather than rebooting.

This entry was posted in Linux and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>