Disk Configuration multiple partitions in unattend.xml

S

Shajas

Guest
Dear All,
I m using Windows SIM to create unattend.xml
which can create primary windows partition where to deploy windows image.
I have a 500 GB HDD where i want to create C drive as 120 GB and rest will fill automatically fill D drive. How to achieve this using create partition with xml file? I may use the same xml file to create partitions on 640 GB HDDs also, the same way (C drive 120 GB, and rest will be D Drive )
Regards,
Shajas
I m using the following XML to do with C drive. I want to add D Drive too.
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition-->
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<!-- Create the Windows partition and fill the rest of the hard disk -->
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition-->
<ModifyPartition>
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>System</Label>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition>
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Label>Windows</Label>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>

Continue reading...
 
Back
Top