Probleme mit UEFI-Netboot

Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: Probleme mit UEFI-Netboot

Beitrag von m.radtke »

Hi

der Server Host Parameter

Code: Alles auswählen

clientconfig.depot.user
ist der Parameter denb Du suchst ;)

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
magicalUnicorn
Beiträge: 119
Registriert: 07 Mär 2019, 14:46

Re: Probleme mit UEFI-Netboot

Beitrag von magicalUnicorn »

Gefunden! Damit klappt die Software Installation wieder, vielen Dank!

Leider klappt die Installation per Netboot nachwievor nicht. Im Legacy Modus wird folgender Fehler geworfen (Wörter in * hab ich mal zensiert ;) ):

Code: Alles auswählen

(802)     [3] [Sep 10 11:18:24] Failed to mount '//*hostname*/opsi_depot': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=*domain*,credentials=/tmp/.cifs-credentials.*hostname*" //*hostname*/opsi_depot /mnt/opsi' failed (32):
(803)     mount error(5): Input/output error
(804)     Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (Posix.py|1252)
(813)     [3] [Sep 10 11:18:24] Failed to mount '//*hostname*/opsi_depot': Command '/bin/mount -t cifs -o "vers=1.0,domain=*domain*,iocharset=utf8,credentials=/tmp/.cifs-credentials.*hostname*" //*hostname*/opsi_depot /mnt/opsi' failed (32):
(814)     mount error(5): Input/output error
Per UEFI Boot schlägt das ganze auch fehl, da konnte ich allerdings nichts aufschlussreiches im log finden.. Außerdem zeigt der Client erst viele male "Error: Not an IP" und abschließend "Alloc Magic is broken at 0xb1f8cfa0: 0" an.

Ich hab die Vermutung, dass das ganze mit dem winbind zusammenhängt. Der loggt die ganze Zeit:

Code: Alles auswählen

Sep 10 01:18:01 *hostname* smbd[9420]: [2020/09/10 01:18:01.090385,  0] ../../source3/auth/auth_winbind.c:122(check_winbind_security)
Sep 10 01:18:01 *hostname* smbd[9420]:  check_winbind_security: winbindd not running - but required as domain member: NT_STATUS_NO_LOGON_SERVERS
Sep 10 01:18:03 *hostname* smbd[9420]: [2020/09/10 01:18:03.095232,  0] ../../source3/auth/auth_winbind.c:122(check_winbind_security)
Sep 10 01:18:03 *hostname* smbd[9420]: [2020/09/10 01:18:03.095232,  0] ../../source3/auth/auth_winbind.c:122(check_winbind_security)
Sep 10 01:18:03 *hostname* smbd[9420]:   check_winbind_security: winbindd not running - but required as domain member: NT_STATUS_NO_LOGON_SERVERS
Sep 10 01:18:03 *hostname* smbd[9420]:  check_winbind_security: winbindd not running - but required as domain member: NT_STATUS_NO_LOGON_SERVERS
Wenn du mir da noch helfen könntest, wäre ich zu ewigem Dank verbunden ;)

Viele Grüße
Kay
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: Probleme mit UEFI-Netboot

Beitrag von m.radtke »

Hi

Error not an IP bedeutet das die Pipe für den netboot nicht zum Bootloader passt.
Les bitte nochmal das Secureboot Kapitel durch, da steht welche Änderung im opsipxeconfd gemacht werden muss.

Betreffend winbind; prüf mal ob der Dienst an ist.

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
magicalUnicorn
Beiträge: 119
Registriert: 07 Mär 2019, 14:46

Re: Probleme mit UEFI-Netboot

Beitrag von magicalUnicorn »

Hi,

sofern du dich auf die hier (https://download.uib.de/opsi4.1/documen ... secureboot) beschriebenen Schritte beziehst hab ich das entsprechend angepasst und "uefi netboot config template x64" angepasst zu "/tftpboot/linux/pxelinux.cfg/install-grub-x64" gefolgt von einem opsi-setup --init-current-config.

Leider hat sich dadurch nichts geändert. Das Problem bleibt bestehen. Ich hab mir mal den Inhalt der Pipe ausgeben lassen:

Code: Alles auswählen


default=opsi
timeout=0

image=/linux/install-x64
label=opsi
initrd=/linux/miniroot-x64.bz2
append="initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=*domain* product=win10-x64-ltsc pckey=4bd47ca6674252e41f243437042969ed service=https://*serverip*:4447/rpc hn=*hostname* pwh=*removed*"
Bezüglich Winbind: Der Dienst läuft.

Viele Grüße
Kay
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: Probleme mit UEFI-Netboot

Beitrag von m.radtke »

Hi

starte mal den opsipxeconfd Dienst neu, dann sollte die Pipe auch aussehen wie in /tftpboot/linux/pxelinux.cfg/install-grub-x64

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
magicalUnicorn
Beiträge: 119
Registriert: 07 Mär 2019, 14:46

Re: Probleme mit UEFI-Netboot

Beitrag von magicalUnicorn »

Hi Mathias,

das hat tatsächlich ein Stück weit geholfen. Im UEFI Modus kommen wir jetzt einen Schritt weiter, allerdings scheitert er auch hier wieder am mounten des Depots:

Code: Alles auswählen

796 [6] [Sep 14 13:14:12] Mountpoint: /mnt/opsi  (Repository.py|1238) 
797 [6] [Sep 14 13:14:12] Mounting 'smb://*hostname*/opsi_depot' to '/mnt/opsi' (Repository.py|1239)
798 [7] [Sep 14 13:14:12] Command 'mount' found at: '/bin/mount' (Posix.py|867)
799 [6] [Sep 14 13:14:12] Executing: /bin/mount -t cifs -o "iocharset=utf8,domain=*domain*,credentials=/tmp/.cifs-credentials.*hostname*" //*hostname*/opsi_depot /mnt/opsi (Posix.py|926)
800 [6] [Sep 14 13:14:12] Using encoding 'UTF-8' (Posix.py|959)
801 [7] [Sep 14 13:14:12] >>> mount error(5): Input/output error (Posix.py|1003)
802 [7] [Sep 14 13:14:12] >>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (Posix.py|1003)
803 [7] [Sep 14 13:14:12] Exit code: 32 (Posix.py|1010)
804 [3] [Sep 14 13:14:12] Failed to mount '//*hostname*/opsi_depot': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=*domain*,credentials=/tmp/.cifs-credentials.*hostname*" //*hostname*/opsi_depot /mnt/opsi' failed (32):
805 mount error(5): Input/output error
806 Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (Posix.py|1252)
807 [4] [Sep 14 13:14:12] SMB3 mount failed, trying fallback (master.py|1543)
808 [6] [Sep 14 13:14:12] Mountpoint: /mnt/opsi  (Repository.py|1238)
809 [6] [Sep 14 13:14:12] Mounting 'smb://*hostname*/opsi_depot' to '/mnt/opsi' (Repository.py|1239)
810 [6] [Sep 14 13:14:12] Executing: /bin/mount -t cifs -o "vers=1.0,domain=*domain*,iocharset=utf8,credentials=/tmp/.cifs-credentials.*hostname*" //*hostname*/opsi_depot /mnt/opsi (Posix.py    |926)
811 [6] [Sep 14 13:14:12] Using encoding 'UTF-8' (Posix.py|959)
812 [7] [Sep 14 13:14:12] >>> mount error(5): Input/output error (Posix.py|1003)
813 [7] [Sep 14 13:14:12] >>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (Posix.py|1003)
814 [7] [Sep 14 13:14:12] Exit code: 32 (Posix.py|1010)
815 [3] [Sep 14 13:14:12] Failed to mount '//*hostname*/opsi_depot': Command '/bin/mount -t cifs -o "vers=1.0,domain=*domain*,iocharset=utf8,credentials=/tmp/.cifs-credentials.*hostname*" //*hostname*/opsi_depot /mnt/opsi' failed (32):
816 mount error(5): Input/output error
817 Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (Posix.py|1252) 
818 [2] [Sep 14 13:14:13] Traceback: (Logger.py|798)
819 [2] [Sep 14 13:14:13]   File "/usr/lib/python2.7/dist-packages/OPSI/Util/Repository.py", line 72, in getRepository
820     return CIFSRepository(url, **kwargs) 
821  (Logger.py|798)
822 [2] [Sep 14 13:14:13]   File "/usr/lib/python2.7/dist-packages/OPSI/Util/Repository.py", line 1225, in __init__
823     self._mount()
824  (Logger.py|798)
825 [2] [Sep 14 13:14:13]   File "/usr/lib/python2.7/dist-packages/OPSI/Util/Repository.py", line 1256, in _mount
826     raise mountError
827  (Logger.py|798)
828 [2] [Sep 14 13:14:13]      ==>>> Failed to mount '//*hostname*/opsi_depot': Command '/bin/mount -t cifs -o "vers=1.0,domain=*domain*,iocharset=utf8,credentials=/tmp/.cifs-credentials.*hostname*" //*hostname*/opsi_depot /mnt/opsi' failed (32):
829 mount error(5): Input/output error

Ich durchforste momentan das Forum und das www wie verrückt nach Leuten mit ähnlichem Problem, konnte aber nix finden. Jetzt grade les ich nochmal durch die Doku in der Hoffnung was zu finden. Für weitere Hilfe bin ich aber natürlich immer dankbar :)

Viele Grüße
Kay
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: Probleme mit UEFI-Netboot

Beitrag von m.radtke »

Hi

32 bedeutet

Code: Alles auswählen

32	EPIPE	Broken pipe
Versuch doch mal den Share von Hand mit dem pcpatch user zu mounten und schau ob sich dabei etwas ändert.

gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
magicalUnicorn
Beiträge: 119
Registriert: 07 Mär 2019, 14:46

Re: Probleme mit UEFI-Netboot

Beitrag von magicalUnicorn »

Hey,

unter Windows lässt sich das Depot problemlos als "domain\pcpatch" mounten, ich hoffe mal, dass das von dir so gedacht war? :)

Viele Grüße
Kay
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: Probleme mit UEFI-Netboot

Beitrag von m.radtke »

Hi

mach das mal im Bootimage, wenn der Fehler auftritt.
Kannst dich per ssh einloggen.
benutzer: root
passwort: linux123

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
magicalUnicorn
Beiträge: 119
Registriert: 07 Mär 2019, 14:46

Re: Probleme mit UEFI-Netboot

Beitrag von magicalUnicorn »

Hi Mathias,

das Default-Passwort war es leider nicht mehr. Mein Vorgänger hat das scheinbar geändert und weder dokumentiert noch im Passwortmanager hinterlassen. Ich hab den mal angeschrieben, in der Hoffnung, dass er sich noch entsinnt, was er genommen hat. Der Hash den ich noch gefunden habe, bringt ja leider wenig.

Sofern das Passwort nicht mehr ans Tageslicht kommt, muss ich wohl den Entsprechenden Parameter im configed zurücksetzen und das Bootimage austauschen. Das austauschen des Bootimages sollte ja keine Probleme mit sich bringen, oder? Welche Dateien müsste ich dann Austauschen und wo kann ich mir die "defaults" laden?

Viele Grüße
Kay
Antworten