Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
swain90

Setup was unable to create a new system partition

Recommended Posts

Hi All,

 

I encountered an issue with my AutoUnattend.xml file when booting from a USB Stick the other day, this was the error "Setup was unable to create a new system partition".

 

Below is a copy of my script, is there anything in there which could be causing the problem. Note- this has only happened on one machine so far, others have been OK but they're not 100% identical.

 

<?xml version="1.0" encoding="utf-8"?>
<!--This answer file generated by RT Seven Lite-->
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SetupUILanguage>
        <UILanguage>en-US</UILanguage>
      </SetupUILanguage>
      <InputLocale>0809:00000809</InputLocale>
      <UserLocale>en-GB</UserLocale>
      <UILanguage>en-US</UILanguage>
      <SystemLocale>en-US</SystemLocale>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<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>
			<Letter>Z</Letter>
         </ModifyPartition>
<!-- Modify the Windows partition -->
         <ModifyPartition>
            <Order>2</Order>
            <PartitionID>2</PartitionID>
            <Format>NTFS</Format>
            <Label>Windows</Label>
			<Letter>C</Letter>
         </ModifyPartition>
      </ModifyPartitions>
   </Disk>
      <Disk>
      <DiskID>1</DiskID>
      <WillWipeDisk>true</WillWipeDisk>
      <CreatePartitions>
<!-- Use Whole Disk -->
         <CreatePartition>
            <Order>1</Order>
            <Type>Primary</Type>
            <Extend>true</Extend>
         </CreatePartition>
      </CreatePartitions>
      <ModifyPartitions>
<!-- Modify the Windows partition -->
         <ModifyPartition>
            <Order>1</Order>
            <PartitionID>1</PartitionID>
            <Format>NTFS</Format>
            <Label>LOGGING</Label>
			<Letter>D</Letter>
         </ModifyPartition>
      </ModifyPartitions>
   </Disk>
   <Disk>
      <DiskID>2</DiskID>
      <WillWipeDisk>true</WillWipeDisk>
      <CreatePartitions>
<!-- Use Whole Disk -->
         <CreatePartition>
            <Order>1</Order>
            <Type>Primary</Type>
            <Extend>true</Extend>
         </CreatePartition>
      </CreatePartitions>
      <ModifyPartitions>
<!-- Modify the Windows partition -->
         <ModifyPartition>
            <Order>1</Order>
            <PartitionID>1</PartitionID>
            <Format>NTFS</Format>
            <Label>DB</Label>
			<Letter>E</Letter>
         </ModifyPartition>
      </ModifyPartitions>
   </Disk>
</DiskConfiguration>
      <ImageInstall>
        <OSImage>
          <InstallFrom>
            <MetaData wcm:action="add">
              <Key>/IMAGE/NAME</Key>
			  <Value>Windows Server 2008 R2 SERVERSTANDARD</Value>
            </MetaData>
          </InstallFrom>
          <InstallTo>
            <DiskID>0</DiskID>
            <PartitionID>2</PartitionID>
          </InstallTo>
          <InstallToAvailablePartition>false</InstallToAvailablePartition>
          <WillShowUI>OnError</WillShowUI>
        </OSImage>
      </ImageInstall>
      <UserData>
        <ProductKey>
          <Key>HMG6P-C7VGP-47GJ9-TWBD4-2YYCD</Key>
          <WillShowUI>OnError</WillShowUI>
        </ProductKey>
        <Organization>Company</Organization>
        <FullName>System</FullName>
        <AcceptEula>true</AcceptEula>
      </UserData>
    </component>
  </settings>
  <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <FirstLogonCommands>
		 		 <SynchronousCommand wcm:action="add">
          <Order>1</Order>
          <Description>Extract Drivers</Description>
          <CommandLine>%systemdrive%\Install\Extract.bat</CommandLine>
        </SynchronousCommand>
		 <SynchronousCommand wcm:action="add">
          <Order>2</Order>
          <Description>Install Graphics Driver</Description>
          <CommandLine>%systemdrive%\Install\GFX\Install.bat</CommandLine>
        </SynchronousCommand>
				 <SynchronousCommand wcm:action="add">
          <Order>3</Order>
          <Description>Install Intel Management Engine</Description>
          <CommandLine>%systemdrive%\Install\IntelME\Install.bat</CommandLine>
        </SynchronousCommand>
		 <SynchronousCommand wcm:action="add">
          <Order>4</Order>
          <Description>Change Security Policy</Description>
          <CommandLine>%systemdrive%\Install\SecPol.bat</CommandLine>
        </SynchronousCommand>
		<SynchronousCommand wcm:action="add">
          <Order>5</Order>
          <Description>Final Configuration</Description>
          <CommandLine>%systemdrive%\Install\UnattendedConfig.exe</CommandLine>
        </SynchronousCommand>
		  <SynchronousCommand wcm:action="add">
          <Order>6</Order>
          <Description>Remove System Drive Letter</Description>
          <CommandLine>%systemdrive%\Install\Cleanup.bat</CommandLine>
        </SynchronousCommand>
      </FirstLogonCommands>
	  <UserAccounts>
        <AdministratorPassword>
          <Value>Password1</Value>
		  <PlainText>true</PlainText>
        </AdministratorPassword>
      </UserAccounts>
      <AutoLogon>
        <Password>
          <Value>Password1</Value>
		  <PlainText>true</PlainText>
        </Password>
        <Enabled>true</Enabled>
        <!--<LogonCount>3</LogonCount>-->
        <Username>Administrator</Username>
      </AutoLogon>
      <OOBE>
        <NetworkLocation>Work</NetworkLocation>
        <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
        <SkipMachineOOBE>true</SkipMachineOOBE>
        <SkipUserOOBE>false</SkipUserOOBE>
      </OOBE>
      <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
      <TimeZone>GMT Standard Time</TimeZone>
    </component>
  </settings>
  <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ComputerName>SSER</ComputerName>
    </component>
    <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SkipAutoActivation>true</SkipAutoActivation>
    </component>
  </settings>
</unattend>

 

Share this post


Link to post
Share on other sites

My first thought is that you booted the USB stick in EFI mode.

But that is only a guess. You'll need to view the log file on the ramdisk after this happens to see if there is any more info. When you get the error, you can press Shift+F10 to get the CMD.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×