Seite 1 von 3

PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 30 Jan 2024, 15:29
von brainy84
Hi zusammen,

wir haben seit kurzem das Problem, dass pxe boot nicht mehr geht. Es kommt folgender Fehler:
forcing interactive mode due to config file error(s)
ELILO boot: ............(endlos)
syslog sagt folgendes:
Jan 30 15:12:05 opsiserver in.tftpd[2044]: RRQ from 192.168.3.224 filename linux/pxelinux.cfg/elilo.efi
Jan 30 15:12:05 opsiserver in.tftpd[2044]: tftp: client does not accept options
Ich kann leider nur sagen, dass es vor kurzem noch ging, aber wir machen nicht so viele Clientinstallationen. Wir haben eine neue Firewall, die zunächst ein Problem hatte, dieses sollte aber behoben sein (NBP file downloaded successfully). Die SecureBoot Erweiterung haben wir nicht im Einsatz und mit elilo.efi ging es vor kurzem noch. SecureBoot ist auf dem Client dementsprechend aus.

Unser System:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

opsi-Paketversionen:
rc opsi-atftpd 0.7.dfsg-9 amd64 advanced TFTP server - opsi version with pcre, fifo and max-blksize patches
ii opsi-configed 4.0.7.6.34-2 all OPSI config editor
ii opsi-linux-bootimage 20231204-1 all opsi bootimage for netboot tasks.
ii opsi-linux-support 4.2.0.0-1 all Configure system to be able to deploy Linux with opsi.
rc opsi-server 4.1.1.8-1 all opsi server configuration package
ii opsi-server-full 4.2.0.73-1 all opsi server
ii opsi-tftpd-hpa 5.2.8-78 amd64 HPA's tftp server
ii opsi-utils 4.2.0.217-1 amd64 Utilities for working with opsi
ii opsi-windows-support 4.2.0.4-1 all Install utilities useful for deploying Windows with opsi.
ii opsiconfd 4.2.0.313-1 amd64 opsi configuration service
ii opsipxeconfd 4.2.0.32-1 amd64 opsi pxe configuration service
rc python-opsi 4.1.1.101-1 all opsi python library


Der Client hat NVMe drin, wenn ich die Datei aus (viewtopic.php?t=9834) nehme, springt er direkt raus dem Menü und Dell sagt "No bootable devices found".

Die Setupdatei wird erstellt:
Creating config '/tftpboot/linux/pxelinux.cfg/01-4c-d7-17-66-31-26' and waiting for access
Hat jemand eine Idee?

Danke vorab

brainy84

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 30 Jan 2024, 16:03
von brainy84
Zusatzinfo: wenn ich shimx64.efi.signed verwende erhalte ich:
Unable to fetch TFTP IMage: Invalid Parameter
start_image {} returned invalid parameter: falling back to dedault loader

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 31 Jan 2024, 10:47
von m.radtke
Hi

die elilo.efi ist schon abgekündigt und spätestens bei opsi 4.3 weg.

Was steht denn im syslog wenn du die shimx64.efi.signed verwendest?

Bitte beachte das du dann auch das UEFI PXE Template in der opsipxeconfd.conf anpassen musst.

Gruß
Mathias

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 31 Jan 2024, 12:19
von brainy84
Hi,

danke hab ich berücksichtigt (angepasst zu: "uefi netboot config template x64 = /tftpboot/linux/pxelinux.cfg/install-grub-x64)", bei meiner Antwort siehe oben.

Das log sagt:

Jan 30 15:51:10 opsiserver in.tftpd[1402]: RRQ from 192.168.3.224 filename linux/pxelinux.cfg/shimx64.efi.signed
Jan 30 15:51:44 opsiserver in.tftpd[1421]: RRQ from 192.168.3.224 filename linux/pxelinux.cfg/shimx64.efi.signed
Jan 30 15:51:44 opsiserver in.tftpd[1421]: tftp: client does not accept options
Jan 30 15:51:44 opsiserver in.tftpd[1422]: RRQ from 192.168.3.224 filename linux/pxelinux.cfg/shimx64.efi.signed

Grüße

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 31 Jan 2024, 14:53
von m.radtke
Hmmm das ist etwas komisch

Setze mal im DHCP die Startdatei statt shimx64.efi.signed auf opsi-netboot.efi

Gruß
Mathias

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 05 Feb 2024, 08:30
von brainy84
Hi,

syslog sagt:
Feb 5 08:18:55 opsiserver in.tftpd[85362]: RRQ from 192.168.3.224 filename linux/pxelinux.cfg/opsi-netboot.efi
Feb 5 08:18:55 opsiserver in.tftpd[85362]: tftp: client does not accept options
Feb 5 08:18:55 opsiserver in.tftpd[85363]: RRQ from 192.168.3.224 filename linux/pxelinux.cfg/opsi-netboot.efi
ich lande aber anschließend in der grub bash

Grüße

brainy84

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 05 Feb 2024, 09:18
von m.radtke
Hi

gib mal in der Shell folgendes ein

Bitte beachten: US Keyboard Layout

Code: Alles auswählen

set prefix=(memdisk)
echo ${cmdpath}
regexp --set=1:bootsrc '^\((.*)\)' ${cmdpath}
echo  ($bootsrc)
configfile ($bootsrc)/grub/grub.cfg
die Variablen cmdpath und bootsrc sollten jeweils Ausgaben produzieren

Gruß
Mathias

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 05 Feb 2024, 09:31
von brainy84
Hi,

folgender Output:
echo $(cmdpath)
(tftp, IPADRESSE opsiserverC#linux/pxelinux.cfg/opsi-netboot.efi)linux/pxelinux.cfg
und bei echo ($bootsrc)
wie oben nur ohne linux/pxelinug.cfg nach der Klammer

Grüße

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 05 Feb 2024, 12:18
von m.radtke
gibt es eine Meldung wenn du

Code: Alles auswählen

configfile ($bootsrc)/grub/grub.cfg

abschickst?
Oder siehst du dann das Grub Menü?

Gruß
Mathias

Re: PXE Boot elilo.efi Endlosschleife ohne Secure Boot

Verfasst: 05 Feb 2024, 12:25
von brainy84
Hi,

dann wird die bash "neugestartet" und die vorherigen Eingaben sind weg.

Grüße