Re: Ubuntu 22.04: problem installing nvidia-driver-525

Andreas Sindermann <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>

On 4/20/23 13:07, Thomas Lange wrote:
>>>>>> On Thu, 20 Apr 2023 10:45:52 +0200, Andreas Sindermann <[email protected]> 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:[email protected]
D-50937 Koeln, Germany               http://www.thp.uni-koeln.de/~sinder
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.