Ubuntu 18.04 Slow Boot Time

Solution 1:

  • Try to disable samba:

    sudo systemctl stop smbd
    sudo systemctl disable smbd
    

    If you have further problems:

    sudo systemctl mask smbd 
    
  • According the NetworkManager-wait-online.service @37.538s +9.086s, try to disable this service:

    sudo systemctl disable NetworkManager-wait-online.service
    

    More info on this issue on: https://askubuntu.com/a/1018731/790920