After updating my system yesterday (5th of February) I suddenly can’t boot from any of my generations:
starting device mapper and LVM...
File descriptor 8 (/dev/console) leaked on lvm invocation. Parent PID 1: /nix/store/bikm1w5rhl7jia88j7kzzq8zqymjba7d-extra-utils/bin/ash
File descriptor 9 (/dev/console) leaked on lvm invocation. Parent PID 1: /nix/store/bikm1w5rhl7jia88j7kzzq8zqymjba7d-extra-utils/bin/ash
1 logical volume(s) in volume group "root_vg" is now active
Scanning for Btrfs filesystems
registered: /dev/mapper/root_vg-root
mounting /dev/disk/by-uuid/da2848fa-667d-44d1-901e-7770911601d2 on /...
mounting /dev/disk/by-uuid/da2848fa-667d-44d1-901e-7770911601d2 on /nix...
mounting /dev/disk/by-uuid/da2848fa-667d-44d1-901e-7770911601d2 on /var/lib...
mounting /dev/disk/by-uuid/da2848fa-667d-44d1-901e-7770911601d2 on /var/log...
stage 2 init script (/mnt-root//nix/store/yjci5aqbk21g1d2nyp3x99l6v93qljpv-nixos-system-ie-25.05.20250204.799ba5b/init) not found
An error ocurred in stage 1 of the boot process, which must mount the root filesystem on '/mnt-root' and then start stage 2. Press one of the following keys:
r) to reboot immediately
*) to ignore the error and continue
I tried booting from my installation media and doing a fsck in my partitions but didn’t find any errors. Also checked if the hardware config in system/hardware-configuration.nix is correct and all uuids match. Any ideas?
Here’s my dotfiles Lucas / NixOS Dots · GitLab (didn’t push my latest commit but the exact same error occurs from booting the generation that’s in my gitlab, from 2 weeks ago).
Edit: the only change in my latest commit/system is that I updated my flake (nix flake update
) on February 5th and ran nh os boot
.