Faster poweron
To speed up the poweron process there are a few things you can do
Grub timeout 0s
Do
sudo vim /etc/defaults/grub
Find the line
GRUB_TIMEOUT=X
And pass X to 0
Then do
sudo update-grub
Disable systemd processes
Do
systemd-analyze blame
To see what startup processes are taking more time to start
You can also do
systemd-analyse critical-chain
Critical chain is a better alternative because the time a process takes to start isn't directly correlated to the time the computer takes to start.
There are boot processes that can happen in paralel and others that need to wait for some other process to wait.
The critical-chain gives you not the processes that took the longest but the ones that stalled the boot process the most.
When you find a service that you dont need you can do
sudo systemctl disable name.service
Some of the services I disable are:
| Name | "Description" |
|---|---|
| NetworkManager-wait-online.service | Waits for internet connection |
| apt-daily.service | APT automatic service |
| apt-daily.timer | APT automatic service |
| apt-daily-upgrade.timer | APT automatic service |
| apt-daily-upgrade.service | APT automatic service |
| packagekit.service | Software installation GUI |
| cups.service | Printer related services |
| cups.socket | Printer related services |
| cups.path | Printer related services |
| cups-browsed.service | Printer related services |