Hallo Leute,
ich schaffe es bei einem Dell Latitude 3320 (LAN über USB-Docking) nicht via PXE Windows 10 zu installieren -
bei allen anderen Rechner klappt es ohne Probleme.
Er kopiert wie immer die "win10-x64/winpe_uefi/* nach /mnt/hd" fügt danach die
"Additional Driver" hinzu. Danach sucht er noch nach ein paar Treibern und sagt dann schlussendlich
'NoneType' object has no attribute '__getitem__'
Ein "efibootmgr -v" hat folgende Wirkung: "No BootOrder is set; firmware will attempt recovery"
In der lokalen Log-Datei steht zu Schluss:
Code: Alles auswählen
6] [Okt 12 18:21:09] Executing: /bin/cat '/mnt/hd/opsi/diskpart.txt' (Posix.py|926)
[6] [Okt 12 18:21:09] Using encoding 'ANSI_X3.4-1968' (Posix.py|959)
[7] [Okt 12 18:21:09] >>> list disk^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> select disk 0^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> list partition^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> list volume^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> select partition 4^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> delete partition noerr override^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> select partition 3^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> extend^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> list volume^M (Posix.py|1003)
[7] [Okt 12 18:21:09] >>> exit^M (Posix.py|1003)
[7] [Okt 12 18:21:09] Exit code: 0 (Posix.py|1010)
[7] [Okt 12 18:21:09] Command 'efibootmgr' found at: '/bin/efibootmgr' (Posix.py|867)
[6] [Okt 12 18:21:09] Executing: /bin/efibootmgr -v (Posix.py|926)
[6] [Okt 12 18:21:09] Using encoding 'ANSI_X3.4-1968' (Posix.py|959)
[7] [Okt 12 18:21:09] >>> No BootOrder is set; firmware will attempt recovery (Posix.py|1003)
[7] [Okt 12 18:21:09] Exit code: 0 (Posix.py|1010)
[2] [Okt 12 18:21:10] Traceback: (Logger.py|798)
[2] [Okt 12 18:21:10] File "/usr/local/bin/master.py", line 1670, in <module>
execfile(actionScript)
(Logger.py|798)
[2] [Okt 12 18:21:10] File "/tmp/setup.py", line 1749, in <module>
currentbootentry = uefiGetActBootEntry()
(Logger.py|798)
[2] [Okt 12 18:21:10] File "<string>", line 747, in uefiGetActBootEntry
(Logger.py|798)
[2] [Okt 12 18:21:10] ==>>> 'NoneType' object has no attribute '__getitem__' (master.py|1722)
[7] [Okt 12 18:21:10] Backend: <JSONRPCBackend(host=u'192.168.192.51', compression=True)> (master.py|1725)
[7] [Okt 12 18:21:10] ProductId: win10-x64 (master.py|1726)
[7] [Okt 12 18:21:10] ClientId: nh20h2b3.kmf.lan (master.py|1727)
[7] [Okt 12 18:21:10] ProductOnClient: <ProductOnClient(clientId=u'nh20h2b3.kmf.lan', productId=u'win10-x64', installationStatus=u'unknown', actionRequest=u'none')> (master.py|1728)
[7] [Okt 12 18:21:10] Executing jsonrpc method 'productOnClient_updateObjects' on host u'192.168.192.51' (JSONRPC.py|116)
[7] [Okt 12 18:21:10] Posting request... (JSONRPC.py|708)
Ich habe auch schon versucht bei "opsi-linux-bootimage.append = acpi=off, noapic" einzutragen - auch ohne Erfolg.
Ich habe dann in der Zeile 747 der Datei opsisetuplib.py folgendes eingefügt:
Code: Alles auswählen
logger.notice("output type: {0}".format(type(output)))
for line in output:
logger.notice("{0}".format(line))
Der Log zeigte aber kein Unterschied an. Dann habe ich also noch den nächsten Tipp hinzugefügt,
sodass es jetzt so aussieht:
Code: Alles auswählen
bootManager = which("efibootmgr")
output = execute("{0} -v".format(bootManager))
logger.notice("output type: {0}".format(type(output)))
for line in output:
logger.notice("{0}".format(line))
try:
firstEntry = getBootCurrent(output)[0]
except Exception:
pass
if firstEntry:
info = getInfoFromLine(firstEntry, output)
return info
else:
return None
Jetzt kommt bei mir:
Code: Alles auswählen
File "/usr/local/bin/master.py", line 1670, in <module>
execfile(actionScript)
(Logger.py|798)
[2] [Okt 12 21:28:07] File "/tmp/setup.py", line 49, in <module>
exec(open('/tmp/opsisetuplib.py').read())
(Logger.py|798)
[2] [Okt 12 21:28:07] ==>>> expected an indented block (<string>, line 753) (master.py|1722)
Wenn ich trotzdem noch den letzten Tipp hinzufüge "firstEntry = None" aber wieder bekomme ich
die Meldung "==>>> expected an indented block (<string>, line 754) (master.py|1722)"
Ich habe leider keine Ahnung was ich jetzt noch machen könnte. Auf der anderen Seite soll ich noch
mehr von diesen Geräten bestellen. Wäre super, wenn ihr mir einen Tipp hättet.
Herzlichen Dank
Gruß Ben