Network booting stopped working after upgrade centos 7 -> centos 8 stream


I just upgraded the nightly instance from CentSO7 to CentOS 8 Stream using the leapp. It seems the machines that were provisioned from Foreman (and are no longer in build mode) don’t boot. When they boot from the network and should show “chainload the first hard drive”, they fail with missing some files on the TFTP server, namely ldlinux.c32 libutil.c32 libcom.c32 libcom32.c32 from syslinux.

Expected outcome:

The machines boot fine

Foreman and Proxy versions:

Nightly (3.2 - 3.3)

Foreman and Proxy plugin versions:

not relevant

Distribution and version:

CentOS 8 Stream

Other relevant data:

What helped

cp /usr/share/syslinux/ldlinux.c32 /var/lib/tftpboot/
cp /usr/share/syslinux/libutil.c32 /var/lib/tftpboot/
cp /usr/share/syslinux/libcom.c32 /var/lib/tftpboot/
cp /usr/share/syslinux/libcom32.c32 /var/lib/tftpboot/

With copying these files, machines boot again fine. Perhaps the installer should copy these fiels too? It seems the installer should take care of this, but it does not

The problem is, that the installer remembers the list of TFTP filenames in the answers file, and we re-use that on the upgraded system.

foreman-installer --reset-foreman-proxy-tftp-syslinux-filenames should fix it, by re-setting the config to the default values you mention above.

1 Like