<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi!</div><div class="gmail_default" style="font-family:verdana,sans-serif">In fact I have found the issue, and maybe it could be mentioned somewhere in the documentation.</div><div class="gmail_default" style="font-family:verdana,sans-serif">After any modification made in the tftp/pxe folder (/srv/tftp/fai) (including adding or modifying a client's config) you need to restart the tftp daemon in order to have the new parameters taking into account...</div><div class="gmail_default" style="font-family:verdana,sans-serif">Seems like it caches the info somewhere even if it is not totally clear how and where.. Anyway, it works now:)</div><div class="gmail_default" style="font-family:verdana,sans-serif">thanks!</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 22 mars 2022 à 20:22, CSCI Technician <<a href="mailto:tech@csci.viu.ca" target="_blank">tech@csci.viu.ca</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Check the file that fai-chboot created. It looks like the kernel line <br>
does not match the append line for kernel versions.<br>
 From your output the 4.19.0.9-amd64 kernel is booted but the parameters <br>
refer to the new kernel version initrd file.<br>
Both need to be the same version.<br>
<br>
<br>
On 3/22/22 12:53, Romain Pelissier wrote:<br>
> Hi all!<br>
> I really hope you can help me on this because I am pretty lost on what <br>
> do do to make it work..<br>
><br>
> So, I am installing fai 5.10.3~buster1 on a debian stretch (not sure <br>
> if it is supported like this but...)<br>
> I mostly want to install a debian buster os on a baremetal, right now, <br>
> just a basic install.<br>
> fai.conf looks like:<br>
> LOGUSER=fai<br>
> FAI_LOGPROTO=ssh<br>
> SERVER=192.168.44.34<br>
> FAI_CONFIG_SRC=nfs://$SERVER/srv/fai/config<br>
><br>
> my /etc/fai/apt/sources.list file (I have changed bullseye for buster <br>
> since I only need buster)<br>
> cat /etc/fai/apt/sources.list<br>
> deb <a href="http://deb.debian.org/debian" rel="noreferrer" target="_blank">http://deb.debian.org/debian</a> buster main contrib non-free<br>
> deb <a href="http://deb.debian.org/debian-security" rel="noreferrer" target="_blank">http://deb.debian.org/debian-security</a> buster/updates main contrib <br>
> non-free<br>
> #deb <a href="http://deb.debian.org/debian" rel="noreferrer" target="_blank">http://deb.debian.org/debian</a> buster-backports main contrib non-free<br>
><br>
> # from bullseye on you need<br>
> #deb <a href="http://deb.debian.org/debian-security" rel="noreferrer" target="_blank">http://deb.debian.org/debian-security</a> bullseye-security main <br>
> contrib non-free<br>
><br>
> # repository that may contain newer fai packages for buster<br>
> deb <a href="http://fai-project.org/download" rel="noreferrer" target="_blank">http://fai-project.org/download</a> buster koeln<br>
><br>
> The content of /etc/apt/sources.list.d/fai.list :<br>
> cat /etc/apt/sources.list.d/fai.list<br>
> deb <a href="http://fai-project.org/download" rel="noreferrer" target="_blank">http://fai-project.org/download</a> stretch koeln<br>
> #deb <a href="https://fai-project.org/download" rel="noreferrer" target="_blank">https://fai-project.org/download</a> buster koeln<br>
> #deb <a href="http://fai-project.org/download" rel="noreferrer" target="_blank">http://fai-project.org/download</a> buster koeln<br>
><br>
> I use the NFROOT config from <br>
> <a href="https://github.com/faiproject/fai/commits/master/conf/NFSROOT" rel="noreferrer" target="_blank">https://github.com/faiproject/fai/commits/master/conf/NFSROOT</a> but I <br>
> changed bullseye to buster.<br>
><br>
> Then I have run the fai-setup -v -f .<br>
> I have to change a line in /usr/sbin/fai-make-nfsroot<br>
> ROOTCMD="unshare --pid --fork --mount-proc chroot $NFSROOT"<br>
> because --kill-child is not available as an option in the <br>
> strech unshare binary<br>
><br>
> So far so good, at least no errors at that point.<br>
> I have created a host and setup the dhcp<br>
> fai-chboot -I -F -v -u nfs://<a href="http://192.168.44.34/srv/fai/config" rel="noreferrer" target="_blank">192.168.44.34/srv/fai/config</a> <br>
> <<a href="http://192.168.44.34/srv/fai/config" rel="noreferrer" target="_blank">http://192.168.44.34/srv/fai/config</a>> hp2testing<br>
> the file is created<br>
> So for what I understand, at that pointI should be able to boot and <br>
> have a buster installed.<br>
> The client boot the pxe image but at the end I got this:<br>
><br>
> Fully Automatic Installation - FAI<br>
> 5.18.3-busterl (c) 1999-2821 Thomas Lange <a href="http://Clange9cs.uni-koeln.de" rel="noreferrer" target="_blank">Clange9cs.uni-koeln.de</a> <br>
> <<a href="http://Clange9cs.uni-koeln.de" rel="noreferrer" target="_blank">http://Clange9cs.uni-koeln.de</a>>><br>
> inux 4.19.0-9-amd64 x86_64 GMU/Linux ernel parameters: <br>
> BOOT_IMAGE=vmlinuz-4.19.8-9-amd64 initrdminitrd.img-4.19.8-9- .md64 <br>
> irdhcp root=10.199.44.34:/srv/fai/nfsroot:vcrs=3 rootovl <br>
> FAI_FLAGS=menu initial.verbose.sshd.createvt <br>
> FAI_COMFIG_SRC=nfs://<a href="http://10.199.44.34/srv/fai/config" rel="noreferrer" target="_blank">10.199.44.34/srv/fai/config</a> <br>
> <<a href="http://10.199.44.34/srv/fai/config" rel="noreferrer" target="_blank">http://10.199.44.34/srv/fai/config</a>> Al_ACTIO11=install 'coding <br>
> /tmp/fai/boot.log Al_FLAGS: menu initial verbose sshd createvt getting <br>
> SERVER=10.199.44.34. Value extracted from FAI_COMFIG_SRC. Can't <br>
> connect to monserver on 18.199.44.34 port 4711. Monitoring disabled. <br>
> RROR: The running kernel does not match the kernel modules inside the <br>
> nfsroot. RROR: Kernel modules directory /11b/modules/4.19.0-9-amd64 <br>
> not available. Only found: lib/modules/4.19.8-19-amd64<br>
> rror in task confdir. Code: 790 aceback: task error task_confdir task <br>
> !start main LOGUSER is undefined. Not saving log files to remote. <br>
> FATAL ERROR. Installation stopped. root hp2testing:/* _<br>
><br>
> (sorry if the output is ugly, I use an online image to text converter...)<br>
><br>
> So at the end the kernel used to boot 4.19.0-9 is not the correct one <br>
> found in the nfs server 4.19.8-19, but why?<br>
> What step have I missed to have this error?<br>
> If you can guide me on how to troubleshoot this I will really <br>
> appreciate it.<br>
> thanks!<br>
<br>
-- <br>
Merlin Hansen<br>
Department of Computing Science<br>
Vancouver Island University<br>
900 Fifth Street<br>
Nanaimo BC  V9R 5S5<br>
250-753-3245 x 2321<br>
<a href="mailto:tech@csci.viu.ca" target="_blank">tech@csci.viu.ca</a><br>
<br>
</blockquote></div>