I tried disabling the network manager service with no luck. It takes over a minute a half to boot. Here is the output from
systemd-analyze critical-chain
graphical.target @1min 35.521s
└─multi-user.target @1min 35.521s
└─plymouth-quit-wait.service @1min 31.228s +4.292s
└─systemd-user-sessions.service @1min 31.219s +4ms
└─network.target @1min 31.217s
└─wpa_supplicant.service @1min 31.689s +10ms
└─dbus.service @1min 30.455s
└─basic.target @1min 30.442s
└─sockets.target @1min 30.442s
└─uuidd.socket @1min 30.442s
└─sysinit.target @1min 30.370s
└─systemd-backlight@leds:tpacpi::kbd_backlight.service @952>
└─system-systemd\x2dbacklight.slice @538ms
└─system.slice @175ms
└─-.slice @175ms
lines 1-18/18 (END)
systemd-analyze
Startup finished in 5.415s (kernel) + 1min 35.528s (userspace) = 1min 40.943s
graphical.target reached after 1min 35.521s in userspace
systemd-analyze blame
4.292s plymouth-quit-wait.service
937ms systemd-logind.service
846ms accounts-daemon.service
826ms networkd-dispatcher.service
798ms udisks2.service
765ms bluetooth.service
765ms avahi-daemon.service
760ms NetworkManager.service
755ms system76-power.service
752ms polkit.service
743ms switcheroo-control.service
739ms thermald.service
649ms gpu-manager.service
647ms dev-mapper-data\x2droot.device
639ms apport.service
634ms grub-common.service
624ms rsyslog.service
620ms lm-sensors.service
606ms e2scrub_reap.service
557ms vpnagentd.service
504ms fwupd.service
213ms apparmor.service
203ms systemd-rfkill.service
lines 1-23
System specifications
- Distro: Ubuntu
- Disk encryption: enabled
- Hardware: Thinkpad X1 Extreme, 8th gen i7 CPU, 32GB RAM, NVIDIA 1050 Ti
- xanmod kernel version: stable version 5.10.35
It used to boot fast even with disk encryption enabled in the default kernel that came with the Pop os, after installing xanmod kernel I'm facing this slow boot issue. I tried booting from the default kernel and then even removed it but no help.