create_drive_links.py & mount result 1231

mwa
Beiträge: 30
Registriert: 01 Apr 2014, 10:03

create_drive_links.py & mount result 1231

Beitrag von mwa »

Hallo liebe OPSI-Gemeinde,

ich habe versuche ein Win7-64x Paket nach dem Getting Started zu erstellen. Meine Probleme sind 2 Fehlermeldungen:

Diese tritt beim Server auf obwohl ich sogar nur Treiber mit .inf-Endungen verwende, allerdings per Double Drive erstellt. Natürlich habe ich im Forum schon nachgeschaut und deren Lösungen brachten mich nicht weiter. Ich habe die Vermutung, dass die zweite Fehlermeldung deswegen kommt. Ich habe natürlich schon versucht die Treiber ins WinPE zu installieren, was auch klappte, aber trotzdem hing die Installation weiter dort fest. Habe auch mehrmals einen WinPE-Ordner erstellt.

Ich hoffe, ihr habt des Rätsels Lösung parat. :)

Ich glaube, ich habe irgendwo was übersehen.

Code: Alles auswählen

Command '/usr/bin/7z l 'winpe/sources/boot.wim' 'Windows/System32/DriverStore/FileRepository'' failed (2):

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=de_DE.UTF8,Utf16=on,HugeFiles=on,1 CPU)

Error: winpe/sources/boot.wim is not file

Errors: 1
Meldung beim Client:

Code: Alles auswählen

Waiting für the network ......
mountresult: 1231 : Die Netzwerkadresse ist nicht erreichbar. Weitere Informationen über die Behebung von Netzwerkproblemen finden Sie in der Windows-Hilfe
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: create_drive_links.py & mount result 1231

Beitrag von n.wenselowski »

Hallo mwa,

welchen Befehl versuchst du auf dem Server auszuführen?
EDIT: Ich sollte das Topic lesen %)
Was sagt:

Code: Alles auswählen

ls -la winpe/sources/

/EDIT

Treiber in das WinPE zu integrieren würde ich erst machen, wenn es wirklich notwendig ist. In der Regel funktioniert es, wenn man die Treiber auf dem Server ablegt und dann create_driver_links.py ausführt.
Ich würde versuchen ein WinPE ohne zusätzliche Treiber zu erstellen und dann davon einen Client (am besten keine Dell-Hardware ;)) zu installieren.


Gruß

Niko

Code: Alles auswählen

import OPSI
mwa
Beiträge: 30
Registriert: 01 Apr 2014, 10:03

Re: create_drive_links.py & mount result 1231

Beitrag von mwa »

n.wenselowski hat geschrieben: Was sagt:

Code: Alles auswählen

ls -la winpe/sources/
Es kommt dabei heraus:

Code: Alles auswählen

root@opsi:~# ls -la /var/lib/opsi/depot/win7-x64/winpe/sources/
insgesamt 133308
drwxrws--- 2 opsiconfd pcpatch      4096 Mai 21 11:15 .
drwxrws--- 5 opsiconfd pcpatch      4096 Mai 21 11:15 ..
-rw-rw---- 1 opsiconfd pcpatch 136492853 Mai 21 11:15 boot.wim

Ich meinte, dass ich jeweils WinPE mit und ohne Treiber erstellt habe, und das schon mehrmals. Sorry, habe mich blöd ausgedrückt.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: create_drive_links.py & mount result 1231

Beitrag von n.wenselowski »

Hallo mwa,

auf was für einem OS läuft OPSI?
Welche Version von opsi läuft?
Sind die aktuellen Patches dort eingespielt?

Welche Version des Win7-Pakets wird verwendet?

Code: Alles auswählen

opsi-package-manager --list | grep win7

Gruß

Niko

Code: Alles auswählen

import OPSI
mwa
Beiträge: 30
Registriert: 01 Apr 2014, 10:03

Re: create_drive_links.py & mount result 1231

Beitrag von mwa »

Hallo,
OPSI läuft auf der ganz normal geladenen Xubuntu per VMWare Player auf einen Windows Client. Ich weiß, dass ist nicht die Ideallösung.

Die OPSI Version ist 4.0.4.1.3 und ich versuche ein WIN7-64x Version zu erstellen.

Code: Alles auswählen

 Product ID                Version                   Name
   ===========================================================================
   config-win-base           4.0.1-1                   Windows Customizing
   hwaudit                   4.0.5-1                   Client Hardwareinventar
   hwinvent                  4.0-1                     Hardware Inventarisieru
   javavm                    1.7.0.51-1                Oracle Java Runtime Env
   jedit                     5.0.0-3                   jEdit programmer's text
   memtest86                 3.5b-1                    Memtest86+
   ntfs-restore-image        4.0-1                     NTFS Image zurückschrei
   ntfs-write-image          4.0-1                     NTFS Image erstellen
   opsi-adminutils           4.0.3-1                   some administration too
   opsi-client-agent         4.0.4.4-1                 opsi.org client agent
   opsi-configed             4.0.4.0.13-1              opsi confied
   opsi-template             4.0.2-2                   opsi template product
   opsi-template-with-admin  4.0.2-2                   opsi template for insta
   opsi-winst                4.11.3.11-1               winst
   opsi-winst-test           4.11.3.5-1                opsi-winst test
   shutdownwanted            1.0-4                     shutdown wanted
   swaudit                   4.0.2-3                   Client software invento
   win2003                   4.0.3-1                   Windows 2003 Standard E
   win2003-r2-x64            4.0.3-1                   Windows Server 2003 R2
   win2008                   4.0.4-1                   Windows Server 2008 - x
   win2008-r2                4.0.4-1                   Windows Server 2008 R2
   win2008-x64               4.0.4-1                   Windows Server 2008 - x
   win2012                   4.0.4-1                   Windows Server 2012
   win2012-r2                4.0.4-1                   Windows Server 2012
   win2k                     4.0.3-1                   Windows 2000 profession
   win7                      4.0.4-1                   Windows 7 - x86
   win7-x64                  4.0.4-1                   Windows 7 - x64
   win8                      4.0.4-1                   Windows
   win8-x64                  4.0.4-1                   Windows
   win81                     4.0.4-1                   Windows
   win81-x64                 4.0.4-1                   Windows
   windomain                 1.0-5                     Join NT/AD Domain
   winvista                  4.0.4-1                   Windows Vista - x86
   winvista-x64              4.0.4-1                   Windows Vista - x64
   winxppro                  4.0.3-1                   Windows XP professional
   winxppro-x64              4.0.3-1                   Windows XP professional
   wipedisk                  1.0-2                     Festplatte oder Partiti
Hier nochmal die Ausgabe des Product-Updater:

Code: Alles auswählen

Reading config file '/etc/opsi/opsi-product-updater.conf'
Getting installed products
Getting info for local packages in '/var/lib/opsi/repository'
Getting package infos from repository 'http://download.uib.de'
config-win-base_4.0.1-1.opsi - installation not required: installed version '4.0.1-1' of product 'config-win-base' is up to date
hwaudit_4.0.5-1.opsi - installation not required: installed version '4.0.5-1' of product 'hwaudit' is up to date
javavm_1.7.0.51-1.opsi - installation not required: installed version '1.7.0.51-1' of product 'javavm' is up to date
jedit_5.0.0-3.opsi - installation not required: installed version '5.0.0-3' of product 'jedit' is up to date
opsi-adminutils_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'opsi-adminutils' is up to date
opsi-client-agent_4.0.4.4-1.opsi - installation not required: installed version '4.0.4.4-1' of product 'opsi-client-agent' is up to date
opsi-configed_4.0.4.0.13-1.opsi - installation not required: installed version '4.0.4.0.13-1' of product 'opsi-configed' is up to date
opsi-template-with-admin_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template-with-admin' is up to date
opsi-template_4.0.2-2.opsi - installation not required: installed version '4.0.2-2' of product 'opsi-template' is up to date
opsi-winst-test_4.11.3.5-1.opsi - installation not required: installed version '4.11.3.5-1' of product 'opsi-winst-test' is up to date
opsi-winst_4.11.3.11-1.opsi - installation not required: installed version '4.11.3.11-1' of product 'opsi-winst' is up to date
shutdownwanted_1.0-4.opsi - installation not required: installed version '1.0-4' of product 'shutdownwanted' is up to date
swaudit_4.0.2-3.opsi - installation not required: installed version '4.0.2-3' of product 'swaudit' is up to date
hwinvent_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'hwinvent' is up to date
memtest86_3.5b-1.opsi - installation not required: installed version '3.5b-1' of product 'memtest86' is up to date
ntfs-restore-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-restore-image' is up to date
ntfs-write-image_4.0-1.opsi - installation not required: installed version '4.0-1' of product 'ntfs-write-image' is up to date
win2k_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'win2k' is up to date
win7-x64_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win7-x64' is up to date
win7_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win7' is up to date
win8-x64_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win8-x64' is up to date
win8_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win8' is up to date
win81-x64_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win81-x64' is up to date
win81_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win81' is up to date
win2003-r2-x64_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'win2003-r2-x64' is up to date
win2003_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'win2003' is up to date
win2008-r2_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win2008-r2' is up to date
win2008-x64_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win2008-x64' is up to date
win2008_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win2008' is up to date
win2012-r2_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win2012-r2' is up to date
win2012_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'win2012' is up to date
windomain_1.0-5.opsi - installation not required: installed version '1.0-5' of product 'windomain' is up to date
winvista-x64_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'winvista-x64' is up to date
winvista_4.0.4-1.opsi - installation not required: installed version '4.0.4-1' of product 'winvista' is up to date
winxppro-x64_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'winxppro-x64' is up to date
winxppro_4.0.3-1.opsi - installation not required: installed version '4.0.3-1' of product 'winxppro' is up to date
wipedisk_1.0-2.opsi - installation not required: installed version '1.0-2' of product 'wipedisk' is up to date
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: create_drive_links.py & mount result 1231

Beitrag von n.wenselowski »

Hallo mwa,

ich kann die Fehlermeldung aus dem ersten Post nachstellen, wenn ich kein winpe vorliegen habe.

Wo warst du, als du create_driver_links.py ausgeführt hast?


Gruß

Niko

Code: Alles auswählen

import OPSI
mwa
Beiträge: 30
Registriert: 01 Apr 2014, 10:03

Re: create_drive_links.py & mount result 1231

Beitrag von mwa »

Hallo,

ich hoffe, ich verstehe die Frage richtig. :)

Der Pfad ist

Code: Alles auswählen

/var/lib/opsi/depot/win7-x64/create_driver_links.py
.

Habe das als root, sowie als erstellen admin versucht.

Habe auch nochmal mit opsi-setup --set-rights /var/lib/opsi/depot/win7-64x/winpe auf beiden Konten versucht. Einfach um zu gucken, ob es dort vielleicht Probleme gab.
mwa
Beiträge: 30
Registriert: 01 Apr 2014, 10:03

Re: create_drive_links.py & mount result 1231

Beitrag von mwa »

Denke das ich es habe.

Im Ordner /var/lib/opsi/depot/win7-64x/ war eine win7-64x.files Datei. Habe diese entfernt. Das Skript lief durch, hoffe ich zumindest. :)
mwa
Beiträge: 30
Registriert: 01 Apr 2014, 10:03

Re: create_drive_links.py & mount result 1231

Beitrag von mwa »

Treiber installieren sich wunderbar, dennoch habe ich diese Fehlermeldung beim Client.

Code: Alles auswählen

X:\windows\system32 > c:\opsi\startnet.cmd
mountresult: 1231 : Die Netzwerkadresse ist nicht erreichbar. Weitere Informationen über die Behebung von Netzwerkproblemen finden Sie in der Windows-Hilfe
Waiting für the network ......
edit:

unter IP-config sehe ich:

Code: Alles auswählen

Hostname: minint-282st04
Primäres DNS-Suffix: 
Knotentyp: Hybrid
IP-Routing aktiviert: nein
WINS-Proxy: nein

Hat der OPSI-Probleme, wenn der Client die IP vom DHCP-Server kriegen soll ?
Zuletzt geändert von mwa am 26 Mai 2014, 15:27, insgesamt 2-mal geändert.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: create_drive_links.py & mount result 1231

Beitrag von n.wenselowski »

Hallo mwa,

schön, dass der erste Fehler weg ist.

Was ist die Ausgabe von:

Code: Alles auswählen

show_drivers.py fqdn.des.clients

Gruß

Niko

Code: Alles auswählen

import OPSI
Antworten