This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto:winpe [2017/05/10 15:46] mcb30 |
howto:winpe [2017/05/10 15:48] 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 107: | Line 105: | ||
[LaunchApps] | [LaunchApps] | ||
- | "%SYSTEMDRIVE%\install.bat" | + | "install.bat" |
Copy ''install.bat'' and ''winpeshl.ini'' to your web server and edit your ''boot.ipxe'' script to load these files: | Copy ''install.bat'' and ''winpeshl.ini'' to your web server and edit your ''boot.ipxe'' script to load these files: | ||
Line 115: | Line 113: | ||
cpuid --ext 29 && set arch amd64 || set arch x86 | cpuid --ext 29 && set arch amd64 || set arch x86 | ||
kernel wimboot | kernel wimboot | ||
- | initrd ${arch}/ISO/boot/bcd BCD | + | initrd install.bat install.bat |
- | initrd ${arch}/ISO/boot/boot.sdi boot.sdi | + | initrd winpeshl.ini winpeshl.ini |
- | initrd -n boot.wim ${arch}/winpe.wim boot.wim | + | initrd ${arch}/media/Boot/BCD BCD |
+ | initrd ${arch}/media/Boot/boot.sdi boot.sdi | ||
+ | initrd ${arch}/media/sources/boot.wim boot.wim | ||
boot | boot | ||
- | + | When you boot into Windows PE, it should now automatically connect to your file server and run the Windows installer. | |
- | Use ''ImageX'' to add these files to the Windows PE image: | + | |
- | + | ||
- | imagex /mountrw C:\temp\winpe\amd64\media\sources\boot.wim 1 C:\temp\winpe\amd64\mount | + | |
- | copy /y install.bat C:\temp\winpe\amd64\mount\ | + | |
- | copy /y winpeshl.ini C:\temp\winpe\amd64\mount\Windows\System32\ | + | |
- | imagex /unmount /commit C:\temp\winpe\amd64\mount | + | |
- | + | ||
- | Copy the updated ''boot.wim'' file to your web server. When you boot into Windows PE, it should now automatically connect to your file server and run the Windows installer. | + | |
{{ :clipart:nic.jpeg?158x148|A network card}} | {{ :clipart:nic.jpeg?158x148|A network card}} |