我的笔记本电脑需要两分多钟才能启动。我等了 90 多秒,所有服务才开始加载,fsck 也运行了。
嗨,谢谢,Byte Commander。我明白你的意思了。我把 analyze blame 和 analyze 的输出放在这里。希望你能帮上忙。
Startup finished in 15.943s (kernel) + 1min 45.912s (userspace) = 2min 1.855s
johnny@donkeykong:~$ systemd-analyze blame | head -n 20
51.863s apt-daily.service
19.344s dev-sda1.device
13.907s ModemManager.service
13.384s snapd.service
12.915s NetworkManager-wait-online.service
9.962s apt-daily-upgrade.service
9.078s apparmor.service
6.891s grub-common.service
6.245s irqbalance.service
5.992s apport.service
5.688s ondemand.service
5.427s lm-sensors.service
5.369s systemd-logind.service
5.296s ufw.service
5.134s alsa-restore.service
5.117s rsyslog.service
5.106s systemd-user-sessions.service
5.104s zram-config.service
4.799s NetworkManager.service
4.768s avahi-daemon.service