Jump to content

Recommended Posts

Posted

Hey everyone,

i am having problems with the disk configuration section,

im just not sure where i went wrong, if someone can see what is wrong that would be awesome!

thanks in advanced


Posted (edited)

You can try to change the values inside your Autounattend.xml file like this:


<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition wcm:action="add">
<!-- 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 wcm:action="add">
<Order>2</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition-->
<ModifyPartition wcm:action="modify">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>System</Label>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition wcm:action="modify">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
<Disk wcm:action="add">
<DiskID>1</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<!-- Create a data partition and fill the rest of the hard disk -->
<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition-->
<ModifyPartition wcm:action="modify">
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>E</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>

*Edit: It's needed to take care with these setttings and check the HDD order sequence inside the BIOS first!

Edited by myselfidem
Posted (edited)

You need also to add:


<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 PROFESSIONAL</Value>
</MetaData>
</InstallFrom>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<WillShowUI>OnError</WillShowUI>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
</OSImage>
</ImageInstall>

You can also remove the last line, or change manually the correct path:


<cpi:offlineImage cpi:source="wim:c:/users/jake.hardy/desktop/en_windows_7_professional_x64_dvd_x15-65805(1)/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

Example mine :


<cpi:offlineImage cpi:source="wim:c:/Win7_SP1/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

To avoid errors check your file with WSIM.

Edited by myselfidem
Posted (edited)

i see where i went wrong, the pagefile i choose its for windows pe not windows

i should also say thank you for your help guys!

Edited by kenpachizero
Posted (edited)

Yes that was an easy one. Most the time you have to look at setupact.log or in one of the sub folders if it makes it into actually installing. I've had errors in setuperr.log that are not the actual error and mean nothing

Edited by maxXPsoft

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...