I've been successful with windows server 2003 web and standard editions by following the tutorials here:
http://www.aerospace.../ris-howto.html
There aren't any problems I haven't solved with the help of this forum and other resources, and am happy with it.
I have followed the tutorial here for Server 2008:
http://sysadminman.net/blog/archives/8
I have created a windows PE image, and it does everything exactly as I want it to, with the exception of the exclusion of the ability to partition and format a disk using the unattended.xml file. To give you a run down, the only things I have done different than the instructions on the tutorial give are:
1) Fixed a few case-sensitive and path problems with the tutorial's setup and my own.
2) Added a mac.bat script and modified the startnet.cmd file. Here's the contents of each file:
\Windows\System32\startnet.cmd
winpeinit mac.bat
\Windows\System32\mac.bat
@echo on rem Here we have the initial ipconfiguration ipconfig /all rem We want to check every 5 seconds to see if we can ping the pxe server. rem If we can't, we want to wait another 5 seconds. rem I hate GOTOs. They suck. Pray this works. GOTO PXE :PING echo Waiting 5 seconds ping 1.1.1.1 -n 5 -w 1000 >NUL :PXE ping -n 1 pxe | FIND "TTL" >NUL IF ERRORLEVEL 1 GOTO PING rem Here is the ipconfig /all that we will be parsing. Pray it's correct. ipconfig /all ipconfig /all | FIND /I "Physical" > ip.txt FOR /F " tokens=11* delims=, " %%i in (ip.txt) DO SET mac=%%j ipconfig /all | FIND /I "Default Gateway" > gateway.txt FOR /F " tokens=12* delims=, " %%i in (gateway.txt) DO SET gateway=%%j ipconfig /all | FIND /I "DNS SERVERS" > dns.txt FOR /F " tokens=14* delims=, " %%i in (dns.txt) DO SET dns=%%j echo MAC: %mac% GATEWAY: %gateway% DNS: %dns% rem Are you still praying? You should be ping -n 1 %dns% ping -n 1 %gateway% ping -n 1 pxe rem This will work if you prayed hard enough. NET USE Y: \\pxe\reminst /Persistent:Yes Y: cd \images\win2k8_standard setup /unattend:\Boot\%mac%.xml
You need to know that the reminst share is rooted in /tftpboot/ which is my tftpd's root directory.
When I deploy a server, I already know what it's mac address is, so I can create the unattended xml file with the mac address as the name so each server gets it's own unattended script.
This should satisfy questions about my setup. Now the real problem is the XML code to create and format a partition is clearly documented, but does not work with my winpe.wim image. If I use WAIK to open the \sources\install.wim file from the cd, I can add the component 'x86_Microsoft-Windows-Setup_neutral' to my unattended file. Under that is 'DiskConfiguration' and so forth. When I use WAIK to open my winpe.wim image that I created using 'copype' I no longer have that component listed in my 'Windows Image' section. I also used the install.wim file from the cd to create an unattended xml file. When I load that xml file while I have the winpe.wim image loaded, the validation fails because it can't find the 'x86_Microsoft-Windows-Setup_neutral' component.
Everything else from my unattended.xml file works properly. When I boot from this image, all I have to do is partition and format the disk, and the rest completes perfectly. Why is the disk partitioner component missing from the winpe.wim image, and can I add it in?
This post has been edited by kai4785: 17 September 2008 - 04:40 PM



Help
Back to top








