Mismatching kernel versions during installation inside chroot
0
votes
1
answer
568
views
I'm trying to install Artix on a QEMU virtual machine through an automated script i've wrote, in one of the latest installation steps, where i setup Rootless Docker, it's required to enable the
ip_tables
kernel module by running modprobe ip_tables
inside the installation mount point with chroot
The problem is that i get the following error:
modprobe: FATAL: Module ip_tables not found in directory `/lib/modules/5.13.4-artix1-1
After some further inspection, i've noticed that pacman -Q linux
returns versions 5.16.10-artix1-1
, and the versions on my /lib/modules
is 5.13.4-artix1-1
Does chroot
has anything to do with that? or the problem lies somewhere else?
Asked by henriquehbr
(938 rep)
Feb 26, 2022, 03:10 PM
Last activity: Feb 26, 2022, 03:51 PM
Last activity: Feb 26, 2022, 03:51 PM