Bisher hat die Installation eines Client über die Boot-CD aus dem uib-Download-bereich immer problemlos funktioniert. Mangels pxe-fähiger Umgebung habe ich das ISO-File auf einen USB-Stick geladen und so die Installation gestartet.
Nun wollte ich auf ein HP-Elitebook 850 G1 ein Windows-Image vom Opsi-Server installieren. Das Booten funktioniert, die Anmeldung auf dem Server ist möglich und das Image kann ausgewählt werden. Beim Formatieren der Festplatte aber tritt ein Fehler auf und die Installation bleibt hängen. Ich habe mehrere Verschiedene ISO-Files aus dem Downloadbereich https://download.uib.de/opsi4.1/boot-cd/ durchprobiert - der Fehler tritt bei jeder Version auf.
Im Log des Opsi-Servers sind folgende Einträge zu finden:
(0) Dec 05 17:37:43 [opsiinit] opsi init script started
(1) Dec 05 17:37:43 [opsiinit] opsi linux bootimage version: 20190829 (4.1)
.
.
.
(96) Dec 05 17:39:34 [opsiinit]
(1527) [3] [Dez 05 17:40:15] Failed to get boot configuration from tftp server: an integer is required (master.py|1088)
(5608) [3] [Dez 05 17:41:12] u'binary object store' (Posix.py|3413)
(6257) [3] [Dez 05 17:41:12] Key 'description' not found (Posix.py|3655)
(6258) [3] [Dez 05 17:41:12] Key 'serial' not found (Posix.py|3655)
(6260) [3] [Dez 05 17:41:12] Key 'description' not found (Posix.py|3655)
(6261) [3] [Dez 05 17:41:12] Key 'serial' not found (Posix.py|3655)
(6263) [3] [Dez 05 17:41:12] Key 'description' not found (Posix.py|3655)
(6265) [3] [Dez 05 17:41:12] Key 'serial' not found (Posix.py|3655)
(6870) [2] [Dez 05 17:41:54] Traceback: (Logger.py|798)
(6871) [2] [Dez 05 17:41:54] File "/usr/local/bin/master.py", line 1642, in <module>
(6872) execfile(actionScript)
(6873) (Logger.py|798)
(6874) [2] [Dez 05 17:41:54] File "/tmp/setup.py", line 846, in <module>
(6875) execute(u'%s %s' % (which('partprobe'),aktdisk.device))
(6876) (Logger.py|798)
(6877) [2] [Dez 05 17:41:54] File "/usr/lib/python2.7/dist-packages/OPSI/System/Posix.py", line 947, in execute
(6878) raise RuntimeError(u"Command '%s' failed (%s):\n%s" % (cmd, exitCode, u'\n'.join(result)))
(6879) (Logger.py|798)
(6880) [2] [Dez 05 17:41:54] ==>>> Command '/sbin/partprobe /dev/sdb' failed (1):
(6881) Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. (master.py|1694)
Weiss jemand, wie dieser Fehler behoben werden kann?
Freundliche Grüsse
luckymate
Installationsvorgang mit Boot-CD bricht ab
Re: Installationsvorgang mit Boot-CD bricht ab
Moin,
führe mal das Wipedisk Produkt aus.
Manchmal sind nagelneue Platten etwas besonders.
Gruß
Mathias
führe mal das Wipedisk Produkt aus.
Manchmal sind nagelneue Platten etwas besonders.
Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Re: Installationsvorgang mit Boot-CD bricht ab
Hallo Matthias
Danke für die zackige Antwort. Leider hat das Wipedisk den Fehler nicht lösen können. Gibt es weitere Ansätze?
Freundliche Grüsse
Ulrich
Danke für die zackige Antwort. Leider hat das Wipedisk den Fehler nicht lösen können. Gibt es weitere Ansätze?
Freundliche Grüsse
Ulrich
-
- Beiträge: 650
- Registriert: 21 Feb 2012, 12:03
- Wohnort: Mainz
Re: Installationsvorgang mit Boot-CD bricht ab
>>Command '/sbin/partprobe /dev/sdb' failed
Ich behaupte mal frech, daß /dev/sdb nicht die Festplatte, sondern der USB-Stick ist.
Wie hast Du das ISO auf selbigen gebracht?
Ich behaupte mal frech, daß /dev/sdb nicht die Festplatte, sondern der USB-Stick ist.
Wie hast Du das ISO auf selbigen gebracht?
Re: Installationsvorgang mit Boot-CD bricht ab
Ich danke für den Tipp. Daran habe ich auch schon gedacht. Das iso-File der Boot-CD habe ich mittels der App 'Etcher' auf den Stick gebracht.
- SisterOfMercy
- Beiträge: 1524
- Registriert: 22 Jun 2012, 19:18
Re: Installationsvorgang mit Boot-CD bricht ab
Does it work on another computer?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
-
- Beiträge: 650
- Registriert: 21 Feb 2012, 12:03
- Wohnort: Mainz
Re: Installationsvorgang mit Boot-CD bricht ab
1. Frage der Barmherzigen Schwester beantworten.
2. ISO per dd auf den Stick bringen.
3. Anderen Stick (Typ!) probieren.
2. ISO per dd auf den Stick bringen.
3. Anderen Stick (Typ!) probieren.
Re: Installationsvorgang mit Boot-CD bricht ab
Ich bin heute auf das gleiche Problem gestoßen und habe es mit folgenden Änderungen an /var/lib/opsi/depot/win10-x64/setup.py gelöst:
Code: Alles auswählen
937c937
< fdiskexitcode = os.system('parted %s print | grep "Partition Table: gpt" >> /dev/null 2>&1' % (aktdisk.device))
---
> fdiskexitcode = os.system('blkid -s PTTYPE %s | grep -qF gpt' % (aktdisk.device))
974c974
< execute(u'%s %s' % (which('partprobe'),aktdisk.device))
---
> execute(u'%s --rereadpt %s' % (which('blockdev'),aktdisk.device))
1415c1415
< fdiskexitcode = os.system('parted %s print | grep "Partition Table: gpt" >> /dev/null 2>&1' % (aktdisk.device))
---
> fdiskexitcode = os.system('blkid -s PTTYPE %s | grep -qF gpt' % (aktdisk.device))