Create Multiple Partitions on a Device

Cc526838.chm_head_left(en-us,TechNet.10).gif Cc526838.chm_head_middle(en-us,TechNet.10).gif Cc526838.chm_head_right(en-us,TechNet.10).gif

Create Multiple Partitions on a Device

The default templates and samples that are included with Automated Deployment Services (ADS) can create only one partition on a target device. When you deploy an image to a computer using ADS, you may want to create more than one partition in certain scenarios. For example, you may want to install the operating system on drive C and store program data on drive D.

Steps for creating multiple partitions are described in "HOW TO: Create Multiple Partitions by Using the Bmpart.exe Tool in Automated Deployment Services" in Microsoft Knowledge Base Article - 821303.

Display OEM Partition Types

OEM partition types can be displayed using the Bmpart.exe tool within a Deployment Agent task sequence. Use the -g option to have Bmpart return the partition information. The partition type value may vary by OEM.

Following are some common definitions for partition types:

  • 0x12 // EISA partition (Compaq)
  • 0x84 // Hibernation partition for laptops
  • 0xA0 // Diagnostic partition on some Hewlett-Packard (HP) notebooks
  • 0xDE // Dell partition
  • 0xFE // IBM IML partition

The following is a sample OEM utility partition deployment sequence. The first task creates the OEM partition. <pre IsFakePre="true" xmlns=""> &lt;task description="Create Util partition" doesReboot="false"&gt; &lt;command&gt;/BMONITOR/bmpart.exe&lt;/command&gt; &lt;parameters&gt; &lt;parameter&gt;\device\harddisk0&lt;/parameter&gt; &lt;parameter&gt;-init&lt;/parameter&gt; &lt;parameter&gt;"-t:0x12"&lt;/parameter&gt; &lt;parameter&gt;-c:35&lt;/parameter&gt; &lt;parameter&gt;-a&lt;/parameter&gt; &lt;/parameters&gt; &lt;/task&gt; </pre>

The second part downloads the partition. <pre IsFakePre="true" xmlns=""> &lt;task description="Download Utility image" doesReboot="false"&gt; &lt;command&gt;/IMAGING/imgbmdeploy.exe&lt;/command&gt; &lt;parameters&gt; &lt;parameter&gt;"cpqutil-35mb"&lt;/parameter&gt; &lt;parameter&gt;\device\harddisk0\partition1&lt;/parameter&gt; &lt;parameter&gt;-r&lt;/parameter&gt; &lt;parameter&gt;-client&lt;/parameter&gt; &lt;/parameters&gt; &lt;/task&gt; </pre>