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 Both sides next revision
howto:winpe [2016/07/06 18:58]
mcb30
howto:winpe [2017/05/10 15:46]
mcb30
Line 66: Line 66:
     cpuid --ext 29 && set arch amd64 || set arch x86     cpuid --ext 29 && set arch amd64 || set arch x86
     kernel wimboot     kernel wimboot
 +    initrd install.bat ​                  ​install.bat
 +    initrd winpeshl.ini ​                 winpeshl.ini
     initrd ${arch}/​ISO/​boot/​bcd ​         BCD     initrd ${arch}/​ISO/​boot/​bcd ​         BCD
     initrd ${arch}/​ISO/​boot/​boot.sdi ​    ​boot.sdi     initrd ${arch}/​ISO/​boot/​boot.sdi ​    ​boot.sdi
Line 89: Line 91:
  
 ===== Advanced topics ===== ===== Advanced topics =====
- 
-You can customise your Windows PE images using the ''​ImageX''​ and ''​DISM''​ tools, which are part of the [[#​windows_assessment_and_deployment_toolkit_adk|Windows ADK]] (or [[#​windows_automated_installation_kit_aik|AIK]]). ​ A Linux version of ''​imagex''​ is also available as part of the ''​[[http://​sourceforge.net/​projects/​wimlib/​|wimlib]]''​ package. 
  
 ==== Adding a startup batch file ==== ==== Adding a startup batch file ====
Line 108: Line 108:
     [LaunchApps]     [LaunchApps]
     "​%SYSTEMDRIVE%\install.bat"​     "​%SYSTEMDRIVE%\install.bat"​
 +
 +Copy ''​install.bat''​ and ''​winpeshl.ini''​ to your web server and edit your ''​boot.ipxe''​ script to load these files:
 +
 +    #!ipxe
 +    ​
 +    cpuid --ext 29 && set arch amd64 || set arch x86
 +    kernel wimboot
 +    initrd ${arch}/​ISO/​boot/​bcd ​         BCD
 +    initrd ${arch}/​ISO/​boot/​boot.sdi ​    ​boot.sdi
 +    initrd -n boot.wim ${arch}/​winpe.wim boot.wim
 +    boot
 +
  
 Use ''​ImageX''​ to add these files to the Windows PE image: Use ''​ImageX''​ to add these files to the Windows PE image:
Line 122: Line 134:
 ==== Adding a network card driver ==== ==== Adding a network card driver ====
  
-You can customise your Windows PE image to include drivers for your network card, if your card is not already supported by Windows PE.+You can customise your Windows PE image to include drivers for your network card, if your card is not already supported by Windows PE.  You will need the ''​ImageX''​ and ''​DISM''​ tools, which are part of the [[#​windows_assessment_and_deployment_toolkit_adk|Windows ADK]] (or [[#​windows_automated_installation_kit_aik|AIK]]). ​ A Linux version of ''​imagex''​ is also available as part of the ''​[[http://​sourceforge.net/​projects/​wimlib/​|wimlib]]''​ package.
  
 Download the drivers for your network card, and extract the driver to ''​C:​\temp\winpe\drivers''​. ​ If you are using the ADK then you will need to download a driver compatible with Windows 8; if you are using the AIK then you will need a driver compatible with Windows 7. Download the drivers for your network card, and extract the driver to ''​C:​\temp\winpe\drivers''​. ​ If you are using the ADK then you will need to download a driver compatible with Windows 8; if you are using the AIK then you will need a driver compatible with Windows 7.
howto/winpe.txt ยท Last modified: 2022/08/23 21:27 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.