It’s super late/early, I just woke up, so maybe that’s the reason why I can’t find the password for the live user sudo password. Or maybe I’m just stupid.
My system froze today while running updates and my dracut boot entries were gone when I restarted, only allows boot into UEFI. I’m trying to fix this by chrooting with my EOS install USB. However, I don’t know/remember the live user sudo password.
I should mount my EFI (nvme0n1p1), then mount my system partition (nvme0n1p2), then mount my Home partition (nvme0n1p3). Or maybe the Home partition isn’t needed for system update?
When these are mounted, arch-chroot, try to update the system again with “sudo pacman -Syu”, see if there are errors, if not, all should be good to go. Correct?
Correct, but I think there’s something you need to do specific to a btrfs partition; I don’t use btrfs, but I do seem to recall that there’s something different that must be done. I might be wrong on that, though.
Unfortunately it’s getting late, and I’m too sleepy to look it up and check for you. Sorry.
sudo mount /dev/nvme0n1p2 /mnt -o subvol=@
sudo mount /dev/nvme0n1p1 /mnt/efi
sudo mount /dev/nvme0n1p3 /mnt/home
sudo arch-chroot /mnt
Then I had to remove pacman db.lock, after which I could fully update the system. Then, just to make sure I ran reinstall-kernels so dracut would rebuild everything. Then my system was able to boot into my system again.
Thanks for help everybody. I’ll mark this as solved.
I suppose there’s multiple ways of achieving the same goal? I’m not using grub. I used to have grub, but during recent reinstall I chose systemd + dracut as the way to go. I was a bit confusing to set up kernel parameters and stuff like that at first.