[SOLVED] A Reboot Method that Always Works?

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Lord Smedley

[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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
all41
Level 19
Level 19
Posts: 9520
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.
Everything in life was difficult before it became easy.
AscLinux
Level 4
Level 4
Posts: 477
Joined: Sat Oct 29, 2016 3:32 pm
Location: Acadiana
Contact:

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.
Master Foo Discourses on GUI.
First Linux 1997. Last Windows 2004.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11173
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 AZgl1800 »

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.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
carum carvi

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 13
Level 13
Posts: 4673
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
Joe
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
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.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
trytip
Level 14
Level 14
Posts: 5366
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
AZgl1800
Level 20
Level 20
Posts: 11173
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 AZgl1800 »

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
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
Lord Smedley

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 19
Level 19
Posts: 9520
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.
Everything in life was difficult before it became easy.
Lord Smedley

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 19
Level 19
Posts: 9520
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
Everything in life was difficult before it became easy.
Lord Smedley

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 19
Level 19
Posts: 9520
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.
Everything in life was difficult before it became easy.
kaylux

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
Locked

Return to “Beginner Questions”