2017-06-21, 10:12
Hi,
I am trying to install WIN12kR2 OS with iPXE scripted install, I want to start the OS install automatically with install.bat and winpeshl.ini files. Those files are loaded successfully. But it halts at winpeinit screen. Below is my menu.ipxe content. But when I include those two files (install.bat and winpeshl.ini) in boot.wim instead of sourcing via initrd option it works perfectly.
:win2k12r2
echo Installing Win2012 R2 ${arch} Server
set base-url ${http-url}/win/winpe/${arch}/media
kernel ${boot-url}win12/wimboot
initrd ${http-url}/install.bat install.bat
initrd ${http-url}/winpeshl.ini winpeshl.ini
initrd ${base-url}/sources/boot.wim boot.wim
initrd ${base-url}/bootmgr bootmgr
initrd ${base-url}/Boot/BCD BCD
initrd ${base-url}/Boot/boot.sdi boot.sdi
initrd ${base-url}/Boot/Fonts/wgl4_boot.ttf wgl4_boot.ttf
echo Booting
imgstat
boot || goto failed
---- install.bat contents -----
wpeinit
net use \\10.235.0.12\share\installers /user:root pass123
\\10.235.0.12\share\installers\WIN12KR2\setup.exe /unattend:\\10.235.0.12\share\unattend.xml
---- winpeshl.init contents -----
[LaunchApps]
"%SYSTEMDRIVE%\install.bat"
-----------------------------------
I am trying to install WIN12kR2 OS with iPXE scripted install, I want to start the OS install automatically with install.bat and winpeshl.ini files. Those files are loaded successfully. But it halts at winpeinit screen. Below is my menu.ipxe content. But when I include those two files (install.bat and winpeshl.ini) in boot.wim instead of sourcing via initrd option it works perfectly.
:win2k12r2
echo Installing Win2012 R2 ${arch} Server
set base-url ${http-url}/win/winpe/${arch}/media
kernel ${boot-url}win12/wimboot
initrd ${http-url}/install.bat install.bat
initrd ${http-url}/winpeshl.ini winpeshl.ini
initrd ${base-url}/sources/boot.wim boot.wim
initrd ${base-url}/bootmgr bootmgr
initrd ${base-url}/Boot/BCD BCD
initrd ${base-url}/Boot/boot.sdi boot.sdi
initrd ${base-url}/Boot/Fonts/wgl4_boot.ttf wgl4_boot.ttf
echo Booting
imgstat
boot || goto failed
---- install.bat contents -----
wpeinit
net use \\10.235.0.12\share\installers /user:root pass123
\\10.235.0.12\share\installers\WIN12KR2\setup.exe /unattend:\\10.235.0.12\share\unattend.xml
---- winpeshl.init contents -----
[LaunchApps]
"%SYSTEMDRIVE%\install.bat"
-----------------------------------