Sample Header Ad - 728x90

'/lib/modules/4.9.8-1-ARCH' is not a valid kernel module directory

7 votes
3 answers
20622 views
I am attempting to repair and upgrade an Arch Linux system. I boot off of a Live USB which is a newer version than the original install. Then I mount the sda and chroot to its mount point. When I run mkinitcpio -p linux, I get the error from the title: '/lib/modules/4.9.8-1-ARCH' is not a valid kernel module directory lib/modules/ has 4.13.3-1-ARCH. How do I tell mkinitcpio to use this directory instead?
Asked by Code-Guru (709 rep)
Oct 1, 2017, 01:07 AM
Last activity: Mar 4, 2020, 07:18 PM