[Gelöst] opsi-wim-capture funktioniert nicht

Bonovox007
Beiträge: 14
Registriert: 02 Jun 2016, 09:14

[Gelöst] opsi-wim-capture funktioniert nicht

Beitrag von Bonovox007 »

Hallo,
wenn ich einen Rechner mit Windows 7 (egal ob x86 oder x64) installieren mit dem erforderlichen Property: preserve_winpe_partition [true], kommt bei der Ausführung des Produkts "opsi-wim-capture" zum Abbruch. Im Log steht folgendes:
(16495) [6] [Jun 02 09:08:15:291] [opsi-wim-capture] If
(16496) [6] [Jun 02 09:08:15:291] [opsi-wim-capture] retrieving strings from $resultlist$ [switch to loglevel 7 for debugging]
(16497) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 0)
(16498) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 1)C:\Windows\system32>diskpart /s "c:\opsi.org\tmp\check_winpe.txt"
(16499) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 2)
(16500) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 3)Microsoft DiskPart-Version 6.1.7601
(16501) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 4)Copyright (C) 1999-2008 Microsoft Corporation.
(16502) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 5)Auf Computer: Test0815
(16503) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 6)
(16504) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 7)Datenträger 0 ist jetzt der gewählte Datenträger.
(16505) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 8)
(16506) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 9) Partition ### Typ Größe Offset
(16507) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 10) ------------- ---------------- ------- -------
(16508) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 11) Partition 1 OEM 100 MB 1024 KB
(16509) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 12) Partition 2 Primär 94 GB 101 MB
(16510) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 13) Partition 3 OEM 4000 MB 96 GB
(16511) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 14)
(16512) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 15)Datenträgerpartitionierung wird beendet...
(16513) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 16)
(16514) [7] [Jun 02 09:08:15:291] [opsi-wim-capture] (string 17)C:\Windows\system32>exit 0
(16515) [7] [Jun 02 09:08:15:291] [opsi-wim-capture]
(16516) [5] [Jun 02 09:08:15:292] [opsi-wim-capture] "" = takeFirstStringContaining($resultlist$, "Partition 2 OEM") <<< result true
(16517) [6] [Jun 02 09:08:15:293] [opsi-wim-capture] Then
(16518) [3] [Jun 02 09:08:15:293] [opsi-wim-capture] Error: No WinPE Partition found as expected. Install Windows with Property: preserve_winpe_partition=true
(16519) [5] [Jun 02 09:08:15:296] [opsi-wim-capture] Error level set to fatal
(16520) [5] [Jun 02 09:08:15:296] [opsi-wim-capture] Process aborted
(16521) [1] [Jun 02 09:08:15:296] [opsi-wim-capture] ___________________
(16522) [1] [Jun 02 09:08:15:296] [opsi-wim-capture] script finished
(16523) [1] [Jun 02 09:08:15:296] [opsi-wim-capture] 1 error
(16524) [1] [Jun 02 09:08:15:296] [opsi-wim-capture] 0 warnings
(16525) [1] [Jun 02 09:08:15:296] [opsi-wim-capture]
(16526) [1] [Jun 02 09:08:15:296] [opsi-wim-capture] installed product: opsi-wim-capture Version: 4.0.6.1-4
(16527) [1] [Jun 02 09:08:15:296] [opsi-wim-capture]
Diese Fehlermeldung kommt bei beiden Architekturen.
Danke schon einmal für die Hilfe.

Gruß aus Hannover
Zuletzt geändert von Bonovox007 am 20 Jun 2016, 08:43, insgesamt 1-mal geändert.
dark alex
Beiträge: 326
Registriert: 11 Mär 2015, 10:09

Re: opsi-wim-capture funktioniert nicht

Beitrag von dark alex »

kann es sein, dass opsi fälschlicherweise nach der pe auf partition 2 sucht, diese aber auf 3 angelegt wird?
Bonovox007
Beiträge: 14
Registriert: 02 Jun 2016, 09:14

Re: opsi-wim-capture funktioniert nicht

Beitrag von Bonovox007 »

Ich habe den Fehler gefunden. Wenn man das netboot-Produkt mit der Einstellung: boot_partition_size [100M] (bei uns Standard) installiert wird, geht es nicht. Ist das gewollt so? Wenn ja, sollte das als Voraussetzung im OPSI-Handbuch mit aufgenommen werden, oder?
Bonovox007
Beiträge: 14
Registriert: 02 Jun 2016, 09:14

Re: opsi-wim-capture funktioniert nicht

Beitrag von Bonovox007 »

dark alex hat geschrieben:kann es sein, dass opsi fälschlicherweise nach der pe auf partition 2 sucht, diese aber auf 3 angelegt wird?
Hi, ja das ist ganz genau das Problem. Default bei boot_partition_size ist "0" und wenn man dies ändert hat man das Problem.
Danke für die Hilfe!

Gruß
dark alex
Beiträge: 326
Registriert: 11 Mär 2015, 10:09

Re: opsi-wim-capture funktioniert nicht

Beitrag von dark alex »

Bonovox007 hat geschrieben:
dark alex hat geschrieben:kann es sein, dass opsi fälschlicherweise nach der pe auf partition 2 sucht, diese aber auf 3 angelegt wird?
Hi, ja das ist ganz genau das Problem. Default bei boot_partition_size ist "0" und wenn man dies ändert hat man das Problem.
Danke für die Hilfe!

Gruß
Aha!

@uib: Das iss aber nich gut :D
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: opsi-wim-capture funktioniert nicht

Beitrag von d.oertel »

Hallo allerseits,

danke für den Hinweis.

Ich habe das in die Dokumentation aufgenommen.

Ein fix dafür ist jetzt auf die schnelle nicht vorgesehen, da wir davon ausgehen,
dass zu capturen sowieso ein gesonderter Master-Rechner aufgesetzt wird
bei dem auf die Einhaltung dieser Voraussetzungen geachtet werden kann.

Oder sehe ich das falsch ?

gruß
detlef oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Bonovox007
Beiträge: 14
Registriert: 02 Jun 2016, 09:14

Re: opsi-wim-capture funktioniert nicht

Beitrag von Bonovox007 »

Hallo Herr Oertel,
das passt so. Wichtig war nur die Info für die Leute die die Default-Werte so wie wir verändert haben...... ;-)

Gruß
Bonovox007
Beiträge: 14
Registriert: 02 Jun 2016, 09:14

Re: opsi-wim-capture funktioniert nicht

Beitrag von Bonovox007 »

Leider der nächste Fehler.......:
(17420) [5] [Jun 04 09:38:51:785] [opsi-wim-capture] Set $setup_after_capture$ = getProductPropertyList("setup_after_capture",emptylist($list$))
(17421) [2] [Jun 04 09:38:51:785] [opsi-wim-capture] Syntax Error in Section: Actions (Command in line 266 origin: p:\opsi-wim-capture\setup.opsiscript line: 267): $setup_after_capture$ = getProductPropertyList("setup_after_capture",emptylist($list$)) -> emptylist($list$)) illegal String expression
(17422) [2] [Jun 04 09:38:51:785] [opsi-wim-capture] Syntax Error in Section: Actions (Command in line 267 origin: p:\opsi-wim-capture\setup.opsiscript line: 268): EndIf -> expected

Bis dahin funktioniert alles soweit.

Gruß
Bonovox007
Beiträge: 14
Registriert: 02 Jun 2016, 09:14

Re: opsi-wim-capture funktioniert nicht

Beitrag von Bonovox007 »

Keiner eine Idee?
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3327
Registriert: 04 Jun 2008, 14:27

Re: opsi-wim-capture funktioniert nicht

Beitrag von d.oertel »

Hi,

welche opsi-winst Version wird verwendet ?
Dieser Fehler könnte durch opsi-winst <= 4.11.3.6 entstehen.
Hier ist der aktuelle stable opsi-winst:
http://download.uib.de/opsi4.0/products ... .20-2.opsi

Hilft das ?

gruß
detlef oertel


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten