Seite 1 von 2
Windows 10 Pro unattended install
Verfasst: 18 Apr 2018, 03:39
von zaber
Hello all,
I am having some issues installing Windows 10 Pro from a new OPSI 4.1 installation. I have tried this on a KVM virtual machine, a VirtualBox Virtual machine, and an older HP laptop. In all three cases is gets as far as running c:\opsi\startnet.cmd in the PE. IT will print "Running in a 64 Bit PE" and then return to a command line. When I run a 32 bit install it gets further, but it is acting like there is no unattended installation file.
In both cases the PE used worked without an issue in 4.0. It may also be important to note that the 4.0 installation was in a LXC container running Ubuntu, and the new 4.1 installation is in a LXC container running CentOS. Both containers are on the same host, and if I change my network boot settings to boot from the old 4.0 installation it boots just fine.
Thank you
Re: Windows 10 Pro unattended install
Verfasst: 18 Apr 2018, 13:02
von uncle_scrooge
Some logs, please.
bootimage log
From within the failing PE: x:\work.log
Still inside the failing PE:
Does c:\opsi\opsi-script\files64\opsi-winst\winst64.exe exist?
Re: Windows 10 Pro unattended install
Verfasst: 19 Apr 2018, 03:42
von zaber
Hello,
c:\opsi\opsi-script\files64\opsi-winst\winst64.exe does exist
X:\work.log contains:
"Running in 64Bit PE"
Starting opsi-script ......
Re: Windows 10 Pro unattended install
Verfasst: 19 Apr 2018, 19:46
von uncle_scrooge
Hm.
Is there a file x:\opsiscript.log?
If yes provide the content, please,
If no: What happens if you try to start
Code: Alles auswählen
c:\opsi\opsi-script\files64\opsi-winst\winst64.exe c:\opsi\setup.opsiscript
Re: Windows 10 Pro unattended install
Verfasst: 23 Apr 2018, 18:41
von zaber
I did find the following lines.
Found ImportLib statement for file: uib_bootutils.opsiscript and function:
Error: Could not find import file :uib_bootutiol.opsiscript
Could this have something to do with the fact that I originally tried to set up the depot as webdav and not SMB?
Re: Windows 10 Pro unattended install
Verfasst: 23 Apr 2018, 19:41
von uncle_scrooge
List the content of 'c:\opsi\opsi-script\files64\opsi-winst\files64\opsi-winst\lib', please. (Inside the failing PE of course.)
On the OPSI server do a
and a
Code: Alles auswählen
ll /var/lib/opsi/depot/opsi-winst/files/opsi-winst/lib
Re: Windows 10 Pro unattended install
Verfasst: 03 Mai 2018, 17:55
von n.wenselowski
Hi,
please check that you are using the latest versions of opsi-winst and your netboot product!
An opsi-package-updater -v update may help here!
Bye
Niko
Re: Windows 10 Pro unattended install
Verfasst: 17 Aug 2018, 10:26
von larsg
i am facing the exact same problem now for 64-bit clients.
installing clients with win7 32bit works, but win7, win81, win10 64bit doesnt.
n.wenselowski hat geschrieben:
please check that you are using the latest versions of opsi-winst and your netboot product!
Code: Alles auswählen
opsi-package-manager -l opsi-winst
opsi-winst 4.12.0.25-1 winst
Code: Alles auswählen
opsi-package-manager -l win*-x64
win10-x64 4.1.0.0-10 Windows 10 x64
win7-x64 4.1.0.0-10 Windows 7 - x64
win81-x64 4.1.0.0-10 Windows
also,
Code: Alles auswählen
dpkg -l | grep "opsi"
ii opsi-configed 4.0.7.6.34-2 all OPSI config editor
ii opsi-linux-bootimage 20180713-1 all opsi bootimage for netboot tasks.
ii opsi-linux-support 4.0.7-5 all Configure system to be able to deploy Linux with opsi.
ii opsi-server 4.1.1.4-10 all opsi server configuration package
ii opsi-tftpd-hpa 5.2.8-49 amd64 HPA's tftp server
ii opsi-utils 4.1.1.22-1 all utilites for working with opsi.
ii opsi-vm-config 4.1.2 all Configuration of opsi VM.
ii opsi-windows-support 4.1.1-5 all Install utilities useful for deploying Windows with opsi.
ii opsiconfd 4.1.1.10-4 all opsi configuration service
ii opsipxeconfd 4.1.1.13-1 all opsi pxe configuration daemon
ii python-opsi 4.1.1.42-1 all opsi python library
thats as close as i can get i'd think.
uncle_scrooge hat geschrieben:
Code: Alles auswählen
ll "/var/lib/opsi/depot/opsi-winst/files64/opsi-winst"
insgesamt 8124
drwxrws--- 4 opsiconfd pcpatch 4096 Aug 17 00:46 ./
drwxrws--- 3 opsiconfd pcpatch 4096 Aug 17 00:46 ../
-rwxrwx--- 1 opsiconfd pcpatch 2268160 Aug 17 00:46 libeay32.dll*
drwxrws--- 2 opsiconfd pcpatch 4096 Aug 17 00:46 locale/
-rwxrwx--- 1 opsiconfd pcpatch 76854 Aug 17 00:46 opsi.bmp*
-rwxrwx--- 1 opsiconfd pcpatch 34576 Aug 17 00:46 shutdown.exe*
-rwxrwx--- 1 opsiconfd pcpatch 386560 Aug 17 00:46 ssleay32.dll*
-rwxrwx--- 1 opsiconfd pcpatch 59904 Aug 17 00:46 unzipd32.dll*
-rwxrwx--- 1 opsiconfd pcpatch 5467648 Aug 17 00:46 winst64.exe*
drwxrws--- 2 opsiconfd pcpatch 4096 Aug 17 00:46 winstskin/
uncle_scrooge hat geschrieben:
[/quote]
Code: Alles auswählen
ll "/var/lib/opsi/depot/opsi-winst/files/opsi-winst/lib"
insgesamt 344
drwxrws--- 2 opsiconfd pcpatch 4096 Aug 17 00:46 ./
drwxrws--- 5 opsiconfd pcpatch 4096 Aug 17 00:46 ../
-rwxrwx--- 1 opsiconfd pcpatch 98 Aug 17 00:45 insert_check_exit_code.opsiinc*
-rwxrwx--- 1 opsiconfd pcpatch 147 Aug 17 00:45 insert_get_licensekey.opsiinc*
-rwxrwx--- 1 opsiconfd pcpatch 1235 Aug 17 00:45 section_sub_check_exitcode.opsiinc*
-rwxrwx--- 1 opsiconfd pcpatch 1384 Aug 17 00:45 section_sub_get_licensekey.opsiinc*
-rwxrwx--- 1 opsiconfd pcpatch 10458 Aug 17 00:45 uib_backend.asciidoc*
-rwxrwx--- 1 opsiconfd pcpatch 47320 Aug 17 00:45 uib_backend.html*
-rwxrwx--- 1 opsiconfd pcpatch 19466 Aug 17 00:45 uib_backend.opsiscript*
-rwxrwx--- 1 opsiconfd pcpatch 19408 Aug 17 00:45 uib_backend.opsiscript.bak*
-rwxrwx--- 1 opsiconfd pcpatch 10363 Aug 17 00:45 uib_bootutils.asciidoc*
-rwxrwx--- 1 opsiconfd pcpatch 48883 Aug 17 00:45 uib_bootutils.html*
-rwxrwx--- 1 opsiconfd pcpatch 19312 Aug 17 00:45 uib_bootutils.opsiscript*
-rwxrwx--- 1 opsiconfd pcpatch 11614 Aug 17 00:45 uib_exitcode.asciidoc*
-rwxrwx--- 1 opsiconfd pcpatch 49849 Aug 17 00:45 uib_exitcode.html*
-rwxrwx--- 1 opsiconfd pcpatch 29412 Aug 17 00:45 uib_exitcode.opsiscript*
-rwxrwx--- 1 opsiconfd pcpatch 2882 Aug 17 00:45 uib_strlistutils.asciidoc*
-rwxrwx--- 1 opsiconfd pcpatch 34215 Aug 17 00:45 uib_strlistutils.html*
-rwxrwx--- 1 opsiconfd pcpatch 2029 Aug 17 00:45 uib_strlistutils.opsiscript*
uncle_scrooge hat geschrieben:Code: Alles auswählen
c:\opsi\opsi-script\files64\opsi-winst\files64\opsi-winst\lib
i get to c:\opsi\opsi-script\files64\opsi-winst, but a subfolder files64 or lib doesn't exist here,
but this folder does exist: c:\opsi\opsi-script\files\opsi-winst\lib and it has all the libs, so pretty much a copy of what is on the depot.
Re: Windows 10 Pro unattended install
Verfasst: 17 Aug 2018, 11:05
von larsg
update:
still in PE, i copied the content of c:\opsi\opsi-script\files\opsi-winst\lib to c:\opsi\opsi-script\files64\opsi-winst\lib, started startnet.cmd again, and it works.
i did the same on the depot, and this now works as well.
i just checked the contents of opsi-winst_4.12.0.25-1.opsi package, and the folder files64\opsi-winst\lib is indeed not there.
compared that to contents of opsi-winst_4.12.0.13-1.opsi package, and the folder files64\opsi-winst\lib is there.
i guess something went wrong in between
Re: Windows 10 Pro unattended install
Verfasst: 17 Aug 2018, 11:57
von n.wenselowski
Hi,
larsg hat geschrieben:i did the same on the depot, and this now works as well.
i just checked the contents of opsi-winst_4.12.0.25-1.opsi package, and the folder files64\opsi-winst\lib is indeed not there.
compared that to contents of opsi-winst_4.12.0.13-1.opsi package, and the folder files64\opsi-winst\lib is there.
i guess something went wrong in between
I just installed opsi-winst_4.12.0.25-1.opsi and I've got both folders and both are filled.
This leaves me a bit puzzled.
What is the hash of your file?
Code: Alles auswählen
# cat /var/lib/opsi/repository/opsi-winst_4.12.0.25-1.opsi.md5
1c94c50b52253ec12169a9767d1061ff
If there is a difference you can force the download of the file:
Afterwards opsi-package-manager can install the package.
Cheers
Niko