<div dir="ltr"><div>Dear John,</div><div>thanks for your answer.</div><div>Putting a script in the /srv/fai/config/scripts/ is the way I was trying but, if the system boots with the nouveau driver already installed, the sequence to install correctly the new one is:</div><div><br></div><div>- blacklist the nouveau</div><div>- reboot</div><div>- install the proper nvidia driver</div><div>- reboot again</div><div>- continue with software installation<br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>And this sequence, I think, cannot be fully automated with those scripts. <br></div><div>So I have been searching for a way to prevent the nouveau installation since the beginning. I will study the fai-scripts in order to better understand how this happens.</div><div><br></div><div>Best regards</div><div><br></div><div>  Pasquale<br></div><div><br></div><div>---<br></div><div>ing. PhD Pasquale Cantiello</div><div>Istituto Nazionale di Geofisica e Vulcanologia</div><div>Sezione di Napoli - Osservatorio Vesuviano<br></div><div><div>Via Diocleziano, 328 - 80124 Napoli</div><div>Tel. 081-6108.332<br></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 24 feb 2021 alle ore 14:15 John G Heim <<a href="mailto:jheim@math.wisc.edu">jheim@math.wisc.edu</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">FAI works a lot like an installation you'd do "by hand". You boot from a <br>
live image, partition the hard drive, install a base system via <br>
debootstrap then chroot to do the rest of the installation steps <br>
(install a kernel, install packages, configure grub). So, if you want to <br>
blacklist a module, you have to do it on the new system, not on the live <br>
boot image. In other words, in your case, you'd have to fcopy the module <br>
configuration files to the new system after the base system is <br>
installed. This is done by putting a script in the scripts folder of <br>
your FAI config root. By default this would be /srv/fai/config/scripts/.<br>
<br>
On 2/24/21 4:20 AM, Pasquale Cantiello wrote:<br>
> Hi all<br>
> <br>
> I'm new to fai (only two weeks) and trying to use it to install a <br>
> cluster with a front-end and 10 compute nodes. At present stage I am <br>
> able to install all machines with related software and little <br>
> customization from the faiserver with almost no problem.<br>
> <br>
> Now, since the nodes have a GPU card I want to install the nvidia driver <br>
> and related sdk to the frontend and all nodes. I've downloaded all the <br>
> files (.run file for driver and .deb files for sdk) on faiserver and put <br>
> them in nfsroot in order to launch the installation on the nodes.<br>
> <br>
> My problems are now:<br>
> How to prevent the installation of the nouveau driver on nodes? This <br>
> will conflict with the new driver. I've also put a modeprobe.conf file <br>
> with blacklist in /nfsroot/etc/modeprobe.d/ but with no success.<br>
> <br>
> And, how to use the PRELOAD or PRELOADRM command in the package <br>
> configuration to install sdk from nfsroot? I've found no samples and <br>
> tried all combinations...<br>
> <br>
> Thanks in advance to all who can help me.<br>
> <br>
> Best regards<br>
>       Pasquale<br>
> <br>
> ---<br>
> ing. PhD Pasquale Cantiello<br>
> Istituto Nazionale di Geofisica e Vulcanologia<br>
> Sezione di Napoli - Osservatorio Vesuviano<br>
> Via Diocleziano, 328 - 80124 Napoli<br>
> Tel. 081-6108.332<br>
</blockquote></div>