What's the mistake? - unattend.xml

C

Charlie Blank

Hi,

I was using the SIM-Tool to try to model a unattend.xml -
automatically wiping disk 0 - and let the setup create 2 partitions:

Disk 0:
- 1 active primary
- 1 logical in an extended space - using the remaining size for disk 0


Setup comes up with: "Couldn't extend a partition on disk 0....not
supported for this partition or volume". Error 0x80300024.

As I don't know the size of the harddisk before setup, I can'T specify
the size of the logical/extended partition.

What's wrong?

******

<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>18000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Extend>true</Extend>
<Type>Extended</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>3</Order>
<Extend>true</Extend>
<Type>Logical</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Format>NTFS</Format>
<Label>OS-x64</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Extend>true</Extend>
<Format>NTFS</Format>
<Label>dat</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<WillWipeDisk>true</WillWipeDisk>
<DiskID>0</DiskID>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
 
D

Darrell Gorter[MSFT]

Hello Charlie,
quick look at this,
Are you formatting the extended volume or the logical drive.
I would think you would format the logical drive, but the numbering appears
to be the extended drive
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
|>Date: Sun, 11 Mar 2007 17:32:07 +0100
|>From: Charlie Blank <[email protected]>
|>User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
|>MIME-Version: 1.0
|>Subject: What's the mistake? - unattend.xml
|>Content-Type: text/plain; charset=ISO-8859-15; format=flowed
|>Content-Transfer-Encoding: 7bit
|>Message-ID: <[email protected]>
|>Newsgroups: microsoft.public.windows.vista.installation_setup
|>NNTP-Posting-Host: hsi-kbw-085-216-029-079.hsi.kabelbw.de 85.216.29.79
|>Lines: 1
|>Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
|>Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.installation_setup:12127
|>X-Tomcat-NG: microsoft.public.windows.vista.installation_setup
|>
|>Hi,
|>
|> I was using the SIM-Tool to try to model a unattend.xml -
|>automatically wiping disk 0 - and let the setup create 2 partitions:
|>
|>Disk 0:
|> - 1 active primary
|> - 1 logical in an extended space - using the remaining size for disk 0
|>
|>
|>Setup comes up with: "Couldn't extend a partition on disk 0....not
|>supported for this partition or volume". Error 0x80300024.
|>
|>As I don't know the size of the harddisk before setup, I can'T specify
|>the size of the logical/extended partition.
|>
|>What's wrong?
|>
|>******
|>
|><DiskConfiguration>
|> <Disk wcm:action="add">
|> <CreatePartitions>
|> <CreatePartition wcm:action="add">
|> <Order>1</Order>
|> <Size>18000</Size>
|> <Type>Primary</Type>
|> </CreatePartition>
|> <CreatePartition wcm:action="add">
|> <Order>2</Order>
|> <Extend>true</Extend>
|> <Type>Extended</Type>
|> </CreatePartition>
|> <CreatePartition wcm:action="add">
|> <Order>3</Order>
|> <Extend>true</Extend>
|> <Type>Logical</Type>
|> </CreatePartition>
|> </CreatePartitions>
|> <ModifyPartitions>
|> <ModifyPartition wcm:action="add">
|> <Active>true</Active>
|> <Format>NTFS</Format>
|> <Label>OS-x64</Label>
|> <Letter>C</Letter>
|> <Order>1</Order>
|> <PartitionID>1</PartitionID>
|> </ModifyPartition>
|> <ModifyPartition wcm:action="add">
|> <Extend>true</Extend>
|> <Format>NTFS</Format>
|> <Label>dat</Label>
|> <Letter>D</Letter>
|> <Order>2</Order>
|> <PartitionID>2</PartitionID>
|> </ModifyPartition>
|> </ModifyPartitions>
|> <WillWipeDisk>true</WillWipeDisk>
|> <DiskID>0</DiskID>
|> </Disk>
|> <WillShowUI>OnError</WillShowUI>
|> </DiskConfiguration>
|>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top