If you find yourself in a position in which you're running Arch Linux and your file systems are based on LVM, RAID, or both, and when you upgrade your kernel your system won't boot because the kernel isn't running the lvm2 hook, here's how to fix it.
- create an arch live stick and boot it
- mount your root partition to /mnt on the live stick
- mount your /proc partition to /mnt/proc using
mount -t procfs proc /mnt/proc
- mount your /sys partition to /mnt/sys using
mount -t sysfs sys /mnt/sys
- mount your /dev partition to /mnt/dev using
mount -t tmpdevfs dev /mnt/dev
- mount your /boot partition to /mnt/boot
- chroot into /mnt using
- now perform
pacman -Syu and watch your kernel being built.
- finally type
reboot. remove your stick and boot into your now working arch linux.
4997 links, including 379 private