Results 1 to 3 of 3

Thread: [SOLVED] Ubuntu 20.04 Slow boot

  1. #1
    Join Date
    Sep 2020
    Beans
    2

    [SOLVED] Ubuntu 20.04 Slow boot

    Hey there,

    I had upgraded (clean install ) from 19.04 to 20.04 the last week and i have since then very slow times at boot (almost 2 minutes)

    I was seeing the check disks at the loading screen first and i disabled it like this
    Code:
    fsck.mode=skip grub.cfg just before quiet splash

    I don't know if you need something from my hardware specs, the pc is 1 years old , Ryzen 5 3400G , no problems at all with the 19.04 distro

    So here is the output of systemd-analyze

    Code:
    systemd-analyze
    Startup finished in 15.415s (firmware) + 4.265s (loader) + 3.541s (kernel) + 1min 39.750s (userspace) = 2min 2.973s 
    graphical.target reached after 1min 39.734s in userspace
    and here the critical-chain
    Code:
    graphical.target @1min 39.734s
    └─multi-user.target @1min 39.734s
      └─kerneloops.service @1min 36.919s +21ms
        └─network-online.target @1min 36.899s
          └─NetworkManager-wait-online.service @1min 30.601s +6.296s
            └─NetworkManager.service @1min 30.367s +233ms
              └─dbus.service @1min 30.364s
                └─basic.target @1min 30.357s
                  └─sockets.target @1min 30.357s
                    └─snapd.socket @1min 30.355s +697us
                      └─sysinit.target @1min 30.349s
                        └─systemd-timesyncd.service @1min 30.280s +69ms
                          └─systemd-tmpfiles-setup.service @1min 30.241s +37ms
                            └─systemd-journal-flush.service @301ms +320ms
                              └─systemd-journald.service @220ms +79ms
                                └─systemd-journald.socket @217ms
                                  └─system.slice @214ms
                                    └─-.slice @214ms
    Any thoughts where to search next ?

    Many thanks in advance
    Last edited by tuxxtuta; October 11th, 2020 at 03:18 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Ubuntu 20.04 Slow boot

    Wide variety of issues.

    HDD or SSD?
    Is UEFI firmware & if SSD, the SSD firmware up to date?

    Do all UUIDs in fstab match actuall partitions you have, often a reformatted swap changes and causes issues. Compare UUIDs, may sure all are valid.
    cat /etc/fstab
    lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE,MODEL, uuid | egrep -v "^loop"

    Are you using snaps. Many are now installed by default, instead of .deb. But snaps are slower.
    Since these posts they have improved snaps, but still not as fast. I uninstall all snaps and install only .deb versions using snaptic or command line.

    Other issues:
    https://ubuntuforums.org/showthread....9#post13932499
    https://ubuntuforums.org/showthread.php?t=2417453 &
    https://ubuntuforums.org/showthread....2#post13857392 &
    https://www.dedoimedo.com/computers/...slow-boot.html

    Changes I make:
    turned off NetworkManager-wait with systemctl
    changed from quiet splash to noplymouth, will see boot process rather than Ubuntu logo
    sudo apt install libblockdev-crypto2 libblockdev-mdraid2
    turned off printer when rebooting
    removed snaps

    Devices using LVFS for firmware updates
    https://fwupd.org/lvfs/devicelist
    If UEFI firmware update not supported (yet):
    sudo apt-get purge fwupd
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Sep 2020
    Beans
    2

    Re: Ubuntu 20.04 Slow boot

    Sorry for the late response

    Thank you for your reply,
    YES! It was a wrong entry in my fstab , i thought that it was my HDD and i had comment the entry but the problem was not fixed , i found that there was an entry from the installation , i removed it and everything works perfect

    thx again for your time

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
  •