Now we will step by step through the configuration process, the command prompt, and how to create an extended partition using the
Windows Disk Management snap-in.
Step 1. Make sure there is an unallocated space.
We open the Disk Management console, where we look for unallocated space on the disk where the extended partition will be created. As an example, both Disk 0 and Disk 1 have unallocated space as follows.
As can be seen from the picture above, there is no need to create an expanded partition on Disk 0 manually, Disk 0 has three main partitions, and the fourth part is created automatically as an extended partition. So we will create a partition on Disk 1.
Step 2. Open the command prompt and run the
diskpart utility. The command prompt must be run with administrator privilege. Let’s right-click and select Run as administrator.
At the command prompt, type
diskpart , and press enter. Note that the information system will change as shown in the image below.
Step 3. Selecting the disk
Now run the command We select the X disk, where X is the disk number to be created extended partition. As explained in the first step, in this example the extended partition will be created on Disk 1, and the command in this example will appear in the picture below:
We note that Windows will respond to this command with the confirmation of disk selection.
Step 4. Creating an extended partition
Can be created with expanded partition create command partition expanded size = XXXX. XXXX indicates the size specified in MB; where
1024 MB equals
1 GB. The size parameter is optional and if not used, the expanded part covers all remaining unallocated space. Here, we create the expanded partition with a size of 1 GB.
After running the above command, we state that a new partition has been created with the selected area in Disk Management and this is an extended partition.
Currently, we cannot use the field to store data without creating a logical drive in it.
Step 5. Creating a logical drive in an extended partition
In Disk Management, we right-click the expanded partition area and select New Simple Volume.
The next steps are created in the same way as creating a primary partition and unit.
Working with an Extended Partition and Logical Drive in Windows
Result Can be verified from the Disk Management console. In the image below, we can see this logical drive and it will be in a blue color indicating that it is different from the primary partition, which is colored red. We create the logical drive on an extended partition area where the area is marked with a red borderline.
In terms of performance, there is almost no difference between drives created as the primary partition and logical drives created for the extended partition. Note, however, that Windows can only be run in a primary partition. By default, there is no way to convert from the primary partition to extended partitions and vice versa, except to use third-party software.
Today, the administrator can avoid creating an extended partition on Windows using the
GPT disk instead of
MBR, but it is still good to know how to deal with extended partitions and logical drives.
I hope it was a useful article.