How to use the DiskPart command line partition

Source: Internet
Author: User
Tags command line

Here, let's take a look at the use of the DiskPart command line partition, where I started the Waik PE, but this command does not require PE, you can also perform on your own computer

List Disk from the word we can see that this is the list of all the disks, where I have only one disk 0

Now we want to 0来 the disk operation, before the operation to select the DISK0

We can use the list partition command to view our existing partition information, the following figure, there are two partitions, we have to demonstrate the deletion of the operation, the same, we want to delete who will first select who, and then execute the delete partition

Once the deletion is complete, when we perform the list partition again, there is no information on any partitions, and this time we can create a partition to allow us to install the system

create partition is creating partitions

Primary, this is the primary partition.

Size=xx It's pretty obvious how big this partition is.

Once we're done, we'll see how much space there is left in this disk 0, 97GB

The command to allocate the rest of the space to a new partition is the create partition primary. Do not add size, that is, give the rest to the new partition

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.