Extremely slow ubuntu 18.04 boot time












0















So I have looked at a lot of suggestions from this website already and tried quite a few of them, but they all differ and I get a feeling these are very specific problems for which I lack the expertise to find which exact case applies to me.



Here is my result for systemd-analyze blame



1min 59.160s plymouth-quit-wait.service
33.950s apt-daily.service
7.276s NetworkManager-wait-online.service
2.292s apt-daily-upgrade.service
754ms fwupd.service
397ms dev-sda6.device
375ms systemd-logind.service
362ms plymouth-start.service
230ms NetworkManager.service
209ms udisks2.service
169ms networkd-dispatcher.service
160ms systemd-timesyncd.service
147ms systemd-resolved.service
135ms ModemManager.service
123ms apparmor.service
104ms accounts-daemon.service
100ms keyboard-setup.service
99ms systemd-journal-flush.service
91ms systemd-udevd.service
75ms upower.service
71ms systemd-udev-trigger.service
69ms plymouth-read-write.service
62ms systemd-rfkill.service


And this is what I get from systemd-analyze critical-chain:



graphical.target @2min 330ms
└─multi-user.target @2min 330ms
└─kerneloops.service @8.446s +7ms
└─network-online.target @8.441s
└─NetworkManager-wait-online.service @1.164s +7.276s
└─NetworkManager.service @932ms +230ms
└─dbus.service @877ms
└─basic.target @872ms
└─sockets.target @872ms
└─uuidd.socket @872ms
└─sysinit.target @868ms
└─systemd-timesyncd.service @707ms +160ms
└─systemd-tmpfiles-setup.service @672ms +31ms
└─local-fs.target @671ms
└─run-user-122.mount @1.340s
└─swap.target @623ms
└─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x2d
└─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x


These were a few things I noticed were added to most of these questions, so I thought they might help as well.



I run ubuntu 18.04 LTS in a dual boot configuration using GRUB. My grub version is 2.02-2ubuntu8.9.










share|improve this question



























    0















    So I have looked at a lot of suggestions from this website already and tried quite a few of them, but they all differ and I get a feeling these are very specific problems for which I lack the expertise to find which exact case applies to me.



    Here is my result for systemd-analyze blame



    1min 59.160s plymouth-quit-wait.service
    33.950s apt-daily.service
    7.276s NetworkManager-wait-online.service
    2.292s apt-daily-upgrade.service
    754ms fwupd.service
    397ms dev-sda6.device
    375ms systemd-logind.service
    362ms plymouth-start.service
    230ms NetworkManager.service
    209ms udisks2.service
    169ms networkd-dispatcher.service
    160ms systemd-timesyncd.service
    147ms systemd-resolved.service
    135ms ModemManager.service
    123ms apparmor.service
    104ms accounts-daemon.service
    100ms keyboard-setup.service
    99ms systemd-journal-flush.service
    91ms systemd-udevd.service
    75ms upower.service
    71ms systemd-udev-trigger.service
    69ms plymouth-read-write.service
    62ms systemd-rfkill.service


    And this is what I get from systemd-analyze critical-chain:



    graphical.target @2min 330ms
    └─multi-user.target @2min 330ms
    └─kerneloops.service @8.446s +7ms
    └─network-online.target @8.441s
    └─NetworkManager-wait-online.service @1.164s +7.276s
    └─NetworkManager.service @932ms +230ms
    └─dbus.service @877ms
    └─basic.target @872ms
    └─sockets.target @872ms
    └─uuidd.socket @872ms
    └─sysinit.target @868ms
    └─systemd-timesyncd.service @707ms +160ms
    └─systemd-tmpfiles-setup.service @672ms +31ms
    └─local-fs.target @671ms
    └─run-user-122.mount @1.340s
    └─swap.target @623ms
    └─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x2d
    └─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x


    These were a few things I noticed were added to most of these questions, so I thought they might help as well.



    I run ubuntu 18.04 LTS in a dual boot configuration using GRUB. My grub version is 2.02-2ubuntu8.9.










    share|improve this question

























      0












      0








      0








      So I have looked at a lot of suggestions from this website already and tried quite a few of them, but they all differ and I get a feeling these are very specific problems for which I lack the expertise to find which exact case applies to me.



      Here is my result for systemd-analyze blame



      1min 59.160s plymouth-quit-wait.service
      33.950s apt-daily.service
      7.276s NetworkManager-wait-online.service
      2.292s apt-daily-upgrade.service
      754ms fwupd.service
      397ms dev-sda6.device
      375ms systemd-logind.service
      362ms plymouth-start.service
      230ms NetworkManager.service
      209ms udisks2.service
      169ms networkd-dispatcher.service
      160ms systemd-timesyncd.service
      147ms systemd-resolved.service
      135ms ModemManager.service
      123ms apparmor.service
      104ms accounts-daemon.service
      100ms keyboard-setup.service
      99ms systemd-journal-flush.service
      91ms systemd-udevd.service
      75ms upower.service
      71ms systemd-udev-trigger.service
      69ms plymouth-read-write.service
      62ms systemd-rfkill.service


      And this is what I get from systemd-analyze critical-chain:



      graphical.target @2min 330ms
      └─multi-user.target @2min 330ms
      └─kerneloops.service @8.446s +7ms
      └─network-online.target @8.441s
      └─NetworkManager-wait-online.service @1.164s +7.276s
      └─NetworkManager.service @932ms +230ms
      └─dbus.service @877ms
      └─basic.target @872ms
      └─sockets.target @872ms
      └─uuidd.socket @872ms
      └─sysinit.target @868ms
      └─systemd-timesyncd.service @707ms +160ms
      └─systemd-tmpfiles-setup.service @672ms +31ms
      └─local-fs.target @671ms
      └─run-user-122.mount @1.340s
      └─swap.target @623ms
      └─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x2d
      └─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x


      These were a few things I noticed were added to most of these questions, so I thought they might help as well.



      I run ubuntu 18.04 LTS in a dual boot configuration using GRUB. My grub version is 2.02-2ubuntu8.9.










      share|improve this question














      So I have looked at a lot of suggestions from this website already and tried quite a few of them, but they all differ and I get a feeling these are very specific problems for which I lack the expertise to find which exact case applies to me.



      Here is my result for systemd-analyze blame



      1min 59.160s plymouth-quit-wait.service
      33.950s apt-daily.service
      7.276s NetworkManager-wait-online.service
      2.292s apt-daily-upgrade.service
      754ms fwupd.service
      397ms dev-sda6.device
      375ms systemd-logind.service
      362ms plymouth-start.service
      230ms NetworkManager.service
      209ms udisks2.service
      169ms networkd-dispatcher.service
      160ms systemd-timesyncd.service
      147ms systemd-resolved.service
      135ms ModemManager.service
      123ms apparmor.service
      104ms accounts-daemon.service
      100ms keyboard-setup.service
      99ms systemd-journal-flush.service
      91ms systemd-udevd.service
      75ms upower.service
      71ms systemd-udev-trigger.service
      69ms plymouth-read-write.service
      62ms systemd-rfkill.service


      And this is what I get from systemd-analyze critical-chain:



      graphical.target @2min 330ms
      └─multi-user.target @2min 330ms
      └─kerneloops.service @8.446s +7ms
      └─network-online.target @8.441s
      └─NetworkManager-wait-online.service @1.164s +7.276s
      └─NetworkManager.service @932ms +230ms
      └─dbus.service @877ms
      └─basic.target @872ms
      └─sockets.target @872ms
      └─uuidd.socket @872ms
      └─sysinit.target @868ms
      └─systemd-timesyncd.service @707ms +160ms
      └─systemd-tmpfiles-setup.service @672ms +31ms
      └─local-fs.target @671ms
      └─run-user-122.mount @1.340s
      └─swap.target @623ms
      └─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x2d
      └─dev-disk-byx2duuid-19af8e87x2d864ex2d4148x


      These were a few things I noticed were added to most of these questions, so I thought they might help as well.



      I run ubuntu 18.04 LTS in a dual boot configuration using GRUB. My grub version is 2.02-2ubuntu8.9.







      boot systemd






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 31 '18 at 11:20









      YadesesYadeses

      1033




      1033






















          1 Answer
          1






          active

          oldest

          votes


















          2














          You can improve your boot time by:





          1. Move the update check from boot to sometime later by running sudo systemctl edit apt-daily.timer and changing to something like:



            # apt-daily timer configuration override
            [Timer]
            OnBootSec=15min
            OnUnitActiveSec=1d
            AccuracySec=1h
            RandomizedDelaySec=30min


            Refer to this answer for more complete explanation.



          2. If you're not using your computer remotely by yourself or someone else you can disable the NetworkManager-wait-online.service which just make sure networking is online and available by running sudo systemctl disable NetworkManager-wait-online.service.



          I guess these will cut off roughly 40 seconds of boot time.






          share|improve this answer



















          • 1





            Boot time was reduced to 14 seconds. Especially the disabling the NetworkManager-wait-online.service helped a lot.

            – Yadeses
            Dec 31 '18 at 12:32











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105808%2fextremely-slow-ubuntu-18-04-boot-time%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          You can improve your boot time by:





          1. Move the update check from boot to sometime later by running sudo systemctl edit apt-daily.timer and changing to something like:



            # apt-daily timer configuration override
            [Timer]
            OnBootSec=15min
            OnUnitActiveSec=1d
            AccuracySec=1h
            RandomizedDelaySec=30min


            Refer to this answer for more complete explanation.



          2. If you're not using your computer remotely by yourself or someone else you can disable the NetworkManager-wait-online.service which just make sure networking is online and available by running sudo systemctl disable NetworkManager-wait-online.service.



          I guess these will cut off roughly 40 seconds of boot time.






          share|improve this answer



















          • 1





            Boot time was reduced to 14 seconds. Especially the disabling the NetworkManager-wait-online.service helped a lot.

            – Yadeses
            Dec 31 '18 at 12:32
















          2














          You can improve your boot time by:





          1. Move the update check from boot to sometime later by running sudo systemctl edit apt-daily.timer and changing to something like:



            # apt-daily timer configuration override
            [Timer]
            OnBootSec=15min
            OnUnitActiveSec=1d
            AccuracySec=1h
            RandomizedDelaySec=30min


            Refer to this answer for more complete explanation.



          2. If you're not using your computer remotely by yourself or someone else you can disable the NetworkManager-wait-online.service which just make sure networking is online and available by running sudo systemctl disable NetworkManager-wait-online.service.



          I guess these will cut off roughly 40 seconds of boot time.






          share|improve this answer



















          • 1





            Boot time was reduced to 14 seconds. Especially the disabling the NetworkManager-wait-online.service helped a lot.

            – Yadeses
            Dec 31 '18 at 12:32














          2












          2








          2







          You can improve your boot time by:





          1. Move the update check from boot to sometime later by running sudo systemctl edit apt-daily.timer and changing to something like:



            # apt-daily timer configuration override
            [Timer]
            OnBootSec=15min
            OnUnitActiveSec=1d
            AccuracySec=1h
            RandomizedDelaySec=30min


            Refer to this answer for more complete explanation.



          2. If you're not using your computer remotely by yourself or someone else you can disable the NetworkManager-wait-online.service which just make sure networking is online and available by running sudo systemctl disable NetworkManager-wait-online.service.



          I guess these will cut off roughly 40 seconds of boot time.






          share|improve this answer













          You can improve your boot time by:





          1. Move the update check from boot to sometime later by running sudo systemctl edit apt-daily.timer and changing to something like:



            # apt-daily timer configuration override
            [Timer]
            OnBootSec=15min
            OnUnitActiveSec=1d
            AccuracySec=1h
            RandomizedDelaySec=30min


            Refer to this answer for more complete explanation.



          2. If you're not using your computer remotely by yourself or someone else you can disable the NetworkManager-wait-online.service which just make sure networking is online and available by running sudo systemctl disable NetworkManager-wait-online.service.



          I guess these will cut off roughly 40 seconds of boot time.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 31 '18 at 12:03









          Masked ManMasked Man

          136111




          136111








          • 1





            Boot time was reduced to 14 seconds. Especially the disabling the NetworkManager-wait-online.service helped a lot.

            – Yadeses
            Dec 31 '18 at 12:32














          • 1





            Boot time was reduced to 14 seconds. Especially the disabling the NetworkManager-wait-online.service helped a lot.

            – Yadeses
            Dec 31 '18 at 12:32








          1




          1





          Boot time was reduced to 14 seconds. Especially the disabling the NetworkManager-wait-online.service helped a lot.

          – Yadeses
          Dec 31 '18 at 12:32





          Boot time was reduced to 14 seconds. Especially the disabling the NetworkManager-wait-online.service helped a lot.

          – Yadeses
          Dec 31 '18 at 12:32


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1105808%2fextremely-slow-ubuntu-18-04-boot-time%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents