Results 1 to 4 of 4

Thread: Slow boot after installing 20.04

  1. #1
    Join Date
    Oct 2010
    Beans
    122

    Slow boot after installing 20.04

    I found a recent post about troubleshooting bootup. It was very informative. I updated grub with
    GRUB_CMDLINE_LINUX_DEFAULT="" and it helped me see things I can work on in the future to
    make my computer boot faster.
    Right now the problem I have is that after the screen stops showing me all the command line
    info during boot, it goes blank and it stays blank for over a minute. How do I troubleshoot this? I have
    also noticed that once booted up and logged in ... when I try to do different things it takes
    longer than it should. Like it has to wait for something to time out. Thanks in advance for helping!
    I also found an old post (ubuntu 12) that mentioned a boot log. I was never able to find that. What log
    is the most informative for boot?

  2. #2
    Join Date
    Oct 2010
    Beans
    122

    Re: Slow boot after installing 20.04

    Additional info: Normal boot: about 1:15 minute
    Blank screen: 30 seconds
    Blank screen with cursor: 30 seconds
    Logon screen

  3. #3
    Join Date
    Jan 2020
    Beans
    94

    Re: Slow boot after installing 20.04

    Run the following from a terminal:

    systemd-analyze blame

  4. #4
    Join Date
    Oct 2010
    Beans
    122

    Re: Slow boot after installing 20.04

    Thanks for the suggestion. It seemed to be what I need. I ran it right after I had booted up. It shows where something is looping about 29 times (dev-loop29.device). I did not see anything else that was out of place. What is this?

    mlempenau@mlempenau20:~$ systemd-analyze blame
    20.125s dev-sda2.device
    13.972s udisks2.service
    12.860s systemd-journal-flush.service
    12.554s NetworkManager-wait-online.service
    12.217s dev-loop23.device
    12.207s snapd.service
    11.687s dev-loop14.device
    11.331s dev-loop22.device
    11.213s nmbd.service
    10.999s dev-loop1.device
    10.851s accounts-daemon.service
    10.258s dev-loop9.device
    10.257s dev-loop10.device
    10.253s dev-loop29.device
    10.252s dev-loop27.device
    10.252s dev-loop28.device
    10.252s dev-loop26.device
    9.434s dev-loop30.device
    9.391s dev-loop31.device
    9.347s polkit.service
    9.159s dev-loop24.device
    9.064s dev-loop20.device
    8.965s dev-loop12.device
    8.956s dev-loop17.device
    8.930s dev-loop19.device
    8.919s dev-loop25.device
    8.888s dev-loop18.device
    8.693s avahi-daemon.service
    8.678s dev-loop11.device
    8.646s NetworkManager.service
    8.596s dev-loop21.device
    8.574s dev-loop7.device
    8.505s networkd-dispatcher.service
    8.274s dev-loop15.device
    8.257s dev-loop8.device
    8.135s dev-loop16.device
    8.026s dev-loop13.device
    7.789s dev-loop6.device
    7.690s dev-loop4.device
    7.539s switcheroo-control.service
    7.532s thermald.service
    7.528s systemd-logind.service
    7.509s wpa_supplicant.service
    7.326s dev-loop3.device
    7.214s dev-loop0.device
    6.890s dev-loop2.device
    6.769s dev-loop5.device
    5.803s apport-autoreport.service
    5.619s fwupd.service
    5.044s ModemManager.service
    4.771s systemd-udevd.service
    4.768s smbd.service
    4.452s apparmor.service
    4.243s dnsmasq.service
    3.836s snap-audacity-666.mount
    3.803s snap-audacity-675.mount
    3.735s snap-canonical\x2dlivepatch-94.mount
    3.526s teamviewerd.service
    3.494s snap-canonical\x2dlivepatch-95.mount
    3.240s snap-chromium-1193.mount
    3.199s snap-chromium-1213.mount
    3.168s smartmontools.service
    3.034s rsyslog.service
    2.920s snapd.apparmor.service
    2.836s snap-core-9289.mount
    2.823s snap-core-9436.mount
    2.680s snap-core18-1705.mount
    2.598s snap-core18-1754.mount
    2.462s secureboot-db.service
    2.415s snap-gimp-273.mount
    2.360s systemd-resolved.service
    2.320s snap-gimp-281.mount
    2.294s systemd-tmpfiles-setup.service
    2.183s snap-gnome\x2d3\x2d26\x2d1604-100.mount
    2.175s apport.service
    2.128s snap-gnome\x2d3\x2d26\x2d1604-98.mount
    2.095s grub-common.service
    2.074s lm-sensors.service
    1.993s snap-gnome\x2d3\x2d28\x2d1804-116.mount
    1.830s snap-gnome\x2d3\x2d28\x2d1804-128.mount
    1.659s snap-gnome\x2d3\x2d34\x2d1804-33.mount
    1.620s snap-gnome\x2d3\x2d34\x2d1804-36.mount
    1.501s snap-gnome\x2dsystem\x2dmonitor-145.mount
    1.473s gdm.service
    1.431s snap-gnome\x2dsystem\x2dmonitor-148.mount
    1.367s grub-initrd-fallback.service
    1.284s snap-gtk2\x2dcommon\x2dthemes-13.mount
    1.247s snap-gtk2\x2dcommon\x2dthemes-9.mount
    1.232s systemd-modules-load.service
    1.200s gpu-manager.service
    1.142s snap-gtk\x2dcommon\x2dthemes-1502.mount
    1.112s rpcbind.service
    1.106s e2scrub_reap.service
    1.092s keyboard-setup.service
    1.044s networking.service
    998ms snap-gtk\x2dcommon\x2dthemes-1506.mount
    992ms colord.service
    978ms snap-handbrake\x2djz-133.mount
    964ms snap-handbrake\x2djz-134.mount
    957ms upower.service
    918ms systemd-tmpfiles-setup-dev.service
    894ms snap-network\x2dmanager-514.mount
    860ms dns-clean.service
    856ms systemd-sysusers.service
    845ms snap-network\x2dmanager-554.mount
    802ms snap-skype-134.mount
    796ms systemd-sysctl.service
    731ms packagekit.service
    704ms snap-skype-137.mount
    661ms systemd-journald.service
    636ms pppd-dns.service
    607ms systemd-udev-trigger.service
    606ms systemd-timesyncd.service
    582ms systemd-random-seed.service
    561ms binfmt-support.service
    501ms run-rpc_pipefs.mount
    428ms openvpn.service
    428ms snapd.seeded.service
    341ms setvtrgb.service
    290ms swapfile.swap
    288ms kerneloops.service
    229ms ifupdown-pre.service
    217ms systemd-remount-fs.service
    208ms ufw.service
    194ms systemd-update-utmp.service
    185ms snap-snap\x2dstore-415.mount
    175ms plymouth-read-write.service
    147ms rtkit-daemon.service
    145ms kmod-static-nodes.service
    143ms console-setup.service
    132ms dev-hugepages.mount
    131ms dev-mqueue.mount
    128ms sys-kernel-debug.mount
    128ms systemd-user-sessions.service
    128ms sys-kernel-tracing.mount
    127ms boot-efi.mount
    123ms nfs-config.service
    105ms snap-snap\x2dstore-467.mount
    104ms snap.network-manager.networkmanager.service
    32ms proc-sys-fs-binfmt_misc.mount
    25ms alsa-restore.service
    14ms systemd-update-utmp-runlevel.service
    5ms sys-fs-fuse-connections.mount
    4ms plymouth-quit-wait.service
    4ms sys-kernel-config.mount
    3ms snapd.socket
    lines 131-153/153 (END)


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •