Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
Creating a primary partition on a Windows system is a fundamental task that can be accomplished using the built-in Disk Management tool or through the Command Prompt. This article will guide you through the process of creating a primary partition using Command Prompt, which is particularly useful for automation or when the graphical interface is not available.
Why Create a Primary Partition?
A primary partition is a type of partition that can host an operating system. On Windows, you can have up to four primary partitions on a single disk. Creating a primary partition is essential for organizing your data, installing multiple operating systems, or setting up a dual-boot system.
Prerequisites:
Steps to Create a Primary Partition Using Command Prompt:
Open Command Prompt as Administrator:
Windows + X
and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)".Open DiskPart:
diskpart
and press Enter
. This will open the DiskPart tool, which is a command-line utility for disk management.List Available Disks:
list disk
and press Enter
. This command will display all the disks connected to your system.Select the Disk:
select disk 1
and press Enter
.Create the Primary Partition:
create partition primary
and press Enter
. This command will create a primary partition using the available unallocated space on the selected disk.Format the Partition:
format fs=ntfs quick
and press Enter
. The quick
option speeds up the process by skipping the zeroing of the disk.Assign a Drive Letter:
assign letter=X
(replace X with the desired drive letter) and press Enter
. This assigns a drive letter to the partition, making it accessible from File Explorer.Exit DiskPart:
exit
and press Enter
to close the DiskPart tool.Example:
C:\WINDOWS\system32> diskpart
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 476 GB 0 B
Disk 1 Online 100 GB 100 GB
DISKPART> select disk 1
Disk 1 is now the selected disk.
DISKPART> create partition primary
DiskPart succeeded in creating the specified partition.
DISKPART> format fs=ntfs quick
100 percent completed
DiskPart successfully formatted the volume.
DISKPART> assign letter=E
DiskPart successfully assigned the drive letter or mount point.
DISKPART> exit
By following these steps, you will have successfully created and formatted a primary partition on your Windows system.