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.
The Arch Linux project says that /usr should never be a separate partition. If you want to do it that way (more likely, you set your machine up the traditional UNIX way) you'll have to add two hooks to your /etc/mkinitramfs.conf file. This is how to do it.
The more-or-less official file format for offline reading of Wikipedia. The full byte-by-byte description of ZIM archives can be found here. There is also a zimlib-git AUR package for Arch Linux.
3749 links, including 200 private