I'm currently deploying Windows XP (don't ask why) across a corporate environment and have a requirement to partition the disk during the unattended build. the disk must contain two partitions:
- C: will store the OS and should fill the remainder of the disk
- D: will be a partition for user data and should be 20GB
Diskpart is being used to prepare the disk for OS installation. WinPE appears to be assigning the DVD-ROM drive the letter D.
Firstly, I'm executing diskpart with the following command to re-assign the letter given to the DVD-ROM drive:
Select volume 0
assign letter=e
This appears to work as intended. Viewing the various volumes using Diskpart shows the DVD-ROM drive to be E:
The next diskpart script aims to create the two partitions mentioned above. Below are the commands I'm currently using:
select disk 0
clean
create partition primary size=20480
select partition 1
assign letter="D"
create partition primary
select partition 2
assign letter="C"
active
exit
The above command executes correctly but Windows XP fails to load. However when telling diskpart to create a single C: partition the OS loads fine. The image was captured using ImageX and was configured to only capture the contents of C. Because of this I do not believe the issue is in anyway related to how the image was captured.
Thanks in advance for any guidance offered.