Jump to content

You don't want to be writing to the filesystem when the power goes down, this causes corruption. "But I wasn't doing anything when I turned the power off" but look at your hdd activity light - all modern os's are constantly reading/writing - swap files, logs, scans etc. That's why. You don't need to do three steps, you can make sure your power button is configured to shutdown (instead of sleep or hibernate), and a tap of that will do the same job as the three stages you describe. Don't press and hold the power button in this scenario though or it will do a force shutdown as per the ATX standard.

Intel i9-13900K - Gigabyte Aorus Z790 Elite DDR4 - Corsair Vengeance LPX 128GB DDR4 3200 C16 - Gigabyte Aorus Master RTX 4090 24GB - Corsair 4000D Airflow - 2x Samsung 980 Pro 1TB  - Corsair AX1600i 80 PLUS Titanium 1600W - Aorus FI27Q - Noctua NH-D15 running 3 fans (CPU) - 6 x NF-A12x25 (3 intake, 3 exhaust) - Aorus K1 - Aorus M5 - Aorus AMP500 - Aorus H5 - Corsair TC70 - Win 11 Pro

Link to comment
https://linustechtips.com/topic/1284192-system-shutdown/#findComment-14323202
Share on other sites

Link to post
Share on other sites

It gives the system time to finish anything it's currently doing before shutting down. If you just cut power, anything in a volatile cache will be lost, write jobs may be halfway finished, causing data and/or system corruption. 

Link to comment
https://linustechtips.com/topic/1284192-system-shutdown/#findComment-14323203
Share on other sites

Link to post
Share on other sites

The basic explanation is that the Kernel is very complex and has lots of different read/write processes happening all of the time. While its pretty unlikely these days (since we have write back caching) it is possible that just killing the power might interrupt the Kernel while its in the middle of writing to a critical system file, this would corrupt the file entirely and cause the system to crash the next time you power it on.

 

These days its much more complicated than that with all the different ACPI states.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to comment
https://linustechtips.com/topic/1284192-system-shutdown/#findComment-14323205
Share on other sites

Link to post
Share on other sites

3 hours ago, Master Disaster said:

The basic explanation is that the Kernel is very complex and has lots of different read/write processes happening all of the time. While its pretty unlikely these days (since we have write back caching) it is possible that just killing the power might interrupt the Kernel while its in the middle of writing to a critical system file, this would corrupt the file entirely and cause the system to crash the next time you power it on.

 

These days its much more complicated than that with all the different ACPI states.

in my case it's always "Steam shutting down..." 

The direction tells you... the direction

-Scott Manley, 2021

 

 

Link to comment
https://linustechtips.com/topic/1284192-system-shutdown/#findComment-14323591
Share on other sites

Link to post
Share on other sites

-> Moved to Windows

***

 

You can make direct shortcut for shutting down PC. But as said, it will still be controlled shutdown to previous corruption and stuff.

 

Am I old if I kinda miss when you need to physically power system off.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
https://linustechtips.com/topic/1284192-system-shutdown/#findComment-14326305
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×