You may not prevent that, because we do not know how the run script tries to detect a kernel version. In the chroot there's the target kernel installed, but it's still running the FAI installation kernel.
Try to use the .deb packages instead of the run script. >>>>> On Fri, 25 Oct 2024 09:34:30 +0200 (CEST), Stephan Frank >>>>> <stephan.fr...@ini.rub.de> said: > So how could I prevent that? > I used the chroot /target in the hopes of using the kernel of the target machine.