Type (Standard 8 Module Reference)

7/8/2014

Review the applicable Embedded Core modules and any examples for the Type setting in Windows Embedded 8 Standard (Standard 8).

This setting specifies the type of partition to create.

Do not create an empty value for this setting.

The following table shows the possible values.

Value

Description

Primary

Creates a primary partition type.

A standard master boot record (MBR)-based hard disk can contain up to four primary partitions or three primary partitions and one extended partition. The extended partition can include additional logical drives.

A GUID partition table (GPT)-based hard disk can contain up to 128 primary partitions.

Standard 8 must be installed on either a primary or a logical partition.

EFI

Creates an extensible firmware interface (EFI) partition type.

The EFI partition type configures the partition as an EFI system partition.

A single EFI system partition is required to use GPT-based disks, regardless of how many GPT-based disks exist on a system. If you attempt to create an EFI partition type on a MBR-based disk, installation is terminated.

Having more than one EFI system partition on a system consumes additional space and may create problems for end-users. For unattended installations, we recommend that you use the WillWipeDisk setting to erase all partitions on the disk before installation. In attended installations, Windows Embedded 8 Standard (Standard 8) Setup warns you that an EFI system partition already exists on the hard disk.

Extended

Specifies that the partition is an extended partition.

An extended partition can be created only on MBR-based disks.

Only one extended partition can exist on a single disk. If an extended partition already exists on the disk, a second extended partition is not created.

Extended partitions are useful if you intend to create more than four volumes on a basic MBR disk. Unlike primary partitions, you do not format an extended partition with a file system. Instead, you create one or more logical drives within the extended partition.

Logical

Specifies that the partition is a logical partition.

Standard 8 must be installed on either a primary or a logical partition.

A logical partition is a volume that is created inside an extended partition on a basic MBR-based disk.

Logical partitions are similar to primary partitions. However, while only four primary partitions can exist on a single disk, the number of logical partitions that can exist on a disk is unlimited. A logical partition can be formatted and assigned a drive letter.

A logical partition must be created inside an extended partition. If an extended partition does not already exist on the disk or the specified size of the logical drive exceeds the extended partition, no partition is created.

MSR

Specifies that the partition is a Microsoft reserved (MSR) partition.

The MSR partition type is a required partition for GPT-based disks.

The size of the MSR partition varies. For GPT disks that are smaller than 16 GB, the size of the MSR partition is 32 MB. For disks larger than 16 GB, the MSR partition is 128 MB.

If an MSR partition already exists on the same disk, or the format of the disk is MBR, no partition is created.

If an EFI system partition is not detected or an MSR partition does not exist on each GPT disk in the system, no GPT-related disk configurations can be created.

Note

To use another type of partition, set the partition to Primary, and then modify the partition by setting Setup/DiskConfiguration/Disk/ModifyPartitions/ModifyPartition/TypeID.

Modules

The following table shows the modules that you can apply this setting to. In Image Configuration Editor (ICE), you can follow the corresponding path to set this setting for a module.

Module

Path

Setup

Products/Embedded Core/Setup/DiskConfiguration/Disk/CreatePartitions/CreatePartition/Type

XML Example

The following XML example for the DiskConfiguration setting shows how to create two partitions on a hard drive on a BIOS/MBR-based system.

<DiskConfiguration>
    <Disk wcm:action="add">
        <DiskID>0</DiskID> 
        <WillWipeDisk>true</WillWipeDisk> 
        <CreatePartitions>

            <!-- System partition -->
            <CreatePartition wcm:action="add">
                <Order>1</Order> 
                <Type>Primary</Type> 
                <Size>300</Size> 
            </CreatePartition>

            <!-- Windows Embedded partition -->
            <CreatePartition wcm:action="add">
                <Order>2</Order> 
                <Type>Primary</Type> 
                <Extend>true</Extend> 
            </CreatePartition>
        </CreatePartitions>
    </Disk>
    <WillShowUI>OnError</WillShowUI> 
</DiskConfiguration>

See Also

Concepts

Embedded Core Settings