[SOLVED] A Reboot Method that Always Works?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Lord Smedley
Level 1
Level 1
Posts: 14
Joined: Wed Oct 03, 2018 10:28 pm

[SOLVED] A Reboot Method that Always Works?

Post by Lord Smedley »

I just lost more than a half hour to trying to get my frozen Mint Cinnamon-Tara laptop to reboot.

I did repeated Google searches and tried every keystroke combination I could find to force reboot or bring up a terminal or bring up a task manager. Not one of these keystroke combinations worked. I finally ended up closing my laptop for a few minutes and when I opened it back up I got the login screen. After logging in, things were back to normal.

One of the only good things you can say about Windows 95 and later is that you could always force a reboot or open the task manager. It doesn't appear to me that a clean install of Cinnamon-Tara offers this functionality in a way that can be counted on to work every single time.

Is there anything that I can install that will more reliably give me the power to force a reboot or to kill processes in situations like this?
Last edited by Lord Smedley on Tue Oct 23, 2018 11:43 pm, edited 1 time in total.
User avatar
all41
Level 16
Level 16
Posts: 6344
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: A Reboot Method that Always Works?

Post by all41 »

I don't think there is a method that always works, even with windows.

This will reboot most stubborn freezes, except in rare situations where the keyboard is also locked:

Press Alt and continue to hold, press and release PrtScn,
while continuing to hold down the Alt key enter the letters r e i s u b with a couple seconds pause between each.
Light travels faster than sound.
That's why some people appear smart until you hear what they are saying.
AscLinux
Level 4
Level 4
Posts: 342
Joined: Sat Oct 29, 2016 3:32 pm

Re: A Reboot Method that Always Works?

Post by AscLinux »

https://en.wikipedia.org/wiki/Magic_SysRq_key

Note, this feature must be enabled in kernel. Which probably is the case with mainstream distros.
User avatar
AZgl1500
Level 14
Level 14
Posts: 5088
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: A Reboot Method that Always Works?

Post by AZgl1500 »

all41 wrote:
Mon Oct 22, 2018 8:47 pm
I don't think there is a method that always works, even with windows.

This will reboot most stubborn freezes, except in rare situations where the keyboard is also locked:

Press Alt and continue to hold, press and release PrtScn,

while continuing to hold down the Alt key enter the letters r e i s u b with a couple seconds pause between each.
Press and Release PrtScn ??

this is the first time I have read this, all instructions I have seen, and always do,
is to hold both ALT and PrtScn down continuously while using the kybd r e i s u b keystrokes

might as well mention, that r e i s u o powers off the PC.
Linux Mint 19.3 Cinnamon
carum carvi
Level 6
Level 6
Posts: 1478
Joined: Sun Apr 16, 2017 11:44 pm

Re: A Reboot Method that Always Works?

Post by carum carvi »

all41 wrote:
Mon Oct 22, 2018 8:47 pm
This will reboot most stubborn freezes, except in rare situations where the keyboard is also locked:

Press Alt and continue to hold, press and release PrtScn,
while continuing to hold down the Alt key enter the letters r e i s u b with a couple seconds pause between each.
The above advice from All41 works for me as well.

Just as Azgl mentions, I had read as well that one had to hold both "alt" and "prtscn" down, all the time. But nothing happens when I do that.

An easy way to remember the long Alt PrtScn R E I S U B command is the following: Raising Elephants Is So Utterly Boring
User avatar
JoeFootball
Level 9
Level 9
Posts: 2677
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: A Reboot Method that Always Works?

Post by JoeFootball »

I too had read many instructions detailing that both Alt and SysRq had to be held throughout the procedure, but within the last year, I've learned that it's indeed just Alt that needs to be held down throughout. I've found better results with the left Alt key vs. the right one (but this may be circumstantial evidence).

Also, wait a second or two between keystrokes, and give some time for the reboot/shutdown to occur. Realize that this procedure is invoking a series of processes to gracefully bring the system down, and they don't always execute instantaneously, especially on a frozen one.

Lastly, for clarity, it's actually SysRq, not PrtSc, that needs to be used. Yes, on most keyboards this is the same key, but not always.
PrtSc-SysRq.png
PrtSc-SysRq.png (69.28 KiB) Viewed 1445 times
Joe
User avatar
AndyMH
Level 13
Level 13
Posts: 4516
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: A Reboot Method that Always Works?

Post by AndyMH »

As well as a system reboot with REISUB & REISUO, if you know the offending process, you can also open a terminal and use the kill command, for example killall conky will shutdown conky, something I've done frequently when debugging my conky scripts.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
trytip
Level 13
Level 13
Posts: 4842
Joined: Tue Jul 05, 2016 1:20 pm

Re: A Reboot Method that Always Works?

Post by trytip »

if your system is froze your keyboard or mouse may also be frozen. hold the POWER button to turn OFF usually works on almost every device. you can also take out the battery if nothing works.
Image
User avatar
AZgl1500
Level 14
Level 14
Posts: 5088
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: A Reboot Method that Always Works?

Post by AZgl1500 »

trytip wrote:
Tue Oct 23, 2018 10:15 am
if your system is froze your keyboard or mouse may also be frozen. hold the POWER button to turn OFF usually works on almost every device. you can also take out the battery if nothing works.
if at all possible, this method is to be avoided.....
does terrible things to the file system..... just so everyone is on the same page....

99% of the time, when my PC freezes up, I can be very patient with Alt-SysRequest and entering the R E I S U O very slowly, like 3 or 4 seconds between each key and it will answer that request eventually

I prefer to use the Off command, not the Boot command......
on my laptop, the results are more consistent
Linux Mint 19.3 Cinnamon
Lord Smedley
Level 1
Level 1
Posts: 14
Joined: Wed Oct 03, 2018 10:28 pm

Re: A Reboot Method that Always Works?

Post by Lord Smedley »

all41 wrote:
Mon Oct 22, 2018 8:47 pm
This will reboot most stubborn freezes, except in rare situations where the keyboard is also locked:

Press Alt and continue to hold, press and release PrtScn,
while continuing to hold down the Alt key enter the letters r e i s u b with a couple seconds pause between each.
Thanks, all41, for the response!

I took a moment to try this on my non-frozen laptop, and it rebooted right away. I'll eagerly try it the next time my laptop freezes, which seems to be every week or so with my Cinnamon/Tara installation and heavy use of Chrome and Signal.
User avatar
all41
Level 16
Level 16
Posts: 6344
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: A Reboot Method that Always Works?

Post by all41 »

Lord Smedley wrote:
Tue Oct 23, 2018 11:40 pm
all41 wrote:
Mon Oct 22, 2018 8:47 pm
This will reboot most stubborn freezes, except in rare situations where the keyboard is also locked:

Press Alt and continue to hold, press and release PrtScn,
while continuing to hold down the Alt key enter the letters r e i s u b with a couple seconds pause between each.
Thanks, all41, for the response!

I took a moment to try this on my non-frozen laptop, and it rebooted right away. I'll eagerly try it the next time my laptop freezes, which seems to be every week or so with my Cinnamon/Tara installation and heavy use of Chrome and Signal.
Eventually you will need to address the cause of these lockups though. Use the log viewer app included with your system.
Also run your ram tests from the grub screen--that is a likely culprit for such intermittent issues.
Post back your teminal results of

Code: Select all

inxi -Fxz
You will get expert advice with this information
Last edited by all41 on Wed Oct 24, 2018 11:30 am, edited 1 time in total.
Light travels faster than sound.
That's why some people appear smart until you hear what they are saying.
Lord Smedley
Level 1
Level 1
Posts: 14
Joined: Wed Oct 03, 2018 10:28 pm

Re: A Reboot Method that Always Works?

Post by Lord Smedley »

all41 wrote:
Wed Oct 24, 2018 12:00 am
Eventually you will need to address the cause of these lockups though. Use the log viewer app included with your system.
Also run your ram tests from the grub screen--that is a likely culprit for such interminnent issues.
Post back your teminal results of

Code: Select all

inxi -Fxz
You will get expert advice with this information
I can't get Grub to open by tapping the left or right shift keys during boot. I've got the latest Acer Swift 1 that's all stock so I'm just going to assume for now that the memory is good.

Since these lockups moving forward should now only cost me five minutes a week I'm going to wait to after Tessa is installed to see if they persist. If they do, I'll access Grub through a live Mint install from a USB drive to check the memory, and then I'll do the other diagnostic work you recommend. But hopefully between Tessa and the next version of Chrome my laptop's instability will spontaneously resolve.

I greatly appreciated your advice!
User avatar
all41
Level 16
Level 16
Posts: 6344
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: [SOLVED] A Reboot Method that Always Works?

Post by all41 »

can't get Grub to open by tapping the left or right shift keys during boot
When the oem splash screen appears press and hold the left shift key to display the grub menu
Light travels faster than sound.
That's why some people appear smart until you hear what they are saying.
Lord Smedley
Level 1
Level 1
Posts: 14
Joined: Wed Oct 03, 2018 10:28 pm

Re: [SOLVED] A Reboot Method that Always Works?

Post by Lord Smedley »

all41 wrote:
Wed Oct 24, 2018 11:38 am
can't get Grub to open by tapping the left or right shift keys during boot
When the oem splash screen appears press and hold the left shift key to display the grub menu
Nope, doesn't work. I think because I didn't set up my laptop to be dual-boot with Windows, partly out of lack of disk space and partly from never wanting to use Windows ever again. I'm confident I can open Grub if I do a live Mint boot from my USB drive, but I haven't gotten around to buying a USB drive yet. I would like to do a RAM test, even though I'm confident that it's working properly.
User avatar
all41
Level 16
Level 16
Posts: 6344
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: [SOLVED] A Reboot Method that Always Works?

Post by all41 »

Lord Smedley wrote:
Thu Oct 25, 2018 8:37 pm
all41 wrote:
Wed Oct 24, 2018 11:38 am
can't get Grub to open by tapping the left or right shift keys during boot
When the oem splash screen appears press and hold the left shift key to display the grub menu
Nope, doesn't work. I think because I didn't set up my laptop to be dual-boot with Windows, partly out of lack of disk space and partly from never wanting to use Windows ever again. I'm confident I can open Grub if I do a live Mint boot from my USB drive, but I haven't gotten around to buying a USB drive yet. I would like to do a RAM test, even though I'm confident that it's working properly.
You can do a ram test booting to a usb/dvd install medium.
Make sure the medium is selected in bios.
When you see the Automatic Boot countdown screen press Enter.
Light travels faster than sound.
That's why some people appear smart until you hear what they are saying.
kaylux
Level 1
Level 1
Posts: 32
Joined: Tue Mar 06, 2018 10:00 am

Re: [SOLVED] A Reboot Method that Always Works?

Post by kaylux »

This was a really useful and fascinating post. If anyone is interested in what the letters REISUB mean, hereś a site which explains: https://en.wikipedia.org/wiki/Magic_SysRq_key
Post Reply

Return to “Newbie Questions”