I'm running into problems with the win7-x64 netboot product. I'm not on the newest version, but the setup.py hasn't changed much, and this looks simple. (it never is)
Code: Alles auswählen
[7] [Jan 20 20:59:19] Exit code: 0 (Posix.py|847)
[5] [Jan 20 20:59:24] /dev/nvme0n1p4 exists as device - fine (opsisetuplib.py|241)
[5] [Jan 20 20:59:24] /dev/nvme0n1p4 created and formated (opsisetuplib.py|275)
[5] [Jan 20 20:59:24] check efi boot order (setup.py|714)
[6] [Jan 20 20:59:24] Executing: /bin/efibootmgr (Posix.py|763)
[6] [Jan 20 20:59:24] Using encoding 'ANSI_X3.4-1968' (Posix.py|796)
[7] [Jan 20 20:59:24] >>> Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables. (Posix.py|840)
[7] [Jan 20 20:59:24] >>> Try 'modprobe efivars' as root. (Posix.py|840)
[7] [Jan 20 20:59:24] Exit code: 1 (Posix.py|847)
[2] [Jan 20 20:59:26] Traceback: (Logger.py|765)
[2] [Jan 20 20:59:26] line 1461 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|765)
[2] [Jan 20 20:59:26] line 715 in '<module>' in file '/tmp/setup.py' (Logger.py|765)
[2] [Jan 20 20:59:26] line 854 in 'execute' in file '/usr/lib/python2.7/dist-packages/OPSI/System/Posix.py' (Logger.py|765)
[2] [Jan 20 20:59:26] ==>>> Command '/bin/efibootmgr' failed (1):
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root. (master.py|1509)
From setup.py (this part hasn't changed in the most recent version)
Code: Alles auswählen
if not useGpt:
# Write Master Boot Record
disk.writeMasterBootRecord(system = 'vista')
else:
if inUefi:
#execute('/sbin/modprobe efivars')
logger.notice(u"check efi boot order")
execute('/bin/efibootmgr')
# Mount partition
Hmm, so do I have to boot the opsi bootimage in UEFI mode before this will work? Or am I missing something?