Posted: . At: 12:43 PM. This was 5 years ago. Post ID: 13667
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Another good way to speed up the boot time of Ubuntu.


My Ubuntu 18.04 system was taking a long time to boot, but I have analyzed the problem with Systemd and now it should boot faster.

Run this command to see which service takes the longest at boot time.

4.4 Thu Oct 17 jason@Yog-Sothoth 0: $ systemd-analyze blame | head -n 10
    2min 10.235s apt-daily.service
         55.956s apt-daily-upgrade.service
         35.843s dev-mapper-fedora\x2droot.device
         33.052s plymouth-quit-wait.service
         31.171s mysql.service
         28.407s systemd-journal-flush.service
         27.098s nftables.service
         25.097s phpsessionclean.service
         20.476s snapd.seeded.service
         20.302s snapd.service

It was the apt services that were taking the longest to boot, but I could disable those services with Systemd and now my system should boot faster.

Just use sudo systemctl disable to disable unwanted services.

4.4 Thu Oct 17 jason@Yog-Sothoth 0: $ sudo systemctl disable apt-daily.service

And

4.4 Thu Oct 17 jason@Yog-Sothoth 0: $ sudo systemctl disable apt-daily-upgrade.service

This should work for you, do not disable required services, but I do not need my system updating automatically every time it boots.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.