Partition of hard drive happens in two ways:
- Using the Windows interface.
- Using a command prompt.
To do partition of HDD using Windows interface:
- Console Tree > Computer Management (Local) > Storage > Disk Management.
- Right click on basic disk > New Partition > New Logical Drive.
- Now click Next > Primary Partition, Extended Partition or Logical Partition and follow the system screen instructions.
HDD partitions by the help of Command prompt are following:
- Open Command prompt (click start > point to all programs > point to Accessories > click on Command prompt) and type DISKPART.
2. In DISKPART prompt, type list disk (how many partitions you want) then type select diskn (means where you want to create the primary or extended partition).
3. At DISKPART prompt, type any one which is in inverted comma:
“create partition primary [size=n] [offset=n] [ID=byte | GUID] [noerr]
“create partition extended [size=n] [offset=n] [noerr]”
“create partition logical [size=n] [offset=n] [noerr]”
- Now type assign letter=D at the DISKPART prompt.
Note: To use diskpart command (in Windows) to extend hard disk partitions, it is compulsory to be unallocated space behind the partition where you want to extend.
Some other points which are important while you are performing hard drive partitions by the use of Command prompt:
- You can’t create partitions on removable media using DISKPART.
- On GPT (GUID partition table), you can create up to 128 primary partition (no extended or logical partitions are possible).
- On MBR (master boot record), you can create 4 primary partition, 1 extended partition and unlimited logical partition.
- To perform partitioning task of hard drive through Command prompt, it is compulsory for any user to be a member of administrators group, backup operators group or you have the sufficient authority to perform partitioning task of HDD.
- See this page for more details about HDD partitions by the use of Command prompt.