Slow system startup
Updated 280 Days AgoPublic

Main PageTroubleshootingSlow system startup

Troubleshoot slow system startup


Problem

System takes few minutes to start, but eventually it does get to the graphical user interface.

Check

You can check how much time the system exactly needed to start if you run this command in terminal:

systemd-analyze

It will output something like this:

sstd1

To see how long each of the services took to start, run:

systemd-analyze blame

which should give:

sstd2

Use and to scroll the output, use Q to quit the command (to exit).

To output this into a text file, use:

systemd-analyze blame > startup.log

which will create startup.log text file in your home directory.

Solution

If you see some service took suspiciously longer time to start, you have to search the system logs to see if there is any particular problem. For example, running:

sudo journalctl -x -b -u NetworkManager-wait-online.service

will list logs just for this service, while running:

sudo journalctl -x -b

will allow you to examine all logs for the current boot session to see if there is any particular problem causing the slow system start.

Last Author
mladen.pejakovic
Subscribers
None
Projects
None