On 4/20/23 13:07, Thomas Lange wrote:
On Thu, 20 Apr 2023 10:45:52 +0200, Andreas Sindermann 
<sin...@thp.uni-koeln.de> said:

     > Hi all,
     > there seems to be a problem installing a Ubuntu 22.04 package that is
     > trying to call update-initramfs:

     > update-initramfs: Generating /boot/initrd.img-5.10.0-18-amd64
     > W: missing /lib/modules/5.10.0-18-amd64
     > W: Ensure all necessary drivers are built into the linux image!
     > depmod: ERROR: could not open directory /lib/modules/5.10.0-18-amd64: No
     > such file or directory
Is 5.10.0-18-amd64 the kernel version, that is running during the
installation? Or is it the ubuntu kernel version inside /target?

Yes, it seems that 5.10.0-18-amd64 is indeed the Debian kernel running during the installation:


root@jammysrv:/srv/fai/nfsroot/lib/modules# ls
5.10.0-18-amd64



My guess is that update-initramfs tries to build an initrd for the
wrong kernel version.

Can you just ignore this error, or does the installation aborts?


The installation itself continues but the gpu is not identified when booting the installed Ubuntu 22.04:

root@l96:~# lspci  |grep -i nvi
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2507 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)

It should create the initramfs in the Ubuntu environment, not in the Debian environment...

Thanks!
Andreas



regards Thomas

--
Dr. Andreas Sindermann               fon: +49 (221) 470-4201
Institut fuer Theoretische Physik    fax: +49 (221) 470-5159
Universitaet zu Koeln
Zuelpicher Str. 77                   mailto:sin...@thp.uni-koeln.de
D-50937 Koeln, Germany               http://www.thp.uni-koeln.de/~sinder

Reply via email to