Hi,
Im testing a WDS deployment of a WIndows 8 image with an unattended file. Im performing the test using a VM in Hyper-v (Gen 2). I configured the WDSUnattended to modify/format the partition to which the image needs to be installed. Im getting an error (see
below). Apparently, it cant modify partition if the disk type isn't BIOS/MBR. Is this true? Im pushing the image to a VM from which it was captured in the first place. I basically created a VM with a blank vhdx, and installed Windows 8 to the unallocated 127Gb
drive. I then syspreped it and captured it. The point i dont get is, why doesn't it just modify partition 4 (see screenshot below), in the same way it would work if i did it manually. Is wiping the disk (<WillWipeDisk>true</WillWipeDisk>) my only
option. My challenge is that i need to duplicate this on new Dell boxed which came preloaded with (the OEM of Windows 8, and) the recovery partition, i wouldn't mind keeping the partition.
2015-10-20 17:27:31, Error [0x0606cc] IBS <DiskConfiguration>: Error converting ModifyPartition setting's MBR typeid string for disk 0 partition 4[gle=0x00000057]
2015-10-20 17:27:31, Error [0x0606cc] IBS <DiskConfiguration>: disk operation callback failed while parsing unattend file; hr = 0x80004005
2015-10-20 17:27:31, Error [0x0606cc] IBS <DiskConfiguration>: the unattend file contains invalid data (see the disk entry with index 0)
2015-10-20 17:27:31, Error [0x0606cc] IBS UnattendProcessDiskConfigInfo: An internal error occurred while parsing unattend disk configuration; hr = 0x80004005
2015-10-20 17:27:31, Error [0x0603d0] IBS CallBack_DiskConfiguration_ParseUnattend: There was an error parsing the unattend.xml's DiskConfiguration setting; hr = 0x80004005
Here is my DiskConfig section from my unattended file
<DiskConfiguration>
<Disk wcm:action="add">
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>4</PartitionID>
<TypeID></TypeID>
</ModifyPartition>
</ModifyPartitions>
<WillWipeDisk>false</WillWipeDisk>
<DiskID>0</DiskID>
</Disk>
</DiskConfiguration>
Disk Config of VM im trying to image
Also, if would go ahead just wipe the disk, would the following config be valid for a GPT disk (it didnt work for me)?
<DiskConfiguration>
<Disk wcm:action="add">
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>OS</Label>
<Letter>C</Letter>
<Order>3</Order>
<PartitionID>3</PartitionID>
<TypeID></TypeID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<PartitionID>1</PartitionID>
<Format>FAT32</Format>
<Label>System</Label>
<Order>1</Order>
</ModifyPartition>
</ModifyPartitions>
<WillWipeDisk>true</WillWipeDisk>
<DiskID>0</DiskID>
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>100</Size>
<Type>EFI</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>MSR</Type>
<Size>128</Size>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>3</Order>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
</Disk>
</DiskConfiguration>