1

Brand new computer with SSD and most of the times the system boots really fast, but other times it doesn't. I enter my password and then wait solid minute and a half. I tried to see if there is any pattern, but I am not doing anything specific at those times. DO you have any idea what could be causing the issue ? Is there a way for me to check why it boots so slow ? (preferably using tools that are already in the system and no installation is needed)

EDIT :

After I ran the command suggested by the accepted answer I got the following info :

The kernel is booting from 0 to 2.5 secs

The rest of the files are booting from 2.5 to 3.2 secs

Something called ureadahead.service is deactivating for solid 8 seconds. What could be the cause ?

2

If you have Intel Graphics that was a bug and it was solved already so doing sudo apt update && sudo apt full-upgrade is going to fix it.

To check your boot time you can use systemd-analyze.
To know what is making your boot time slow, use instead systemd-analyze critical-chain. The ones that appear in red are holding up your boot.

Lastly you can use systemd-analyze plot > boot to create a file inside your home directory and check all packages involved in your boot.


NOTE: This only works on Loki or newer.

  • I am actually using Nvidia card with Intel processor. can the bug mentioned by you still appear ? I tried updating the system, but the issue is still here. – Martin Spasov Dec 10 '16 at 12:59
  • Yes it can also happen. I have a similar setup and my problem was fixed a while ago. – Maccer Dec 10 '16 at 13:02
  • I understand, I just tried to upgrade the distro again and found only dependencies to be removed. Will check the next boot :) – Martin Spasov Dec 10 '16 at 14:00
  • I have AMD Graphics and I guess it's the same bug. I've noticed it happening after some updates then it goes away, and it's also happening to me now, after the last updates. It might have been reported, I didn't check. – cristian mos Dec 11 '16 at 21:00
  • Hey, do you mind taking a look at the edit info ? – Martin Spasov Dec 12 '16 at 7:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.