Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
soc:2009:dverkamp:notes:windows_pe [2009/06/09 14:15] drv |
soc:2009:dverkamp:notes:windows_pe [2009/06/09 14:51] (current) drv |
||
|---|---|---|---|
| Line 64: | Line 64: | ||
| %BCDEDIT% -set {bootmgr} displayorder %GUID% | %BCDEDIT% -set {bootmgr} displayorder %GUID% | ||
| del /Q bcdedit.exe | del /Q bcdedit.exe | ||
| + | |||
| + | Note that these commands cannot be directly entered into a batch file due to the extra % substition in the for loop. (TODO: rewrite it so it works in a batch file) | ||
| == TFTP server setup == | == TFTP server setup == | ||
| Line 71: | Line 73: | ||
| Configure the TFTP server to allow backslash as a directory separator (as in [[:tftp_backslash]]). Ensure the TFTP server is restarted after the configuration change. | Configure the TFTP server to allow backslash as a directory separator (as in [[:tftp_backslash]]). Ensure the TFTP server is restarted after the configuration change. | ||
| - | Add a DHCPD configuration file fragment to serve the Windows PE loader: | + | Add a DHCPD configuration file fragment to boot the Windows PE loader from the TFTP server: |
| filename "\\Boot\\pxeboot.n12"; | filename "\\Boot\\pxeboot.n12"; | ||
| + | next-server tftp.server.ip.here; | ||
| Boot from gPXE as usual; after some time, the Windows PE command prompt should appear. | Boot from gPXE as usual; after some time, the Windows PE command prompt should appear. | ||