So how could I prevent that? 
I used the chroot /target in the hopes of using the kernel of the target 
machine.

Regards, Stephan


-----Original Message-----
From: Andrew <and...@etc.gen.nz>
To: fully <linux-fai@uni-koeln.de>
Date: Friday, 25 October 2024 8:27 AM CEST
Subject: Re: Installing CUDA with FAI


On Thu, 2024-10-24 at 14:50 +0200, Stephan Frank wrote:
> Amongst other approaches I have tried the runfile installation like so:
> 
> > chroot /target apt install -y make linux-headers-$(uname -r)
> > chroot /target wget -nc
> > https://developer.download.nvidia.com/compute/cuda/12.6.2/local_installe
> > rs/cuda_12.6.2_560.35.03_linux.run
> > chroot /target sh cuda_12.6.2_560.35.03_linux.run --driver --toolkit

I expect that this will also be trying to use the kernel version that you're
running from the nfsroot, which is unlikely to be the kernel you'll actually
be running.

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz         |
Catalyst Cloud:           | This space intentionally left blank
 https://catalystcloud.nz |

Antwort per Email an