An alternative initramfs for Linux that offers additional technical capability. Boot from systems with some combination of encrypted storage, softraid, and LVM. Has a minimal rescue environment that you can SSH into. Even supports booting into and restoring suspended systems.
Setting up an LVM cache on an SSD can supercharge LVM.
Or, "You have LVM running on one box and an external drive, also running LVM, with the same volume group name - how in the hell do I mount the external drive?!"
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.
How to get human readable output from the LVM software on a linux machine.
4481 links, including 318 private