Seite 1 von 1

Windows 7 x64 install-image

Verfasst: 30 Nov 2012, 10:54
von bobzbobz
Hi

(I am new to OPSI).

I am trying to create a Windows 7 x64-image for installation via PXE.
I have followed this guide: http://download.uib.de/opsi_stable/doc/ ... firststeps
from point 4.3 "Installation of a New Windows OS using opsi", and i now have a couple of questions:
Is point 4.3.1 to 4.3.3 steps made on the same machine as 4.3.6, or is it two seperate machines?
I installed Win7 x64 on a Virtual Machine and installed Microsoft AIK, and followed the guide from step 4.3.6, but when i get to the point where it says:

enter the next command (again in one line):
echo c:\opsi\startnet.cmd > "C:\winpe\mount\Windows\System32\startnet.cmd"
"(Remark: The file startnet.cmd will be created by the opsi linux boot image after the script setup.py is executed. The startnet.cmd contains the call to wpeinit.)"

I cant find any C:\opsi folder.

Am i doing this wrong? And how am i supposed to do it?

Best Regards,
Soren

Re: Windows 7 x64 install-image

Verfasst: 30 Nov 2012, 11:20
von wolfbardo
Hi
bobzbobz hat geschrieben:Hi

Is point 4.3.1 to 4.3.3 steps made on the same machine as 4.3.6, or is it two seperate machines?
4.3.6 build a PE-Image can be down on any machine ( but have to be done once if you want to use the netboot-products win7 / win7-x64 )
bobzbobz hat geschrieben:
I installed Win7 x64 on a Virtual Machine and installed Microsoft AIK, and followed the guide from step 4.3.6, but when i get to the point where it says:

enter the next command (again in one line):
echo c:\opsi\startnet.cmd > "C:\winpe\mount\Windows\System32\startnet.cmd"
"(Remark: The file startnet.cmd will be created by the opsi linux boot image after the script setup.py is executed. The startnet.cmd contains the call to wpeinit.)"

I cant find any C:\opsi folder.
The

Code: Alles auswählen

c:\opsi\startnet.cmd
will be created form the

Code: Alles auswählen

setup.py
of the netboot-product win7 / win7-x64 during installation

regards,
bardo wolf

Re: Windows 7 x64 install-image

Verfasst: 30 Nov 2012, 11:26
von bobzbobz
Hi again
The
CODE: SELECT ALL
c:\opsi\startnet.cmd
will be created form the
CODE: SELECT ALL
setup.py
of the netboot-product win7 / win7-x64 during installation
But the startnet.cmd is needed for creating a Win PE-image, right?
And i need WinPE-image for making a win7 netboot, right?

I am a bit confused :S

Best Regards,
Soren

Re: Windows 7 x64 install-image

Verfasst: 30 Nov 2012, 11:42
von wolfbardo
bobzbobz hat geschrieben:Hi again
But the startnet.cmd is needed for creating a Win PE-image, right?
no.

You have to prepare the hook for opsi in the winpe with

Code: Alles auswählen

echo c:\opsi\startnet.cmd > "C:\winpe\mount\Windows\System32\startnet.cmd"
bobzbobz hat geschrieben: And i need WinPE-image for making a win7 netboot, right?
Yes.

For Windows NT-6 Family the unattend installiation is roughly in the following steps:
  • - start opsi-linux-bootimage for example win7
    - the opsi-linux-bootimage mounts the opsi-share, runs setup.py which provides c:\opsi\startnet.cmd, drivers ... , copies the WINPE on the last partition, setts the boot record for booting winpe, REBOOT in
    - Windows PE running unattended win7-Installation
regards
bardo wolf

Re: Windows 7 x64 install-image

Verfasst: 30 Nov 2012, 14:10
von bobzbobz
Hi again

I finally got it :)

I thought you needed the startnet.cmd-file for the command:

Code: Alles auswählen

echo c:\opsi\startnet.cmd > "C:\winpe\mount\Windows\System32\startnet.cmd"
The Test-PC will now boot to Windows 7 installation, so now i just need to create a unattended.xml-file and find some drivers.
Thanks for the help.

Best Regards,
Soren

Re: Windows 7 x64 install-image

Verfasst: 30 Nov 2012, 14:22
von wolfbardo
Hi
bobzbobz hat geschrieben: The Test-PC will now boot to Windows 7 installation, so now i just need to create a unattended.xml-file and find some drivers.
Have a look at the getting started about the unattend.xml

Take in a first step the template from opsi and then change carefully the custom unattend.xml

Otherwise the opsi-postinst-scripts, opsi-client-agent-install, partitions-settings ... might be broken

regards,
bardo wolf