Speed up Ubuntu boot

Run systemd-analyze blame to learn which service took the longest to start.

The systemd-networkd-wait-online.service waits for the network to start, which is useful for server but useless for desktop. And it can add 90 seconds waiting time. Disable on desktop: disable systemd-networkd-wait-online.service:

$ systemctl disable systemd-networkd-wait-online.service
$ systemctl mask systemd-networkd-wait-online.service

Similar thing, NetworkManager-wait-online.service caused my boot to stall for 5 seconds. I’ve disabled and it caused no side-effects:

$ sudo systemctl disable NetworkManager-wait-online.service

gpu-manager.service added 5 seconds to the boot time. Apparently it generates Xorg.conf which is useless for wayland => disable:

$ sudo systemctl disable gpu-manager.service
Written on September 15, 2025