Problem installing Win7

pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

Problem installing Win7

Beitrag von pav5088 »

I'm having some difficulty installing Win7. I have winxppro installing fine.

It could be related to translation issues : google translate is terrible at translating this section of the manual. I got some help from a dutch guy whos german isn't great, but unfortunately it's still not working for me.

Files seem to be copied across fine, but after reboot I get this message :

Datenträger entfernen
Neustart: Taste drücken

I've included my own notes on what I'm doing. Hopefully they are clear :

# 1) Copy boot.wim image file from your OS install disk to a directory on your C: drive
# eg. C:\winpe_amd64\ISO\sources\
# (On Win7 boot.wim is in \sources)
#
# 2) Allow read and write access to this boot.wim file.
#
# 3) To mount this image file :
# Right-click the WinPE Command Prompt icon (in the MS Win AIK menu) and click
# "Run as Administrator", then create the directory c:\winpe_amd64\mount . Execute
# the following command :
# "C:\Program Files\Windows AIK\Tools\amd64\imagex.exe" /mountrw C:\winpe_amd64\ISO\sources\boot.wim 1 c:\winpe_amd64\mount
#
# 4) Now you can navigate inside the image file and edit :
# C:\WinPE_amd64\mount\Windows\System32\startnet.cmd
#
# From the translated german instructions :
# Wpeinit the entry and remove the following line:
# c: \ opsi \ startnet.cmd
# (Note: The startnet.cmd by opsi-linux boot image in the
# winvista.py created alongside the wpeinit call)
#
# Hmmmmmm... I THINK this means to delete the wpeinit statement and
# add c:\opsi\startnet.cmd . (I've checked and wpeinit is called
# inside startnet.cmd.
#
# I guess the winvista stuff is an explanation of what the pxe boot image does???
#
# 5) Unmount the file and copy it to the winpe directory :
# imagex.exe /unmount /commit C:\winpe_amd64\mount
#
# 6) Repeat the previous mount operation subsituting "2" for "1" in the mount command.
# The edits to startnet.cmd need to happen again.
#
# It's important to also delete setup.exe from the root and /sources directory of
# boot.wim.
#
# 7) Copy the boot.wim file to winpe/sources/boot.wim in the win7 directory.
#
# 8) Copy entire CD contents to /opt/pcbin/install/win7/installfiles and
# change permissions ie.
# chown -R opsiconfd.pcpatch /opt/pcbin/install/win7/installfiles
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1812
Registriert: 29 Mai 2008, 15:14

Re: Problem installing Win7

Beitrag von j.schneider »

Hi!

In short:
  • copy the contents of your win7 iso into /opt/pcbin/install/win7/installfiles/
  • create a winpe 2.0 matching the architecture you want to install 32/64bit
  • adapt the winpe image boot.wim (mount +edit startnet.cmd that it only contains c:\opsi\startnet.cmd + umount)
  • copy the created winpe 2.0 to /opt/pcbin/install/win7/winpe/
Greetings
Jan Schneider
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

Re: Problem installing Win7

Beitrag von pav5088 »

The SetWallpaper.exe, opsimbr.exe and sleep.exe executables are 32bit so I don't think I can use it with a 64bit winpe. Does this mean only a 32bit Win7 is supported? I tried copying these executables from the winvista-x64 directory, but they also seem to be 32bit. Shouldn't they be 64bit if they are to work in a 64bit vista winpe?
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1812
Registriert: 29 Mai 2008, 15:14

Re: Problem installing Win7

Beitrag von j.schneider »

Please try it out...
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

Re: Problem installing Win7

Beitrag von pav5088 »

I have tried and I get an error message when the 32bit executables attempt to run. This happens even when I try to copy the winvista-x64 binaries.

When I use a 32bit winpe it works. There is no error message, and the wallpaper is changed correctly etc... but of course the setup.exe fails because I only have a 64bit version of Win7.
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Problem installing Win7

Beitrag von wolfbardo »

Maybe there is a better description how to handle the 64bit-Part in

http://download.uib.de/opsi3.3.1/doku/o ... ion_en.pdf

regards

Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Problem installing Win7

Beitrag von wolfbardo »

addition:
pav5088 hat geschrieben:The SetWallpaper.exe, opsimbr.exe and sleep.exe executables are 32bit so I don't think I can use it with a 64bit winpe. Does this mean only a 32bit Win7 is supported? I tried copying these executables from the winvista-x64 directory, but they also seem to be 32bit. Shouldn't they be 64bit if they are to work in a 64bit vista winpe?
yes, they dont work under 64bit but that should not really matter. opsimbr.exe is not used in the scripts at the moment, the usage of SetWallpaper.exe, sleep.exe leads to some errormessages, which can be ignored.

regards

Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

Re: Problem installing Win7

Beitrag von pav5088 »

wolfbardo hat geschrieben:addition:
pav5088 hat geschrieben:The SetWallpaper.exe, opsimbr.exe and sleep.exe executables are 32bit so I don't think I can use it with a 64bit winpe. Does this mean only a 32bit Win7 is supported? I tried copying these executables from the winvista-x64 directory, but they also seem to be 32bit. Shouldn't they be 64bit if they are to work in a 64bit vista winpe?
yes, they dont work under 64bit but that should not really matter. opsimbr.exe is not used in the scripts at the moment, the usage of SetWallpaper.exe, sleep.exe leads to some errormessages, which can be ignored.

regards

Bardo Wolf
OK, I'm getting further - I was confused by the pause at the error message. Thanks for the help.

My current problem is that the installation gets most of the way through, but the installation still asks for the windows license key even though this is specified in the opsi configuration of Win7 in the web interface. Also the preloginloader doesn't launch, probably because it hasn't been installed and the machine never gets past "installing" Win7 in the opsi configuration editor. What could be happening?
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Problem installing Win7

Beitrag von d.oertel »

Hi,

which version of opsi you are using ?
Can you please post the bootimage log file ?

regards

detlef oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
pav5088
Beiträge: 31
Registriert: 12 Jun 2009, 03:49

Re: Problem installing Win7

Beitrag von pav5088 »

I'm using the opsi 3.4 RC, and am currently running another installation to generate some logs.

Which log files should I be posting? I did a search for the log you mention but nothing was found in the docs. Should I post the following (from the manual) :

3.4. Log files of the installation
c:\Windows\Panther\setupact.log:

Log until the end of setup phase 4 (running under WinPE)
c:\Windows\Panther\setupact.err:

Error log until the end of setup phase 4 (running under WinPE)
c:\Windows\Panther\UnattendGC\setupact.log:

Log since specialize phase
c:\Windows\Panther\UnattendGC\setupact.err:

Error log since specialize phase
c:\Windows\System32\Winevt\Logs\*

c:\Windows\ntbtlog.txt (only with activated startup protocol)
Antworten