Okay so this morning, a pacman -Syu seemed to have broken my system. Fair enough. Upon boot, it entered emergency mode, but in a loop. It keeps saying “Press Enter to Continue”. If I press enter, it will load for minutes, and then fall back to that prompt again.
Now I have limine as boot loader, snapper installed and everything, so every pacman transaction creates a snapshot. After failing to boot, I selected a snapshot, booted from it, perfectly fine. I then pacman -Syu’s again, hoping maybe the failing package has been hot fixed already. It hadn’t, and boot failed again. But now, when I wanted to boot into a snapshot, they pretty much all disappeared. Now this is probably snapper cleaning up because of storage, but now my snapshot entries are gone.
So I boot a live usb, mount the file system, and all most snapshots are there, as /@/.snapshots. Cool, so I renamed @ to @.bak and restored the working snapshot from before with
sudo btrfs subvolume snapshot /mnt/@.broken/.snapshots/12/snapshot /mnt/@
I 100% know that this snapshot works, but even after restoring it from the live usb and then trying to boot again, it will again fall into the error and not boot.
The error I’m encountering says
Cannot open access to console, the root account is locked
and then after pressing enter
Reloading system manager configuration
Starting initrd.target
It will stay like this for about 2-3 minutes and then go from the start again, wanting me to press enter to continue.
I’m out of ideas. How can I restore my system?