Command 'blkid -o value -s LABEL /dev/sda3' failed (2):

Antworten
cgiesers
Beiträge: 44
Registriert: 22 Feb 2017, 02:11

Command 'blkid -o value -s LABEL /dev/sda3' failed (2):

Beitrag von cgiesers »

Es scheint so, dass es generell ein Problem bei der Installation mit dem linux-bootimage gibt, wenn auf dem Rechner vorher ein Windows Software RAID installiert war.

Bei der Umstellung einiger Rechner von Windows 7 auf 10 fiel das auf. Es kommt aber scheinbar nur vor, wenn die SSDs gespiegelt waren:

Das Konsolenfenster:

Code: Alles auswählen

Windows 10 x64
 │ Installing Product: win10-x64_4.1.0.1-8 on [...].de 
 │ Check is opsi-script >= 4.12.0.13
 │ we are not running in uefi mode
 │ We install to disk
 │ Starte Hardware-Inventarisierung
 │ Disk /dev/sda is not rotational (SSD)
 │ Disk /dev/sda is not rotational (SSD)
 │ Using harddisk /dev/sda (122104 MB).
 │ Create new partition table on /dev/sda.
 │ Deleted partition Table on /dev/sda - Perhaps you need a restart..... 
 │ Lösche Partitionstabelle auf /dev/sda 
 │ Create boot partition 
 │ Erstelle Partition (start: 0M, ende: 100M, dateisystem: ntfs, typ: primary, boot: False, lba: False) auf Festplatte 
 │ /dev/sda
 │ Partition /dev/sda1 has a correct block alignment
 │ Create file system ntfs on partition boot (/dev/sda1)
 │ Create system partition
 │ Erstelle Partition (start: 0M, ende: 117004M, dateisystem: ntfs, typ: primary, boot: False, lba: False) auf Festplatte
 │ /dev/sda
 │ Partition /dev/sda2 has a correct block alignment
 │ Create file system ntfs on partition system (/dev/sda2)
 │ Create winpe partition
 │ Übertrage Log-Datei zum Service
Das "popup" im TUI:

Code: Alles auswählen

Ein Fehler ist aufgetreten
 Command 'blkid -o value -s LABEL /dev/sda3' failed (2):
Das sagt der Opsi Config Editor unter Logdateien/Bootimage:

Code: Alles auswählen

(7657)    [3] [Mai 30 00:59:10] u'binary object store' (Posix.py|3413)
(7986)    [4] [Mai 30 00:59:10] Attribute part 'id' not found (Posix.py|3559)
(7993)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(7995)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(7996)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8025)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8027)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8029)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8031)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8033)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8035)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8037)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8039)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8041)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8044)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8046)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8048)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8050)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8059)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8060)    [4] [Mai 30 00:59:10] Attribute part 'vendor' not found (Posix.py|3559)
(8061)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8062)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8063)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8064)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8065)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8066)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8067)    [4] [Mai 30 00:59:10] Attribute part 'port' not found (Posix.py|3559)
(8068)    [4] [Mai 30 00:59:10] Attribute part 'capacity' not found (Posix.py|3559)
(8069)    [4] [Mai 30 00:59:10] Attribute part 'link' not found (Posix.py|3559)
(8070)    [4] [Mai 30 00:59:10] Attribute part 'autonegotiation' not found (Posix.py|3559)
(8071)    [4] [Mai 30 00:59:10] Attribute part 'ip' not found (Posix.py|3559)
(8072)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8073)    [4] [Mai 30 00:59:10] Attribute part 'vendor' not found (Posix.py|3559)
(8074)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8075)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8076)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8077)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8078)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8079)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8080)    [4] [Mai 30 00:59:10] Attribute part 'port' not found (Posix.py|3559)
(8081)    [4] [Mai 30 00:59:10] Attribute part 'capacity' not found (Posix.py|3559)
(8082)    [4] [Mai 30 00:59:10] Attribute part 'ip' not found (Posix.py|3559)
(8086)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8087)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8093)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8094)    [4] [Mai 30 00:59:10] Attribute part 'description' not found (Posix.py|3559)
(8095)    [4] [Mai 30 00:59:10] Attribute part 'vendor' not found (Posix.py|3559)
(8096)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8097)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8098)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8099)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8100)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8101)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8102)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8103)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8104)    [4] [Mai 30 00:59:10] Attribute part 'description' not found (Posix.py|3559)
(8105)    [4] [Mai 30 00:59:10] Attribute part 'vendor' not found (Posix.py|3559)
(8106)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8107)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8108)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8109)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8110)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8111)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8112)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8118)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8119)    [4] [Mai 30 00:59:10] Attribute part 'description' not found (Posix.py|3559)
(8120)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8121)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8122)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8123)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8124)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8125)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8126)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8127)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8128)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8129)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8130)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8131)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8132)    [4] [Mai 30 00:59:10] Attribute part 'description' not found (Posix.py|3559)
(8133)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8134)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8135)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8136)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8137)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8138)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8139)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8140)    [4] [Mai 30 00:59:10] Attribute part 'description' not found (Posix.py|3559)
(8141)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8142)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8143)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8144)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8145)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8146)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8147)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8148)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8149)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8150)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8151)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8152)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8153)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8154)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8155)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8156)    [4] [Mai 30 00:59:10] Attribute part 'description' not found (Posix.py|3559)
(8157)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8158)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8159)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8160)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8161)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8162)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8163)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8164)    [4] [Mai 30 00:59:10] Attribute part 'product' not found (Posix.py|3559)
(8165)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8166)    [4] [Mai 30 00:59:10] Attribute part 'vendorId' not found (Posix.py|3559)
(8167)    [4] [Mai 30 00:59:10] Attribute part 'deviceId' not found (Posix.py|3559)
(8168)    [4] [Mai 30 00:59:10] Attribute part 'subsystemVendorId' not found (Posix.py|3559)
(8169)    [4] [Mai 30 00:59:10] Attribute part 'subsystemDeviceId' not found (Posix.py|3559)
(8170)    [4] [Mai 30 00:59:10] Attribute part 'revision' not found (Posix.py|3559)
(8183)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8184)    [4] [Mai 30 00:59:10] Attribute part 'size' not found (Posix.py|3559)
(8186)    [4] [Mai 30 00:59:10] Attribute part 'vendor' not found (Posix.py|3559)
(8189)    [4] [Mai 30 00:59:10] Attribute part 'serial' not found (Posix.py|3559)
(8190)    [4] [Mai 30 00:59:10] Attribute part 'size' not found (Posix.py|3559)
(8192)    [4] [Mai 30 00:59:10] list index out of range (Posix.py|3666)
(8193)    [3] [Mai 30 00:59:10] Key 'description' not found (Posix.py|3655)
(8194)    [4] [Mai 30 00:59:10] list index out of range (Posix.py|3666)
(8195)    [3] [Mai 30 00:59:10] Key 'serial' not found (Posix.py|3655)
(8196)    [3] [Mai 30 00:59:10] Key 'description' not found (Posix.py|3655)
(8197)    [3] [Mai 30 00:59:10] Key 'serial' not found (Posix.py|3655)
(8198)    [3] [Mai 30 00:59:10] Key 'description' not found (Posix.py|3655)
(8199)    [3] [Mai 30 00:59:10] Key 'serial' not found (Posix.py|3655)
(8200)    [4] [Mai 30 00:59:10] 'dict' object has no attribute 'partition' (Posix.py|3666)
(8201)    [3] [Mai 30 00:59:10] Key 'description' not found (Posix.py|3655)
(8202)    [3] [Mai 30 00:59:10] Key 'serial' not found (Posix.py|3655)
(8203)    [4] [Mai 30 00:59:10] list index out of range (Posix.py|3666)
(8204)    [3] [Mai 30 00:59:10] Key 'description' not found (Posix.py|3655)
(8205)    [4] [Mai 30 00:59:10] list index out of range (Posix.py|3666)
(8206)    [3] [Mai 30 00:59:10] Key 'serial' not found (Posix.py|3655)
(9095)    [2] [Mai 30 00:59:53] Traceback: (Logger.py|798)
(9096)    [2] [Mai 30 00:59:53]   File "/usr/local/bin/master.py", line 1641, in <module>
(9097)        execfile(actionScript)
(9098)     (Logger.py|798)
(9099)    [2] [Mai 30 00:59:53]   File "/tmp/setup.py", line 1148, in <module>
(9100)        resultlist = execute(u'blkid -o value -s LABEL %s' % (getPartitionDevicePath(disk.device, winpePartitionNumber)))
(9101)     (Logger.py|798)
(9102)    [2] [Mai 30 00:59:53]   File "/usr/lib/python2.7/dist-packages/OPSI/System/Posix.py", line 947, in execute
(9103)        raise RuntimeError(u"Command '%s' failed (%s):\n%s" % (cmd, exitCode, u'\n'.join(result)))
(9104)     (Logger.py|798)
(9105)    [2] [Mai 30 00:59:53]      ==>>> Command 'blkid -o value -s LABEL /dev/sda3' failed (2):
(9106)     (master.py|1693)
Ich habe mir angewöhnt in der Konsole (in der ich dann zwangsläufig lande) ein

Code: Alles auswählen

dd if=/dev/zero of=/dev/sda
zu machen.
Danach ist aber zwingend ein reboot erforderlich - erst dann läuft das Setup durch:

Code: Alles auswählen

Partition /dev/sda2 has a correct block alignment                                                              
Create file system ntfs on partition system (/dev/sda2)
Create winpe partition 
Create winpe partition
Erstelle Partition (start: 118104M, ende: 122104M, dateisystem: ntfs, typ: primary, boot: True, lba: False) auf
Festplatte /dev/sda
Partition /dev/sda3 has a correct block alignment
Partition /dev/sda3 has a correct block alignment
Create file system ntfs on partition winpe (/dev/sda3)
Disk /dev/sda is no Raid Member
Disk /dev/sda is no Raid
Found driver directory: 'win10-x64/drivers' - start driver integration
Adding additional drivers
[...]

Ich hab keine Idee dazu, warum das passiert - das einzige was auffällt ist halt das vorherige bestehen eines Software RAIDs (Spiegelung) mit Windows Boardmitteln (Kein FakeRAID Müll).

Gruß
- Christof
Antworten