Output of systemd-analyze blame might tell you what is taking so long?
Thank you. I've found the culprit - it's nmbd.service
If I uninstall samba the slowdown disappears
I wonder if it's due to a 'recent' samba specific update. This stalled my boot as well. I don't think I've changed any samba configurations between it stalling and not stalling, just the usual system upgrades.
Did you add an SMB share to your fstab? If so it might be waiting on server share to become visible to finish booting
Install samba, disable this service and check again. You might want/need samba, this particular service may not be required for samba to operate correctly.
I'm not using Debian or gnome but on nixos I updated recently and my boot time got faster by like 5 seconds
Slow boots/shutdowns are a systemdicks feature. You probably need to disable a timer or set it to 1 second or something.
Do you have any mounted shares? I found this happened after I set it up to mount a network share after login.
I've connected to the new network but haven't yet authorised the mounting of any shares.
Edit: Did you get a permanent slow down when booting, after mounting the share?
Yes. It takes about 30 seconds to respond once I log in. Because it happened as soon as I added the share, I guess that was the issue. I've just got used to it.
Does the rest of the system feel normal?
May want to account for a potential hardware issue.
Last time I saw this happening on a laptop, the power brick (sorta) gave out. If it is a laptop, try unplugging it from the wall and booting it on battery alone.
Be sure to check dmesg for any errors as well, alongside systemd-analyze blame
Do you have auto system updates? Like, if you restart as soon as startup is complete, does it still take a long time to boot?
Check if other things far away from the laptop slow down during boot or not. In that case you might temporarily be getting superpowers during boot. If not, it could be a gravitational problem with the laptop; test if a plumb line gets deflected towards it during boot.
Good point, I need to check that.
You are able to reproduce it consistently?
I don't know your setup in order to judge but maybe there is a service that is trying to connect to the internet or do dns lookup which is taking too long with the new router or even timing out?
Just to eliminate this possibility try to reboot without internet connection (maybe turn your router off for the test)
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0