Use the partition mode command to activate (make bootable), add, or delete a partition on the device.
You can activate, add, or delete a partition by using either ZENworks Imaging Engine menu or the imaging maintenance mode prompt.
For more information, review the following sections:
Enter img to display the ZENworks Imaging Engine menu, then click .
Click
to open the Partition Wizard.Select a partition.
Select an option:
Active: Select a partition that you want to activate (make bootable), then click
.Add: Opens the Create New Partition window. Click a partition type, partition size, and cluster size, then click
.Delete: Select a partition, then click
.When finished, click
.For more information, see the table in Section E.6.2, Using the Imaging Maintenance Mode Prompt to Partition.
You can use the following partition mode commands at the imaging maintenance mode prompt:
For more information, see:
img -pa partition_number
img -pc partition_number -type=type [-size=size] [-cluster=cluster_size]
img -pc partition_number -type=type [-size=size] [-cluster=cluster_size] guid=guid
img -pd partition_number
img -pd -all
Table E-12 Partition Mode Commands and Parameters
Operation |
Action |
---|---|
-pc partition_number type [size] [cluster=clusterSize] |
Creates a new partition, where:
The new partition is recognizable by other operating systems, but must be formatted or have a base image restored to it before you can store files in it. |
-pd partition_number |
Deletes the partition from slot number partition_number. Use img dump to get the slot number. |
-pd -all |
Deletes all non-protected partitions. |
-pa partition_number |
Activates (make bootable) the partition in slot number partition_number. Use img dump to get the slot number. |
Table E-13 Partition Mode Examples
Example |
Explanation |
---|---|
|
Creates the ext2 partition in slot 1 using all of the available unpartitioned space on the drive. |
img -pc 5 -type=reiser -size=5671 |
Creates a Reiser partition in slot 5 using 5,671 MB on the drive. |
img ‑pd 3 or img -pd3 |
Deletes the partition from slot 3. |
img -pc 2 -type=extended -size=2500 img -pc 2 -type=reiser -size=500 |
Creates an extended partition with a 2500 ext2 logical drive and a 500 MB Reiser logical drive. |
img -pa 1 or img -pa1 |
Creates a active partition in slot 1. |