Slow start up/boot time

Hi, I am using Majaro rolling Gnome in dell inspiron i7 laptop.

And my start up time is very slow. The output of the systemd-analyze blame is :

systemd-analyze blame  ✔

24.402s pkgfile-update.service
20.847s systemd-journal-flush.service
13.356s NetworkManager-wait-online.service
 5.137s dev-sda2.device
 2.986s tlp.service
 1.909s ufw.service
 1.751s wpa_supplicant.service
 1.556s upower.service
 1.551s systemd-udevd.service
 1.498s NetworkManager.service
 1.476s user@1000.service
 1.400s ModemManager.service
 1.209s polkit.service
 1.035s systemd-tmpfiles-setup-dev.service
  951ms bluetooth.service
  939ms dbus.service
  933ms systemd-logind.service
  815ms lvm2-monitor.service
  758ms udisks2.service
  747ms systemd-backlight@leds:dell::kbd_backlight.service
  672ms accounts-daemon.service
  545ms systemd-random-seed.service
  511ms systemd-tmpfiles-setup.service
  462ms systemd-fsck@dev-disk-by\x2duuid-AE16\x2dDD83.service
  374ms systemd-udev-trigger.service
  353ms gdm.service
  243ms boot-efi.mount
  215ms colord.service

Which services can I mask/disable to make it faster.
Really appreciate your help guys.

and

can be masked
The one that took now longer is

but do not worry, next boot will not take that long, and also is triggered by a timer that runs every 6 hours …

Hi @Anton7472, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.


All that said, the only thing(s) that looks like they take “long”:

…is network-related stuff, I think specifically NetworkManager. Let’s see is there is anything in the logs. Please provide the output for:

journalctl --unit=NetworkManager.service --boot=-1 -priority=7 --no-pager

Your hard disk is not a SSD, right? You can’t only push the spinning disks so far.

Mine is about the same time, but mostly because I’m waiting for the modem to connect. Actually, I’m not waiting, the computer is. I turn on my computer and modem in the morning, and then go make coffee.

It’s hard disk. I have a slot for SSD but haven’t used it yet.

Sometimes I use my mobile network from my mobile to connect to the internet from my laptop via hotspot or tethering. Will disabling/masking ModemManager or NetworkManager affect that?

Also what is pkgfile-update.service, can I disable it as it the one taking the most time.?

It says:

For more info on start up time: