Seite 1 von 1

Installationsvorgang mit Boot-CD bricht ab

Verfasst: 05 Dez 2019, 19:47
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

Re: Installationsvorgang mit Boot-CD bricht ab

Verfasst: 06 Dez 2019, 09:18
von m.radtke
Moin,

führe mal das Wipedisk Produkt aus.
Manchmal sind nagelneue Platten etwas besonders.

Gruß
Mathias

Re: Installationsvorgang mit Boot-CD bricht ab

Verfasst: 06 Dez 2019, 22:34
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

Re: Installationsvorgang mit Boot-CD bricht ab

Verfasst: 09 Dez 2019, 08:47
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?

Re: Installationsvorgang mit Boot-CD bricht ab

Verfasst: 11 Dez 2019, 19:43
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.

Re: Installationsvorgang mit Boot-CD bricht ab

Verfasst: 12 Dez 2019, 01:23
von SisterOfMercy
Does it work on another computer?

Re: Installationsvorgang mit Boot-CD bricht ab

Verfasst: 12 Dez 2019, 08:20
von uncle_scrooge
1. Frage der Barmherzigen Schwester beantworten.
2. ISO per dd auf den Stick bringen.
3. Anderen Stick (Typ!) probieren.

Re: Installationsvorgang mit Boot-CD bricht ab

Verfasst: 09 Jan 2020, 16:09
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))