Lubuntu very slow boot with an SSD for an unknown reason, systemd-analyze not helping The Next...

Why has the US not been more assertive in confronting Russia in recent years?

Why am I allowed to create multiple unique pointers from a single object?

If a black hole is created from light, can this black hole then move at speed of light?

How do I go from 300 unfinished/half written blog posts, to published posts?

Should I tutor a student who I know has cheated on their homework?

What does convergence in distribution "in the Gromov–Hausdorff" sense mean?

Can you replace a racial trait cantrip when leveling up?

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Why does standard notation not preserve intervals (visually)

How to avoid supervisors with prejudiced views?

Phase of a real number

Unreliable Magic - Is it worth it?

Why do remote companies require working in the US?

Do I need to enable Dev Hub in my PROD Org?

How did people program for Consoles with multiple CPUs?

How do I avoid eval and parse?

Is it ever safe to open a suspicious html file (e.g. email attachment)?

Make solar eclipses exceedingly rare, but still have new moons

How do we know the LHC results are robust?

sp_blitzCache results Memory grants

Why do we use the plural of movies in this phrase "We went to the movies last night."?

Preparing Indesign booklet with .psd graphics for print

MessageLevel in QGIS3

Is there a way to save my career from absolute disaster?



Lubuntu very slow boot with an SSD for an unknown reason, systemd-analyze not helping



The Next CEO of Stack OverflowWindows is very slow with my new SSDVery Slow Boot Time Windows 7 with SSDPC with SSD VERY Slow after Power OutageOpenSuse 13.1 PPC64 Port - Slow boot with error messages, and low color-depthHDD to SSD file transfer very slowVirtualBox Very Slow Boot TimeVery slow boot time for Dell Precision laptopCLOSED - Puzzlingly long systemd boot times, don't know where to startWindows 98 Lubuntu dual boot - Windows not bootingVery slow bootup time after adding SSD - Windows 10












3















I have a laptop with a 250GB SSD and dual boot Windows 10 and Lubuntu.



Windows takes less than a minute to boot, but Lubuntu takes more than three.



I tried finding the reason why, though systemd-analyze blame says that the service taking more time to load takes only 6 seconds.



systemd-analyze blame

5.920s NetworkManager-wait-online.service
911ms dev-sda5.device
409ms snap-repair.service
266ms systemd-resolved.service
228ms networking.service
208ms keyboard-setup.service
182ms apparmor.service
147ms upower.service
138ms systemd-tmpfiles-setup-dev.service
133ms systemd-timesyncd.service
129ms accounts-daemon.service
126ms snapd.service
114ms lightdm.service
110ms plymouth-quit-wait.service
108ms NetworkManager.service
92ms ModemManager.service
79ms grub-common.service
77ms preload.service
...


Although it takes more than 3 minutes to boot:



systemd-analyze time

Startup finished in 8.659s (kernel) + 3min 636ms (userspace) = 3min 9.295s


This is the systemd-analyze plot graph, it shows a huge gap, but it doesn't show any process taking a lot of time.



How can I find out what's causing the system to take so long to boot and how can I improve it?



(this is systemd-analyze critical-chain)



graphical.target @1min 36.454s
└─multi-user.target @1min 36.454s
└─whoopsie.service @1min 36.453s
└─network-online.target @1min 36.453s
└─NetworkManager-wait-online.service @1min 30.532s +5.920s
└─NetworkManager.service @1min 30.423s +108ms
└─dbus.service @1min 30.404s
└─basic.target @1min 30.390s
└─sockets.target @1min 30.390s
└─snapd.socket @1min 30.389s +1ms
└─sysinit.target @1min 30.387s
└─systemd-timesyncd.service @517ms +133ms
└─systemd-tmpfiles-setup.service @421ms +69ms
└─systemd-journal-flush.service @404ms +14ms
└─systemd-remount-fs.service @376ms +20ms
└─system.slice @164ms
└─-.slice @146ms


Edit: Using dmesg It's clear that the boot up sequence gets until crng init done. Solution posted below










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    3















    I have a laptop with a 250GB SSD and dual boot Windows 10 and Lubuntu.



    Windows takes less than a minute to boot, but Lubuntu takes more than three.



    I tried finding the reason why, though systemd-analyze blame says that the service taking more time to load takes only 6 seconds.



    systemd-analyze blame

    5.920s NetworkManager-wait-online.service
    911ms dev-sda5.device
    409ms snap-repair.service
    266ms systemd-resolved.service
    228ms networking.service
    208ms keyboard-setup.service
    182ms apparmor.service
    147ms upower.service
    138ms systemd-tmpfiles-setup-dev.service
    133ms systemd-timesyncd.service
    129ms accounts-daemon.service
    126ms snapd.service
    114ms lightdm.service
    110ms plymouth-quit-wait.service
    108ms NetworkManager.service
    92ms ModemManager.service
    79ms grub-common.service
    77ms preload.service
    ...


    Although it takes more than 3 minutes to boot:



    systemd-analyze time

    Startup finished in 8.659s (kernel) + 3min 636ms (userspace) = 3min 9.295s


    This is the systemd-analyze plot graph, it shows a huge gap, but it doesn't show any process taking a lot of time.



    How can I find out what's causing the system to take so long to boot and how can I improve it?



    (this is systemd-analyze critical-chain)



    graphical.target @1min 36.454s
    └─multi-user.target @1min 36.454s
    └─whoopsie.service @1min 36.453s
    └─network-online.target @1min 36.453s
    └─NetworkManager-wait-online.service @1min 30.532s +5.920s
    └─NetworkManager.service @1min 30.423s +108ms
    └─dbus.service @1min 30.404s
    └─basic.target @1min 30.390s
    └─sockets.target @1min 30.390s
    └─snapd.socket @1min 30.389s +1ms
    └─sysinit.target @1min 30.387s
    └─systemd-timesyncd.service @517ms +133ms
    └─systemd-tmpfiles-setup.service @421ms +69ms
    └─systemd-journal-flush.service @404ms +14ms
    └─systemd-remount-fs.service @376ms +20ms
    └─system.slice @164ms
    └─-.slice @146ms


    Edit: Using dmesg It's clear that the boot up sequence gets until crng init done. Solution posted below










    share|improve this question
















    bumped to the homepage by Community 1 hour ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      3












      3








      3


      1






      I have a laptop with a 250GB SSD and dual boot Windows 10 and Lubuntu.



      Windows takes less than a minute to boot, but Lubuntu takes more than three.



      I tried finding the reason why, though systemd-analyze blame says that the service taking more time to load takes only 6 seconds.



      systemd-analyze blame

      5.920s NetworkManager-wait-online.service
      911ms dev-sda5.device
      409ms snap-repair.service
      266ms systemd-resolved.service
      228ms networking.service
      208ms keyboard-setup.service
      182ms apparmor.service
      147ms upower.service
      138ms systemd-tmpfiles-setup-dev.service
      133ms systemd-timesyncd.service
      129ms accounts-daemon.service
      126ms snapd.service
      114ms lightdm.service
      110ms plymouth-quit-wait.service
      108ms NetworkManager.service
      92ms ModemManager.service
      79ms grub-common.service
      77ms preload.service
      ...


      Although it takes more than 3 minutes to boot:



      systemd-analyze time

      Startup finished in 8.659s (kernel) + 3min 636ms (userspace) = 3min 9.295s


      This is the systemd-analyze plot graph, it shows a huge gap, but it doesn't show any process taking a lot of time.



      How can I find out what's causing the system to take so long to boot and how can I improve it?



      (this is systemd-analyze critical-chain)



      graphical.target @1min 36.454s
      └─multi-user.target @1min 36.454s
      └─whoopsie.service @1min 36.453s
      └─network-online.target @1min 36.453s
      └─NetworkManager-wait-online.service @1min 30.532s +5.920s
      └─NetworkManager.service @1min 30.423s +108ms
      └─dbus.service @1min 30.404s
      └─basic.target @1min 30.390s
      └─sockets.target @1min 30.390s
      └─snapd.socket @1min 30.389s +1ms
      └─sysinit.target @1min 30.387s
      └─systemd-timesyncd.service @517ms +133ms
      └─systemd-tmpfiles-setup.service @421ms +69ms
      └─systemd-journal-flush.service @404ms +14ms
      └─systemd-remount-fs.service @376ms +20ms
      └─system.slice @164ms
      └─-.slice @146ms


      Edit: Using dmesg It's clear that the boot up sequence gets until crng init done. Solution posted below










      share|improve this question
















      I have a laptop with a 250GB SSD and dual boot Windows 10 and Lubuntu.



      Windows takes less than a minute to boot, but Lubuntu takes more than three.



      I tried finding the reason why, though systemd-analyze blame says that the service taking more time to load takes only 6 seconds.



      systemd-analyze blame

      5.920s NetworkManager-wait-online.service
      911ms dev-sda5.device
      409ms snap-repair.service
      266ms systemd-resolved.service
      228ms networking.service
      208ms keyboard-setup.service
      182ms apparmor.service
      147ms upower.service
      138ms systemd-tmpfiles-setup-dev.service
      133ms systemd-timesyncd.service
      129ms accounts-daemon.service
      126ms snapd.service
      114ms lightdm.service
      110ms plymouth-quit-wait.service
      108ms NetworkManager.service
      92ms ModemManager.service
      79ms grub-common.service
      77ms preload.service
      ...


      Although it takes more than 3 minutes to boot:



      systemd-analyze time

      Startup finished in 8.659s (kernel) + 3min 636ms (userspace) = 3min 9.295s


      This is the systemd-analyze plot graph, it shows a huge gap, but it doesn't show any process taking a lot of time.



      How can I find out what's causing the system to take so long to boot and how can I improve it?



      (this is systemd-analyze critical-chain)



      graphical.target @1min 36.454s
      └─multi-user.target @1min 36.454s
      └─whoopsie.service @1min 36.453s
      └─network-online.target @1min 36.453s
      └─NetworkManager-wait-online.service @1min 30.532s +5.920s
      └─NetworkManager.service @1min 30.423s +108ms
      └─dbus.service @1min 30.404s
      └─basic.target @1min 30.390s
      └─sockets.target @1min 30.390s
      └─snapd.socket @1min 30.389s +1ms
      └─sysinit.target @1min 30.387s
      └─systemd-timesyncd.service @517ms +133ms
      └─systemd-tmpfiles-setup.service @421ms +69ms
      └─systemd-journal-flush.service @404ms +14ms
      └─systemd-remount-fs.service @376ms +20ms
      └─system.slice @164ms
      └─-.slice @146ms


      Edit: Using dmesg It's clear that the boot up sequence gets until crng init done. Solution posted below







      linux ubuntu boot ssd lubuntu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 3 '17 at 11:35







      Dema

















      asked Oct 2 '17 at 18:38









      DemaDema

      163




      163





      bumped to the homepage by Community 1 hour ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 1 hour ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Disabling swap fixed the problem.



          Comment out the swap line in /etc/fstab and /etc/crypttab and reboot.



          https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685794






          share|improve this answer
























          • Can you accept your answer and upvote it so the @Community user won't have to bump it to the homepage?

            – JL2210
            55 mins ago












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1255595%2flubuntu-very-slow-boot-with-an-ssd-for-an-unknown-reason-systemd-analyze-not-he%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









          0














          Disabling swap fixed the problem.



          Comment out the swap line in /etc/fstab and /etc/crypttab and reboot.



          https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685794






          share|improve this answer
























          • Can you accept your answer and upvote it so the @Community user won't have to bump it to the homepage?

            – JL2210
            55 mins ago
















          0














          Disabling swap fixed the problem.



          Comment out the swap line in /etc/fstab and /etc/crypttab and reboot.



          https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685794






          share|improve this answer
























          • Can you accept your answer and upvote it so the @Community user won't have to bump it to the homepage?

            – JL2210
            55 mins ago














          0












          0








          0







          Disabling swap fixed the problem.



          Comment out the swap line in /etc/fstab and /etc/crypttab and reboot.



          https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685794






          share|improve this answer













          Disabling swap fixed the problem.



          Comment out the swap line in /etc/fstab and /etc/crypttab and reboot.



          https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1685794







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Oct 3 '17 at 11:33









          DemaDema

          163




          163













          • Can you accept your answer and upvote it so the @Community user won't have to bump it to the homepage?

            – JL2210
            55 mins ago



















          • Can you accept your answer and upvote it so the @Community user won't have to bump it to the homepage?

            – JL2210
            55 mins ago

















          Can you accept your answer and upvote it so the @Community user won't have to bump it to the homepage?

          – JL2210
          55 mins ago





          Can you accept your answer and upvote it so the @Community user won't have to bump it to the homepage?

          – JL2210
          55 mins ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1255595%2flubuntu-very-slow-boot-with-an-ssd-for-an-unknown-reason-systemd-analyze-not-he%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

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...