Hi folks, I need to install 8 as the only OS on a box, but it needs to be on a drive other than C:, due to some legacy apps I need. I think I'm close to what I need, I made a autounattended.xml file, and put in on a usb stick. I booted from the 8 disk, and when I got to the 1st screen I hit F10 for a command prompt. I copied my xml file to the temporary X:, and ran the following command to start a new instance of setup.exe: "setup.exe /unattend:X:\sources\autounattend.xml". It goes through its thing and I get to the installation part where it begins to copy files, and then I get an error error that says "Setup was unable to create a new system partition or locate and existing system partition".
If I go into setup manually after this error, and go to where I pick a partition to install, I can see the partitions were created, and if I select the one I want, it gives the same error.
Here is the disk configuration part of the .xml file. It seems like I am missing something. Can anyone tell me if this is the correct way? You can see under the "<!-- Modify the Windows partition -->" the part that changes my letter: "<Letter>D</Letter>". Thanks for your help!
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition-->
<Order>1</Order>
<Type>Primary</Type>
<Size>350</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>
<Letter>D</Letter>
<Label>Windows</Label>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
If I go into setup manually after this error, and go to where I pick a partition to install, I can see the partitions were created, and if I select the one I want, it gives the same error.
Here is the disk configuration part of the .xml file. It seems like I am missing something. Can anyone tell me if this is the correct way? You can see under the "<!-- Modify the Windows partition -->" the part that changes my letter: "<Letter>D</Letter>". Thanks for your help!
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition-->
<Order>1</Order>
<Type>Primary</Type>
<Size>350</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>
<Letter>D</Letter>
<Label>Windows</Label>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
My Computer
System One
-
- OS
- Windows 7
- Computer type
- PC/Desktop