Installationsvorgang mit Boot-CD bricht ab

Antworten
luckymate
Beiträge: 3
Registriert: 05 Dez 2019, 19:13

Installationsvorgang mit Boot-CD bricht ab

Beitrag von luckymate »

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
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1517
Registriert: 10 Jun 2015, 12:19

Re: Installationsvorgang mit Boot-CD bricht ab

Beitrag von m.radtke »

Moin,

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.
luckymate
Beiträge: 3
Registriert: 05 Dez 2019, 19:13

Re: Installationsvorgang mit Boot-CD bricht ab

Beitrag von luckymate »

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
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Installationsvorgang mit Boot-CD bricht ab

Beitrag von uncle_scrooge »

>>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?
luckymate
Beiträge: 3
Registriert: 05 Dez 2019, 19:13

Re: Installationsvorgang mit Boot-CD bricht ab

Beitrag von luckymate »

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.
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Installationsvorgang mit Boot-CD bricht ab

Beitrag von SisterOfMercy »

Does it work on another computer?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: Installationsvorgang mit Boot-CD bricht ab

Beitrag von uncle_scrooge »

1. Frage der Barmherzigen Schwester beantworten.
2. ISO per dd auf den Stick bringen.
3. Anderen Stick (Typ!) probieren.
HKoehler
Beiträge: 2
Registriert: 09 Jan 2020, 15:53

Re: Installationsvorgang mit Boot-CD bricht ab

Beitrag von HKoehler »

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))
Antworten