Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum Linuxiarze.pl

Author Topic: <SOLVED> Sparky boot time 4 minutes!  (Read 176 times)

Offline Erwin

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
<SOLVED> Sparky boot time 4 minutes!
« on: October 13, 2020, 04:42:20 pm »
So I have finally installed Sparky after several issues and it runs.
However there is still a problem, boot time.
From the moment GRUB start until the login it takes 4 minutes, I have no idea what is the causin problem.
Can anybody tell me where to look first?  ::)
« Last Edit: October 15, 2020, 05:16:37 pm by Erwin »

Offline lami07

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: +5/-0
    • Sparky Community Repos
Re: Sparky boot time 4 minutes!
« Reply #1 on: October 13, 2020, 05:45:24 pm »
Code: [Select]
sudo systemd-analyze And
Code: [Select]
sudo systemd-analyze blame
Quote from: forum rules
When an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at irc.freenode.net

Offline Erwin

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Sparky boot time 4 minutes!
« Reply #2 on: October 13, 2020, 06:37:36 pm »
Code: [Select]
sudo systemd-analyze And
Code: [Select]
sudo systemd-analyze blame
sudo systemd-analyze
Startup finished in 37.990s (kernel) + 1min 47.177s (userspace) = 2min 25.168s
graphical.target reached after 1min 47.127s in userspace

sudo systemd-analyze blame
13.609s udisks2.service                     
 7.367s systemd-udev-settle.service         
 6.207s ModemManager.service               
 5.721s dev-sda1.device                     
 5.552s NetworkManager-wait-online.service 
 5.480s accounts-daemon.service             
 5.139s polkit.service                     
 5.008s apparmor.service                   
 4.682s e2scrub_reap.service               
 4.456s avahi-daemon.service               
 4.414s NetworkManager.service             
 4.315s rtkit-daemon.service               
 4.305s wpa_supplicant.service             
 4.289s systemd-logind.service             
 4.194s loadcpufreq.service                 
 4.165s exim4.service                       
 2.769s upower.service                     
 2.437s ntp.service                         
 2.369s systemd-journal-flush.service       
 2.327s systemd-udevd.service               
 2.252s rsyslog.service                     
 2.060s systemd-journald.service           
 1.617s keyboard-setup.service       

Offline Erwin

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Sparky boot time 4 minutes!
« Reply #3 on: October 13, 2020, 06:51:13 pm »
Some more info since udisk2.service take a long time:

systemd-analyze critical-chain udisks2.service
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

udisks2.service +13.609s
└─basic.target @1min 32.815s
  └─sockets.target @1min 32.815s
    └─uuidd.socket @1min 32.815s
      └─sysinit.target @1min 32.775s
        └─systemd-udev-settle.service @3.975s +7.367s
          └─systemd-udev-trigger.service @3.078s +878ms
            └─systemd-udevd-kernel.socket @2.613s
              └─system.slice @1.908s
                └─-.slice @1.908s

Offline Erwin

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: <SOLVED> Sparky boot time 4 minutes!
« Reply #4 on: October 15, 2020, 05:17:44 pm »
Installed Linux Lite and everything works smooth.
Sorry Sparky, still some work to do!

Offline paxmark1

  • Hero Member
  • *****
  • Posts: 749
  • Karma: +3/-0
  • https://forum.sparkylinux.org/index.php/topic,4614
Re: <SOLVED> Sparky boot time 4 minutes!
« Reply #5 on: October 17, 2020, 09:53:54 pm »

Well for the future, you can still learn how to mark up code  via the # button to improve readability.   That will aid you in wherever you go in linux forums.
Search forum for "More info easier via inxi"    If requested -  no inxi, no help for you by  me.