Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old December 9th, 2006   #1
xyz
Chocolate-Covered Ubuntu Beans
 
xyz's Avatar
 
Join Date: Oct 2005
Location: Fribourg,Switzerland
Beans: 2,202
HOW-TO reboot only if all else fails

I searched the forum but didn't find this HowTo. Sorry if I missed it somehow.

I learned it when I was using Mandriva.
If your system doesn't react at all, you are totally stuck, and even Ctrl+Alt+backspace gives nothing, try and 'save' the following phrase somewhere in your mind:

Raising Skinny Elephants Is Utterly Boring

Hit the following key sequences; do give it some time between each keystrokes:
( SysRq = print screen ) (Use the LEFT Alt key )
Code:
Alt+SysRq+r 
Alt+SysRq+s
Alt+SysRq+e
Alt+SysRq+i
Alt+SysRq+u
Alt+SysRq+b
Quote:
The r stands for put keyboard in raw mode
The s for sync the disk
The e for terminate all processes
The i for kill all processes
The u for remount all filesystems read only
The b for reboot the system
Use it as a procedure only if all else fails!!

Please pay attention to the following:
Quote:
PS: If your filesystem is Ext3 or ReiserFS and on reboot it wants you to do a filesystem check, don't touch any key when it asks you to press "Y" and let it recover the journal automatically.

NOTE: For the skinny elephants to work you need to have the sysrq-key enabled in the kernel. (CONFIG_MAGIC_SYSRQ)
You can check if it is enabled by typing 'ls /proc/sys/kernel/sysrq' if it's there, it's enabled.
Thanks to Mischa for pointing this out.
I found out about this here:
BY BRUNO
__________________
my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755

Last edited by xyz; February 24th, 2007 at 08:19 AM.. Reason: additional info
xyz is offline   Reply With Quote
Old December 9th, 2006   #2
outofnicks
A Carafe of Ubuntu
 
outofnicks's Avatar
 
Join Date: Feb 2006
Location: SW Wisconsin, USA
Beans: 100
Kubuntu 8.04 Hardy Heron
Re: HOW-TO reboot only if all else fails

Is this preferable to a hard shutdown? That is, holding the power button in on my Dell tower until it powers down--?
__________________
Kubuntu Hardy Heron
Registered Linux user #422217
outofnicks is offline   Reply With Quote
Old December 9th, 2006   #3
xyz
Chocolate-Covered Ubuntu Beans
 
xyz's Avatar
 
Join Date: Oct 2005
Location: Fribourg,Switzerland
Beans: 2,202
Re: HOW-TO reboot only if all else fails

I think ANYTHING is better than a hard shutdown!
The "Raising Skinny Elephants Is Utterly Boring" allows for gradual 'shutdown'.
__________________
my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755
xyz is offline   Reply With Quote
Old December 9th, 2006   #4
kackler
First Cup of Ubuntu
 
kackler's Avatar
 
Join Date: Dec 2006
Beans: 6
Ubuntu 6.06 Dapper
Re: HOW-TO reboot only if all else fails

run the command "shutdown -r now" to reboot or "shutdown -h now" to power down completely.
kackler is offline   Reply With Quote
Old December 9th, 2006   #5
dbott67
Chocolate Ubuntu Mocha Blend
 
dbott67's Avatar
 
Join Date: Mar 2005
Location: St Catharines, ON, Canada
Beans: 1,769
Ubuntu 7.10 Gutsy Gibbon
Send a message via MSN to dbott67
Re: HOW-TO reboot only if all else fails

Quote:
Originally Posted by kackler View Post
run the command "shutdown -r now" to reboot or "shutdown -h now" to power down completely.
As the original poster mentions:
Quote:
If your system doesn't react at all, you are totally stuck, and even Ctrl+Alt+backspace gives nothing, try and 'save' the following phrase somewhere in your mind
If you're system is locked/frozen/stuck, you won't be able to open a terminal...
dbott67 is offline   Reply With Quote
Old December 9th, 2006   #6
ajm2005
5 Cups of Ubuntu
 
ajm2005's Avatar
 
Join Date: Oct 2006
Beans: 29
Re: HOW-TO reboot only if all else fails


Last edited by ajm2005; December 7th, 2008 at 07:26 AM..
ajm2005 is offline   Reply With Quote
Old December 9th, 2006   #7
flargen
Gee! These Aren't Roasted!
 
Join Date: Jul 2005
Beans: 63
Re: HOW-TO reboot only if all else fails

I prefer to use alt + sysrq + k to kill all processes on the current terminal. It is especially useful if the X server dies and alt + ctrl + backspace doesn't work, because it allows you to log in again without restarting you computer.
flargen is offline   Reply With Quote
Old January 26th, 2007   #8
durand
Fresh Brewed Ubuntu
 
durand's Avatar
 
Join Date: Nov 2005
Location: Leeds, UK
Beans: 1,277
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to durand Send a message via AIM to durand Send a message via MSN to durand Send a message via Yahoo to durand Send a message via Skype™ to durand
Re: HOW-TO reboot only if all else fails

um...what about ctrl+alt+f1(etc)
__________________
durand is offline   Reply With Quote
Old February 12th, 2007   #9
xyz
Chocolate-Covered Ubuntu Beans
 
xyz's Avatar
 
Join Date: Oct 2005
Location: Fribourg,Switzerland
Beans: 2,202
Re: HOW-TO reboot only if all else fails

Quote:
Originally Posted by durand View Post
um...what about ctrl+alt+f1(etc)
I'll have to try next time but I have a feeling even that wouldn't work when totally stuck.

of_darkness
I sure wish I could understand why a Swedish keyboard layout would prevent this from working? What would then be the SysRq key equivalent?
__________________
my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755
xyz is offline   Reply With Quote
Old February 16th, 2007   #10
durand
Fresh Brewed Ubuntu
 
durand's Avatar
 
Join Date: Nov 2005
Location: Leeds, UK
Beans: 1,277
Ubuntu 9.10 Karmic Koala
Send a message via ICQ to durand Send a message via AIM to durand Send a message via MSN to durand Send a message via Yahoo to durand Send a message via Skype™ to durand
Re: HOW-TO reboot only if all else fails

it doesnt...
__________________
durand is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:03 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry