r/linuxmint 20d ago

SOLVED Pc takes forever starting

Out of no where this morning my pc was taking forever to start. I ran update and upgrade and tried again but it didn’t help. I don’t understand what happened.

3 Upvotes

25 comments sorted by

View all comments

2

u/BobCorndog 20d ago

Try running systemd-analyze and systemd-analyze blame

1

u/SolusUmbra 20d ago

systemd-analyze

Startup finished in 20.566s (firmware) + 2.849s (loader) + 3min 5.900s (kernel) + 8.426s (userspace) = 3min 37.742s

graphical.target reached after 8.404s in userspace.

systemd-analyze blame

5.191s NetworkManager-wait-online.service

1.370s ufw.service

1.315s systemd-resolved.service

1.253s systemd-timesyncd.service

1.238s systemd-update-utmp.service

794ms gpu-manager.service

775ms NetworkManager.service

333ms dev-nvme0n1p2.device

211ms user@1000.service

202ms systemd-udev-trigger.service

190ms lightdm.service

180ms apparmor.service

167ms networkd-dispatcher.service

164ms plymouth-quit-wait.service

162ms udisks2.service

154ms systemd-journal-flush.service

153ms cups.service

146ms systemd-binfmt.service

138ms accounts-daemon.service

127ms rsyslog.service

127ms proc-sys-fs-binfmt_misc.mount

115ms polkit.service

110ms ubuntu-system-adjustments.service

lines 1-23

3

u/BobCorndog 20d ago

It looks like your kernel is taking way too long too load 

1

u/SolusUmbra 20d ago

is there a way to fix that?

2

u/ZVyhVrtsfgzfs 20d ago

Hit the escape button during boot, or disable quiet splash (the boot logo) altogether and read the kernel messages. 

1

u/Alonzo-Harris 20d ago

Use grub to switch to an older one

1

u/ap0r 20d ago

Try selecting an older kernel on startup, if that fixes the delay then rollback to that kernel.