LVM recovery
I have been having issues with systemd crashing during updates.
The asnwer is to chroot into the root partition and fix the broken packages.
My issue then is sometimes the LVM does not open and you get an error instead of mounting the root partition.
Here is my fix.
vgdisplay
vgrename qOjkZM-ebYH-1kKI-bH6o-7fnj-Ejn3-fa0qyG volumegroup1
vgrename qOjkZM-ebYH-1kKI-bH6o-7fnj-Ejn3-fa0qyG volumegroup
modprobe dm-mod
vgchange -ay
cryptsetup open --type luks /dev/nvme0n1p3 volumegroup
Posted
18:19 29-06-2024