Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
appnotes:srp_install [2009/11/09 15:11]
mcb30
appnotes:srp_install [2009/11/17 20:41]
mcb30 Remove diskpart rescan; it can cause duplicate disks!
Line 56: Line 56:
   <?xml version="​1.0"​ encoding="​utf-8"?>​   <?xml version="​1.0"​ encoding="​utf-8"?>​
   <​unattend xmlns="​urn:​schemas-microsoft-com:​unattend">​   <​unattend xmlns="​urn:​schemas-microsoft-com:​unattend">​
 +    <​settings pass="​windowsPE">​
 +      <​component name="​Microsoft-Windows-Setup"​
 +                 ​processorArchitecture="​amd64"​
 +                 ​publicKeyToken="​31bf3856ad364e35"​
 +                 ​language="​neutral"​
 +                 ​versionScope="​nonSxS"​
 +                 ​xmlns:​wcm="​http://​schemas.microsoft.com/​WMIConfig/​2002/​State">​
 +        <​RunSynchronous>​
 +          <​RunSynchronousCommand wcm:​action="​add">​
 +            <​Order>​1</​Order>​
 +            <​Path>​cmd.exe /c for /f %i in (&​apos;​dir /s /b %WINDIR%\inf\oem*.inf&​apos;​) do drvload %i || echo Ignoring error</​Path>​
 +          </​RunSynchronousCommand>​
 +        </​RunSynchronous>​
 +      </​component>​
 +    </​settings>​
     <​settings pass="​generalize">​     <​settings pass="​generalize">​
       <​component name="​Microsoft-Windows-PnpSysprep"​       <​component name="​Microsoft-Windows-PnpSysprep"​
Line 89: Line 104:
 and save it as //​E:​\wimscript.ini//​ (where //E:// is the drive letter of your USB key). and save it as //​E:​\wimscript.ini//​ (where //E:// is the drive letter of your USB key).
  
-==== Preparing ​WinOF ====+==== Preparing ​the boot image ====
  
-Download the correct version of Windows OpenFabrics from [[http://​www.openfabrics.org/​downloads/​WinOF/​]] and unzip the downloaded file.  Copy the unzipped ​//.msi// file to //E:\WinOF.msi//​ (where //E:// is the drive letter of your USB key).+Download the correct version of Windows OpenFabrics from [[http://​www.openfabrics.org/​downloads/​WinOF/​]] and unzip the //​.msi// ​installer ​file.  Unpack the driver files to a temporary location:
  
-Start up a command prompt and extract the driver files from the //.msi// file: +    ​msiexec -a WinOF_2-1_wlh_x64.msi -qb TARGETDIR=%TMP%\WinOF
- +
-    cd /d E:\ +
-    ​msiexec -a WinOF.msi -qb TARGETDIR=E:\WinOF +
-    for /f %i in ('dir /b /s E:\WinOF\PFiles\WinOF\Drivers\*.*'​) do copy /y %i +
- +
-==== Preparing sanbootconf ==== +
- +
-Download //​sanbootconf//​ from [[http://​git.etherboot.org/​releases/​sanbootconf/​sanbootconf-latest.zip]] and unzip the downloaded file.  Copy the unzipped //.msi// file to //​E:​\sanbootconf.msi//​ (where //E:// is the drive letter of your USB key). +
- +
-==== Preparing the imagex tool ====+
  
 Start up a Windows PE Tools Command Prompt (//​Start//​->//​All Programs//​->//​Microsoft Windows AIK//​->//​Windows PE Tools Command Prompt//) and mount the boot image file: Start up a Windows PE Tools Command Prompt (//​Start//​->//​All Programs//​->//​Microsoft Windows AIK//​->//​Windows PE Tools Command Prompt//) and mount the boot image file:
Line 114: Line 119:
     copy ..\%PROCESSOR_ARCHITECTURE%\imagex.exe %TMP%\Mount     copy ..\%PROCESSOR_ARCHITECTURE%\imagex.exe %TMP%\Mount
     copy E:​\wimscript.ini %TMP%\Mount     copy E:​\wimscript.ini %TMP%\Mount
 +
 +Add the WinOF drivers to the boot image:
 +
 +    cd %TMP%\WinOF\PFiles\WinOF\Drivers
 +    for /f %i in ('dir *.inf /s /b') do peimg /inf=%i %TMP%\Mount
  
 Commit the changes to the boot image: Commit the changes to the boot image:
  
     imagex /unmount /commit %TMP%\Mount     imagex /unmount /commit %TMP%\Mount
 +
 +==== Preparing sanbootconf ====
 +
 +Download //​sanbootconf//​ from [[http://​git.etherboot.org/​releases/​sanbootconf/​sanbootconf-latest.zip]] and save it as //​E:​\sanbootconf.zip//​ (where //E:// is the drive letter of your USB key).
  
 ===== Creating the installation image ===== ===== Creating the installation image =====
Line 125: Line 139:
 Boot from your USB key, and install Windows Server 2008 to a blank physical disk on a new machine. ​ (This step is sadly necessary due to limitations in the Windows Setup infrastructure.) Boot from your USB key, and install Windows Server 2008 to a blank physical disk on a new machine. ​ (This step is sadly necessary due to limitations in the Windows Setup infrastructure.)
  
-In the newly-installed Windows Server 2008, install ​//​WinOF.msi//​ and //​sanbootconf.msi// from your USB key.+In the newly-installed Windows Server 2008, install //​sanbootconf//​ from your USB key.
  
 Start up a command prompt and prepare the machine for capturing the installation image: Start up a command prompt and prepare the machine for capturing the installation image:

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code appnotes:srp_install (generated for current page)