Now Manually format the disk
To create a partition using DiskPart, after entering the DiskPart utility, you would typically follow these steps:
- List the disks available on your system using the command:
LIST DISK
- Select the disk on which you want to create a partition using the command:
SELECT DISK <disk number>
(replace<disk number>
with the appropriate number from the list) - Once the disk is selected, you can create a partition. For example, to create a primary partition, you can use the command:
CREATE PARTITION PRIMARY
- Optionally, you can format the partition using the
FORMAT
command. - Exit DiskPart using the
EXIT
command.
Here's an example of the complete sequence of commands:
shellDISKPART> LIST DISK
DISKPART> SELECT DISK 0
DISKPART> CREATE PARTITION PRIMARY
DISKPART> FORMAT FS=NTFS QUICK
DISKPART> EXIT
This sequence would create a primary partition on Disk 0 and format it with the NTFS file system quickly. Adjust the disk number and formatting options as needed for your specific requirements.