I am setting up a laptop for someone. It has 2GB memory (and a swap partition in case it helps) which boots very slowly. This list shows all the processes which take over ten seconds from system-analyze blame
:
1min 30.200s nmbd.service
52.468s apt-daily.service
32.414s plymouth-start.service
31.853s plymouth-quit-wait.service
31.848s lightdm.service
26.335s plymouth-read-write.service
14.025s dev-sda1.device
12.957s ufw.service
11.176s systemd-journal-flush.service
I've been advise by the Ubuntu Budgie people that I can:
- Remove nmbd.service as there is no intention to connect to Windows computers. How would I do this?
- Fix the way apt-daily.service starts - this shouldn't be happening until later anyway. A couple of ways to do this are discussed here Ubuntu 16.04 slow boot (apt-daily.service). One suggestion times out the initial attempt to start the service and the other postpones it till long after boot has finished. Would either be satisfactory?
systemctl disable nmbd.service
for the service file (I think as I don't know what nmbd.service is) and just try one of the solutions given and see if it works. if not try the other. if that doesn't help then come and ask for help