To create a partition:
1. At a command prompt, type: diskpart
2. At the DISKPART prompt, type list disk (Note the drive number you wish to
manipulate.)
3. At the DISKPART prompt, type: select disk 0 (This selects disk to edit; make
sure to type in the disk number from step two.)
4. At the DISKPART prompt, type create partition primary size=10000 (The size
parameter refers to the size in megabytes. In this case, 10000 equals 10 GB.
Change the word primary to extended to create an extended partition. If you do
not set a size, then all available space on the disk will be used for the partition.)
5. At the DISKPART prompt, type assign letter=D (Choose an unused drive letter.)
6. At the DISKPART prompt, type exit
7. From the command prompt, use the format command, or the Disk Management
utility in Windows or any disk format tool to format the drive. You would typically
use the NTFS file system during the initialization process.
To extend a partition:
1. Verify that contiguous free space is available on the same drive and that free
space is next to the partition you intend to extend with no partitions in between.
Be sure you have a full backup before trying this method.
2. At a command prompt, type diskpart
3. At the DISKPART prompt, type select disk 0 (Selects the disk.)
4. At the DISKPART prompt, type select volume 0 (Selects the volume.)
5. At the DISKPART prompt, type extend (If you do not set a size, then diskpart will
use all available space on the disk.)
6. At the DISKPART prompt, type exit
To delete a partition:
1. At a command prompt, type diskpart
2. At the DISKPART prompt, type select disk 0 (Selects the disk.)
3. At the DISKPART prompt, type list partition
4. At the DISKPART prompt, type select partition 4 (Selects the partition.)
5. At the DISKPART prompt, type delete partition
6. At the DISKPART prompt, type exit