Recently had Raspberry Pi based MyNode reporting an internal server error, and I was unable to reboot from the GUI or Putty. I could see a lot of disk activity so I did not want to throw the power.
Found this great tip online on how to reboot a linux machine safely: https://en.m.wikipedia.org/wiki/Magic_SysRq_key
See: REISUB in above link
You need a keyboard with the SysReq key for this one.
1. Connect a keyboard to the USB port.
2. Press and HOLD the ALT key, then press SysReq, then R
3. Press and HOLD the ALT key, then press SysReq, then E (wait a few minutes)
4. Press and HOLD the ALT key, then press SysReq, then I
5. Press and HOLD the ALT key, then press SysReq, then S
6. Press and HOLD the ALT key, then press SysReq, then U
7. Press and HOLD the ALT key, then press SysReq, then B
How to: Safely shut down a frozen node
- Wiredancer
- Jr. Member
- Posts: 86
- Joined: 28 Aug 2021, 05:01
- Location: New Zealand
- URL: https://lntxbot.com/@wiredancer
- Contact:
Re: How to: Safely shut down a frozen node
Interesting. Never have tried, but thanks for sharing!