WAIK Unattend DiskConfiguration Issues

I am trying to create an unattend file on an image uploaded to a WDS server.  For some reason even though I specify to create 2 partitions on Disk 0 in the unattend answer file, it is creating a single partition on Disk 0 and 2 partitions on Disk 1. Disk 0 is a fixed size of 60GB.  I am allocating 100MB to the System Reserved partition and 59800MB to the Windows OS partition.  

 If you notice that the partitions on Disk 1 are offline this is because I have a SCSI emulated drive on a Hyper-V server.  This should not be a problem since I am trying to install the operating system on the IDE emulated Disk 0.

            <DiskConfiguration>
                <WillShowUI>OnError</WillShowUI>
                <Disk wcm:action="add">
                    <DiskID>0</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Order>1</Order>
                            <Type>Primary</Type>
                            <Size>100</Size>
                        </CreatePartition>
                        <CreatePartition wcm:action="add">
                            <Order>2</Order>
                            <Type>Primary</Type>
                            <Size>59900</Size>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                            <Active>true</Active>
                            <Format>NTFS</Format>
                            <Label>System Reserved</Label>
                        </ModifyPartition>
                        <ModifyPartition wcm:action="add">
                            <Order>2</Order>
                            <PartitionID>2</PartitionID>
                            <Format>NTFS</Format>
                            <Label>OS</Label>
                            <Letter>C</Letter>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
                <Disk wcm:action="add">
                    <DiskID>1</DiskID>
                    <WillWipeDisk>true</WillWipeDisk>
                    <CreatePartitions>
                        <CreatePartition wcm:action="add">
                            <Extend>true</Extend>
                            <Order>1</Order>
                            <Type>Primary</Type>
                        </CreatePartition>
                    </CreatePartitions>
                    <ModifyPartitions>
                        <ModifyPartition wcm:action="add">
                            <Order>1</Order>
                            <PartitionID>1</PartitionID>
                            <Format>NTFS</Format>
                            <Label>DATA</Label>
                            <Letter>D</Letter>
                        </ModifyPartition>
                    </ModifyPartitions>
                </Disk>
            </DiskConfiguration>
            <ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>2</PartitionID>
                    </InstallTo>
                </OSImage>
            </ImageInstall>

Open in new window


Windows PE screen after unattend
LVL 1
syn_tbarrAsked:
Who is Participating?
 
syn_tbarrAuthor Commented:
The issue was answered by Johan on another forum.  The WinPE pass on the WDS server is using a separate answer file that is across all images.  The image specific answer file will not be used during the WinPE pass therefore you cannot do image specific DiskConfigurations with WDS alone.
0
 
David Johnson, CD, MVPOwnerCommented:
When deploying an operating system to a new computer with multiple disks, the operating system may not deploy to the expected volume. As a workaround, configure the Format and Partition Disk step to set the DestinationLogicalDrive variable to the drive letter of the volume that should be targeted.

also check the info located at http://preview.tinyurl.com/yeolkws

you may want to only have 1 drive and load the second drive after the install is complete
0
 
syn_tbarrAuthor Commented:
Answered on Mark Minasi's forum.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.