How to use commands to delete disk partitions and how to use commands to delete disk partitions

Source: Internet
Author: User
Tip: Exercise caution when deleting a disk partition, which may result in data loss. You must back up data in advance.

 

1. Start-> all programs-> attachments-> command prompt. Right-click and run as administrator;

 

 

2. After logging on to the drive window, enter the diskpart.execommand and press enter to return to the drive. Diskpart.exe is the Disk Management Command;

 

 

3. After entering disk management, enter the rescan command and press enter to configure the command for scanning hard disks;

 

 

4. After scanning the hard disk configuration, Enter the list disk command and press Enter. This command lists the hard disks;

 

 

5. Two hard disks are listed after completion. Hard disk 0 has capacity, hard disk 1 has no capacity, and it is useless. This is used for large-capacity USB flash drives. When a USB flash drive is inserted, to display the actual capacity. The partition to be deleted is on hard disk 0, so enter the select disk 0 Command, which means to select hard disk 0;

 

 

6. After entering the first hard disk (that is, disk 0, in the computer, usually set the first hard disk to 0), then enter the list partition command, this command lists all partitions of hard disk 0;

 

 

7. You can select the partition disk to be deleted. Take partition disk 8 as an example. In the command prompt, enter the select partition 8 command and press enter to select the logical 8 partition;

 

 

8. The command is delete partition override. After you press enter, you can delete the logical 8 partition. This command can also delete hidden partitions, Exercise caution when deleting the data. Once deleted, the data in the data will be lost..

 

 

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.