Jump to content

winpe - detect architecture


mario_s

Recommended Posts

i've got dhcp and tftp and dns under unix system. I made that i can boot win pe from pxe server (unix) but only one architecture, for example 32bit, if i want to boot another (64bit) i have to change wim image for 64bit version. Under Windows it happens automatically (it detects), but under unix i have to do it manually. What i have to do? please help :)

Link to comment
Share on other sites


http://technet.microsoft.com/en-us/library...351.aspx#enable

if I understand it right, there seems to be server-side and client-side detection mechanisms.

Now the question is, where is the client-side mechanism (either pxeboot.com or bootmgr) and how do you set it up, as server-side is a no-go for your situation.

edit:

some more insight: http://support.microsoft.com/kb/932447/

from http://technet.microsoft.com/en-us/library/cc754611.aspx

The BCD Store Physical Structure

There are four possible classes of client computers, so four BCD stores are created in the \Tmp folder:

* x86-based. This file consists of the Default.bcd file from the \Boot\x86 folder and all boot image BCDs from the \Boot\x86\Images folder.

* Itanium-based. This file consists of the Default.bcd file from the \Boot\ia64 folder and all boot image BCDs from the \Boot\ia64\Images folder.

* x64-based. This file consists of the Default.bcd file from the \Boot\x64 folder and all boot image BCDs from the \Boot\x64\Images folder.

* x86-based and x64-based (this corresponds to if you run WDSUTIL /set-server /DefaultX86X64ImageType:both). This file consists of the Default.bcd file from the boot\x86 folder and all boot image BCDs from both the \Boot\x86\Images and \Boot\x64\Images folders.

suppose you have the Boot\x86\Images folder structure, now try creating Boot\x64\Images and place the boot configuration storage (BCD) in the related folder, just that this BCD points to your x64 PE image. Not tested, but maybe worth a try.

Edited by bj-kaiser
Link to comment
Share on other sites

Can I ask why you need to load x64 WinPE?

because i want to install win2008 x64 using winpe

You can do that from the x86 version of winPE. Doesn't require that you use x64.

EDIT (I looked up the actual command for you):

V:\x86\Std\sources\setup.exe /m:C:\OEM\$oem$ /tempdrive:C: /unattend:C:\unattend.xml /installfrom:V:\x64\Std\sources\install.wim /noreboot

This is the command line I use. You use the x86 version of setup.exe, and use the /installfrom: switch to point to the x64 wim file.

Edited by Jazkal
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...