39
submitted 1 day ago by abadidonque@feddit.uk to c/linux@lemmy.ml

My boot time has just slowed down significantly, from around 30 seconds to around 2 minutes.

I have LUKS encryption enabled, and the slowdown is after entering my password, so I'm wondering if it's to do with the decryption but not sure how to tell for sure.

The only things that have changed are that I had a fairly big Libreoffice update today and have just connected to a new wireless network, although I haven't mounted any shares yet.

Debian 13, Wayland, GNOME

top 17 comments
sorted by: hot top new old
[-] Strit@lemmy.linuxuserspace.show 39 points 1 day ago

Output of systemd-analyze blame might tell you what is taking so long?

[-] abadidonque@feddit.uk 21 points 1 day ago

Thank you. I've found the culprit - it's nmbd.service

If I uninstall samba the slowdown disappears

[-] dropdrip@lemmy.ml 1 points 1 hour ago* (last edited 1 hour ago)

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.

[-] BCsven@lemmy.ca 2 points 17 hours ago

Did you add an SMB share to your fstab? If so it might be waiting on server share to become visible to finish booting

[-] nfms@lemmy.ml 10 points 1 day ago

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.

[-] confuser@lemmy.zip 2 points 21 hours ago

I'm not using Debian or gnome but on nixos I updated recently and my boot time got faster by like 5 seconds

[-] JadeEast@quokk.au 2 points 22 hours ago

Slow boots/shutdowns are a systemdicks feature. You probably need to disable a timer or set it to 1 second or something.

[-] tenebrisnox@feddit.uk 6 points 1 day ago

Do you have any mounted shares? I found this happened after I set it up to mount a network share after login.

[-] abadidonque@feddit.uk 2 points 1 day ago* (last edited 1 day ago)

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?

[-] tenebrisnox@feddit.uk 1 points 2 hours ago

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.

[-] Romkslrqusz@lemmy.zip 4 points 1 day ago

Does the rest of the system feel normal?

May want to account for a potential hardware issue.

[-] deadcade@lemmy.deadca.de 4 points 1 day ago

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

[-] doubtingtammy@lemmy.ml 2 points 1 day ago

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?

[-] pglpm@lemmy.ca 2 points 1 day ago* (last edited 1 day ago)

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.

[-] abadidonque@feddit.uk 3 points 23 hours ago

Good point, I need to check that.

[-] AliOski@feddit.nl 2 points 1 day ago

You are able to reproduce it consistently?

[-] sun_is_ra@sh.itjust.works 1 points 1 day ago

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)

this post was submitted on 04 Dec 2026
39 points (97.6% liked)

Linux

69010 readers
1396 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS