locked
how to create & modify partition? RRS feed

  • Question

  • Hello everyone!

         I am a beginner of WES7, I want to create 4 partitons on a 16G CF card,  the size of each partiton is 4G /4G/ 2G/ 6G , and the label of each partition is OS/ Programe/ Storage1/ Storage2, what should I set in ICE, I try many times but failed, please tell me "createpartition and modifypartition every option's meaning" (the help of WES7 isnot clear)Thanks a lot.


    Sunday, May 22, 2011 3:10 AM

All replies

  • Hi,

    In SetUp-> DiskConfiguration , Right click and click "Insert New Disk"

    Give Disk ID = 0 or 1 (Based on whichever disk id u want)

    WillWipeDisk = true (This will clean the harddisk and all data will be lost)

    Right click on CreatePartitions and click on "Insert New CreatePartiton" (Do this 5 times as you need 4 drives and one for extended)

    1) CreatePartition -> Action = AddlistItem

      -> Order = 1

      -> Type = Primary

      -> Size = 4096 (4GB)

      -> Extend = false

    2) CreatePartition -> Action = AddlistItem

      -> Order = 2

      -> Type = Extended

      -> Extend = true 

     

    3) CreatePartition -> Action = AddlistItem

      -> Order = 3

      -> Type = Logical

      -> Size = 4096 (4GB)

      -> Extend = false

     

    4) CreatePartition -> Action = AddlistItem

      -> Order = 4

      -> Type = Logical

      -> Size = 2048 (2GB)

      -> Extend = false

     

    5) CreatePartition -> Action = AddlistItem

      -> Order = 5

      -> Type = Logical

      -> Size = 6144 (6GB)

      -> Extend = false

     

     

     

    Right click on ModifyPartitions and click on "Insert New ModifyPartition" (Do this 4 times as you need 4 drives to be modified)

    1) ModifyPartition -> Action =AddListItem

      -> Order = 1

      -> PartitionID = 1

      -> Label = OS

      -> Format = ntfs

      -> Active = true

    2) ModifyPartition -> Action =AddListItem

      -> Order = 2

      -> PartitionID = 2

      -> Label = Programe

      -> Format = ntfs

    3) ModifyPartition -> Action =AddListItem

      -> Order = 3

      -> PartitionID = 3

      -> Label = Programe

      -> Format = ntfs

    4) ModifyPartition -> Action =AddListItem

      -> Order = 4

      -> PartitionID = 4

      -> Label = Storage2

      -> Format = ntfs

     

    Hope this helps :) 

    Wednesday, June 8, 2011 8:31 AM
  • Here is another example:

    The following xml (taken from a working answer file) cleans the existing hard drive and creates two new partitions:
    - C drive, Disk 0, Partition 1, 200 GB, Primary

    - D drive, Disk 0, Partition 2, 800 GB, Logical

                <DiskConfiguration>

                    <Disk wcm:action="add">

                        <CreatePartitions>

                            <CreatePartition wcm:action="add">

                                <Type>Primary</Type>

                                <Order>1</Order>

                                <Size>200000</Size>

                            </CreatePartition>

                            <CreatePartition wcm:action="add">

                                <Order>2</Order>

                                <Type>Extended</Type>

                                <Extend>true</Extend>

                            </CreatePartition>

                            <CreatePartition wcm:action="add">

                                <Order>3</Order>

                                <Type>Logical</Type>

                                <Extend>true</Extend>

                            </CreatePartition>

                        </CreatePartitions>

                        <ModifyPartitions>

                            <ModifyPartition wcm:action="add">

                                <Order>1</Order>

                                <PartitionID>1</PartitionID>

                                <Label>WINDOWS</Label>

                                <Letter>C</Letter>

                                <Format>NTFS</Format>

                                <Active>true</Active>

                            </ModifyPartition>

                            <ModifyPartition wcm:action="add">

                                <Order>2</Order>

                                <PartitionID>2</PartitionID>

                                <Label>USERDATA</Label>

                                <Letter>D</Letter>

                                <Format>NTFS</Format>

                            </ModifyPartition>

                        </ModifyPartitions>

                        <DiskID>0</DiskID>

                        <WillWipeDisk>true</WillWipeDisk>

                    </Disk>

                    <WillShowUI>OnError</WillShowUI>

                </DiskConfiguration>

    Thursday, June 9, 2011 9:04 PM