Use the diskpart Command provided by the system to solve the partition installation restrictions for Windows 7

Source: Internet
Author: User
Many users install Windows 7 Program All primary partitions are created without any options for creating logical partitions. In this case, the remaining space cannot be allocated after four primary partitions are created, this makes many users feel inferior. Many users reflect this problem. Some users use third-party software to assist in partitioning. However, as long as the diskpart Command provided by the system is used, the partition installation restrictions on Windows 7 can be quickly solved. The following section describes how to use the diskpart command to install partitions for Windows 7.
I. Introduction to the diskpart command:
The diskpart command is a command in windows. You can use diskpart to manage partitions on a hard disk, including creating, deleting, and merging (expanding) partitions, it can completely replace third-party tool software such as the partition magician. It also has functions that cannot be implemented by the partition magician, such as setting dynamic disks and image volumes. It also takes effect without restarting the computer after the partition is set.
The system service is required to run the command normally. Therefore, it cannot run in the winpe environment of pure dos and XP kernel, but it is possible in the Windows 7 pre-installation environment. The diskpart command is used to partition, neither using a third-party tool nor generating a MB "system retained" partition. Second, the partitioning operation takes effect immediately without restarting the computer.
Ii. Partitioning Using the diskpart command:
1. When the installer runs on the disk partition creation page, press SHIFT + F10 to start the command window.
2. Type "diskpart" → press ENTER → enter the command environment of "diskpart", and the prompt is "diskpart> ".
3. In this prompt, enter the corresponding command to perform partition operations. The specific commands used include:
Clean
List
Select
Create
Format
Exit
To use these commands, you can enter help at the diskpart command prompt or query through the network. If you are not clear, you can view them.
4. Use the "List disk" command to display the existing disks of the current system. The steps for creating a partition are as follows:
The command sequence and operation explanation are as follows:
List disk // display all disks of the Local Machine to operate the target disk correctly
Select disk 0 // select disk number (for example, disk 0)
Clean // clear all partitions on disk 0
Create partition primary size = 512000 // create a primary partition with a capacity of 512000 MB
Active // activate the primary Partition
Format quick // quickly format the current Partition
Create partition extended // create an extended partition
Create partition logical size = 512000 // create a logical partition 1 with a capacity of 512000 MB
Format quick // quickly format the current Partition
Create partition logical size = 512000 // create logical partition 2, capacity: 512000 MB
Format quick // quickly format the current Partition
Create partition logical // create logical partition 3. The size is the remaining capacity.
Format quick // quickly format the current Partition
Exit // exit the diskpart command environment
Exit // exit the command window
During diskpart partitioning, You must select the target disk. The "*" sign is displayed before the selected Disk/partition. You can use "list Disk/partition" to view the disk. In addition, you can use resan to re-scan the machine's disk before partitioning to select the target disk correctly.
5. Then, the user clicks "Where do you want to install Windows ?" After the "refresh" option in the window appears, the partition result is displayed. Now, the partition operation is complete.

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.