Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

[Resolved] Need help for DiskConfiguration

- - - - -

  • Please log in to reply
6 replies to this topic

#1
ctpm

ctpm
  • Member
  • 3 posts
Sorry for my English, I'm from France.
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="windowsPE">        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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>fr-fr</UILanguage>            </SetupUILanguage>            <InputLocale>fr-fr</InputLocale>            <SystemLocale>fr-fr</SystemLocale>            <UILanguage>fr-fr</UILanguage>            <UILanguageFallback>fr-fr</UILanguageFallback>            <UserLocale>fr-fr</UserLocale>        </component>        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            [color="#FF0000"]<DiskConfiguration>                <Disk wcm:action="add">                    <CreatePartitions>                        <CreatePartition wcm:action="add">                            <Extend>true</Extend>                            <Order>1</Order>                            <Type>Primary</Type>                        </CreatePartition>                    </CreatePartitions>                    <ModifyPartitions>                        <ModifyPartition wcm:action="modify">                            <Active>true</Active>                            <Extend>false</Extend>                            <Format>NTFS</Format>                            <Label>SYSTEM</Label>                            <Letter>C</Letter>                            <Order>1</Order>                            <PartitionID>1</PartitionID>                        </ModifyPartition>                    </ModifyPartitions>                    <DiskID>0</DiskID>                    <WillWipeDisk>true</WillWipeDisk>                </Disk>                <WillShowUI>OnError</WillShowUI>            </DiskConfiguration>[/color]            <Display>                <ColorDepth>32</ColorDepth>                <VerticalResolution>768</VerticalResolution>                <HorizontalResolution>1024</HorizontalResolution>            </Display>            <WindowsDeploymentServices>                <ImageSelection>                    <InstallTo>                        <DiskID>0</DiskID>                        <PartitionID>1</PartitionID>                    </InstallTo>                </ImageSelection>                <Login>                    <Credentials>                        <Domain>******</Domain>                        <Password>*****</Password>                        <Username>exp1</Username>                    </Credentials>                </Login>            </WindowsDeploymentServices>        </component>    </settings>    <cpi:offlineImage cpi:source="catalog:c:/wiim save/install_windows vista ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>

Here is my unattend file (applicated to the WDS server).
Actually it only works with one partition, but I can't use it for 2 two partitions.
I have a 40 Go disk, so I want to have a system partition (20Go) and a Data partition which use the rest of the space. What configuration shlou have to use on WSIM or directly onto my unattend file?

Another question : is that true that Vista can only be installed in a partition which size is half size of a disk? So if i have a 400 Go sized disk, my system partition should do 200 Go?

Edited by ctpm, 24 January 2008 - 08:02 AM.



How to remove advertisement from MSFN

#2
JononE

JononE

    Newbie

  • Member
  • 16 posts
:thumbup

Here you go!

Just add this too your XML file, hopefully this should work.

The Fist partition is called 'System' and is 20Gb, the second partition is extended to the rest of the drive and is called 'Data', so you can modify the name if you wish. As for Vista's main system drive has to be at least half the overall size of the drive ? I don't think so.

I setup the partion so the C: drive is 35Gb and the second partition fills the rest of the drive, and we use a 160Gb drive without a problem.

 
<DiskConfiguration>
<Disk wcm:action="add">
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>System</Label>
<Letter>C</Letter>
<Order>1</Order>
<PartitionID>1</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Extend>false</Extend>
<Format>NTFS</Format>
<Label>Data</Label>
<Letter>D</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
</ModifyPartitions>
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>20000</Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order>3</Order>
<Type>Logical</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Extend>true</Extend>
<Type>Extended</Type>
</CreatePartition>
</CreatePartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>


#3
ctpm

ctpm
  • Member
  • 3 posts
<ModifyPartition wcm:action="add">
Shouldn't I specify action="modify" ?

#4
JononE

JononE

    Newbie

  • Member
  • 16 posts
That was ripped straight out of my working XML file, try it first just to see what happens.

#5
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,763 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Mine is almost as above & works flawlessly.

#6
ctpm

ctpm
  • Member
  • 3 posts
Ok it works, thanks ^^

#7
Zimeur

Zimeur
  • Member
  • 1 posts
men you save me !!!
Thanks to you I can do what I want with my partitions now !

thanks a lot :thumbup

et merci à toi ctpm d'avoir poser ta question ^^ yess !




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN