Linux Lite Forums

Hardware - Support => Start up and Shutdown => Topic started by: tomg54 on July 09, 2018, 08:29:35 PM

Title: boot times
Post by: tomg54 on July 09, 2018, 08:29:35 PM
Just a comment.  Lite 3.8 since 2.0 on an older hdd. 4 years, fantastic, no problems.  I mean 0 problems.  Lite 4 on ssd has some issues. Make breakfast while waiting for boot. VB purge a no go.  All good though.  3.8 on my main hdd just moves along.  Thanks to all of the developers.  I have no plans to abandon this ship. It has served me too well.  An aside, 1st linux was 2.0 on a Dell 32bit from 2003.  That is why Windows is in my rear view mirror.
Title: Re: boot times
Post by: berry17 on July 17, 2018, 10:59:05 AM
Linux Lite 4.0 needs about 70 seconds to boot  (from grub-entry to login-screen).
How can I accelerate it ?

Other distros on my PC need about 25 to 32 seconds.
antix 25 seconds,  linux-mint19xfce 32 seconds,  peppermint9 32 seconds.

end of systemd log (the first second is ok, therefore I don't post it):

Code: [Select]
systemd-analyze blame
         42.124s vboxadd.service
         37.953s plymouth-quit-wait.service
         13.303s systemd-journal-flush.service
         12.543s dev-sda6.device
         12.214s ufw.service
         12.172s lvm2-monitor.service
          9.727s systemd-udevd.service
          9.658s [email protected]
          6.293s NetworkManager-wait-online.service
          5.595s udisks2.service
          4.492s NetworkManager.service
          3.057s ModemManager.service
          2.174s networkd-dispatcher.service
          1.989s accounts-daemon.service
          1.820s thermald.service
          1.677s apparmor.service
          1.572s keyboard-setup.service
          1.565s grub-common.service
          1.177s wpa_supplicant.service
          1.062s smbd.service
Title: Re: boot times
Post by: m654321 on July 17, 2018, 11:29:50 AM
Linux Lite 4.0 needs about 70 seconds to boot  (from grub-entry to login-screen).
How can I accelerate it ?

As you can see from your terminal output, your vbox.service is taking up a huge amount of boot-time.
Do you need virtual machines to run on your PC? If you don't then delete vbox.service. This has come up a few times already,
but here is the solution - it should speed up things very significantly for you:

Code: [Select]
sudo apt purge virtualbox*
sudo systemctl stop vboxadd.service
sudo systemctl stop vboxadd-service.service
sudo systemctl disable vboxadd.service
sudo systemctl disable vboxadd-service.service
 
Title: Re: boot times
Post by: berry17 on July 17, 2018, 12:03:08 PM
Perfect.

Thank you very much, especially for the commands you posted.

Now the boot-time takes 32 seconds only.
Since I have no SSD but old fashioned HDD, I consider this as very fast according to the other light distros I am used to.

Thanks to the Linux Lite team for the distro.
I like very much what I see.