Inconsistent startup

Im wondering if other users also have this issue that recently my system startup is inconsistent.

I have 3 major issues:

    1. I have a PC with 4 ssd that i mount at startup. Sometimes one or multiple mounts are just failing and i keep restarting until everything is mounted again (up to 5 times)
    1. My working laptop using a secret key for the ssd encyption. Sometimes the Crypt Service just fails at startup and i reboot until it stops failing ( up to 3 restarts)
    1. My private laptop wifi card sometimes is not detected and i have to boot multiple times until its recognized again (up to 10 restart)
      at least i have an errorcode for this one:
      probe with driver mt7925e failed with error -5
      But the solution for this errorcode seems also to be just restart and pray it works again

Im not sure where this issues are coming from. Could it be because i use latest kernel.

For me it feels really hard to troubleshoot because these issues are so inconsistent and when the system is running everything works as expected.

Decryption failing might be an issue with your FS config, please ensure to use the /dev/mapper/... instead of /dev/disk/... for encrypted partitions.

2 Likes

Have you tried with a different kernel? All these functions are kernel related, so it’s worth a try to be sure, since it’s easy to switch.

2 Likes

Thanks a lot that did the trick. Didnt think about this because i created the encryption with the default nixos installer.

for the wifi problem it seemed to get solved by the kernel change. i was using zen before and now switched to xanmod.

for the boot failures i changed from device to device-uuid and added more options

device = “/dev/nvme0n1p1”; to /dev/disk/by-uuid/uuid

options = [
“nofail”
“x-systemd.automount”
“x-systemd.device-timeout=10s”
“defaults”
];