Bookmarks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
arch linux - archlinux cannot boot after replace module init with kmod - Unix and Linux - Stack Exchange http://unix.stackexchange.com/questions/32023/archlinux-cannot-boot-after-replace-module-init-with-kmod
Tue 20 Mar 2018 12:52:01 AM PDT archive.org

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.

  1. create an arch live stick and boot it
  2. mount your root partition to /mnt on the live stick
  3. mount your /proc partition to /mnt/proc using mount -t procfs proc /mnt/proc
  4. mount your /sys partition to /mnt/sys using mount -t sysfs sys /mnt/sys
  5. mount your /dev partition to /mnt/dev using mount -t tmpdevfs dev /mnt/dev
  6. mount your /boot partition to /mnt/boot
  7. chroot into /mnt using chroot /mnt
  8. now perform pacman -Syu and watch your kernel being built.
  9. finally type exit and reboot. remove your stick and boot into your now working arch linux.
kernel raid boot fix upgrades howto initramfs archlinux sysadmin linux lvm
4997 links, including 379 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn