this post was submitted on 04 Apr 2025
2 points (100.0% liked)

Fedora Linux

2147 readers
4 users here now

All about Fedora Linux

founded 5 years ago
MODERATORS
 

I'm running Fedora 41 KDE and had what appeared to be an issue with the system not loading to desktop from the GUI login screen. I am getting a black screen with just the cursor and nothing else. I can get a terminal window going on TTY3-6 to reboot and doing so would load into the desktop pretty much instantly.

Turns out that there's actually a process causing total boot time from power on to exceed 6 minutes. Boot log is viewable here https://paste.centos.org/view/raw/8846c1ec

Using systemd-analyze blame I can see that smartd.service is causing 3 minutes of that boot time. From a quick search it seems like it might be doing a full SMART test of my 3 SSDs on the first boot of the day.

Does anyone know how to disable this at boot? There doesn't appear to be a conf file in /etc/ and smartmontools isn't installed.

edit with solution

Thanks @[email protected] and @[email protected] for correctly pointing out that fedora was struggling to mount a drive.

I checked fstab and there was no entry for the drive. mtab showed that it was mounted even though the drive wasn’t listed. I tried to find a way to have the drive ignored at boot but the only results that came up involved setting udev rules and those results were more than a decade old.

In the end I found the drive listed in /dev/. Using

rm nvmeXnXpX

I deleted the two partition entries and it now boots perfectly AND the drive is now listed correctly in the desktop and accessible.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 4 days ago

Awesome thank you. Didn’t even know that fstab was a thing