An alternative way to manage hard disk partitions WinPE

Source: Internet
Author: User

an alternative way to manage hard disk partitions WinPE

For individual users, WinPE management of the hard disk partition is very practical and convenient. But a lot of friends say that only format without Fdisk can not manage partitions at all. In fact, this is a misconception that there is a dedicated command-line tool for Disk Management in Windows XP DiskPart.exe, a text-mode command interpreter that lets you manage objects (disks, partitions, or volumes) by using a script or entering directly from a command prompt. WinPE Management of hard disk partitions is of course also DiskPart. Type "DiskPart" in cmd mode in WinPE and enter the DiskPart command line, typing "list disk", showing two hard drives (the second is for experimentation), Disk 0 and Disk 1, respectively. Type "Select Disk=1", meaning that you select the specified disk and move the focus to the disk, and the next action is for it, type "detail disk" to view the details of disk 1, and now Disk 1 is an active partition C, with a format of FAT32 and a capacity of 8G. The following is the actual operation of the disk 1 into two areas, respectively, NTFS-formatted 4G primary partition E and FAT32 format 4G logical partition F, operations are as follows:

1, perform "Select Disk=1" and turn focus to disk 1. Perform "SELECT partition 1" To move focus to partition activity E on disk 1;

2, the implementation of "delete Partition" will be the original partition e deleted;

3, the implementation of "create partition primary size=4000", on disk 1 to create a new 4000MB primary partition, the focus will automatically go to the newly established partition;

4, then execute the "create partition Extended", the disk 1 on the remaining disk space as an extended partition;

5, complete the previous step and then execute "create partition logic", the newly established extended partition as a logical partition;

6. At this point, we have already created an active partition E Disk 1 to have a primary partition and a logical partition, but the two partitions do not have a drive letter, perform "select partition 1" to focus to primary partition 1, and then execute "Assign Letter=e", Assign drive letter E: to the primary partition. Perform "active" to set the primary partition as active so that it can boot the system;

7. Next Execute "SELECT Partition 3" To turn focus to logical partition and perform "Assign" carriage return, meaning that the system assigns the next available drive letter to the logical partition;

8. Now we are done with the repartition of the hard disk on the machine, perform "Exit" Exit DiskPart command line interpretation tool, then execute "format E:/fs:ntfs", format the disk 1 primary partition that you just created as the partition of the NTFS file format, and perform " Format f:/fs:fat32 partition F, our final operation is completed;

9, the implementation of "exit", and then restart the machine, you can again enter the "DiskPart" to see if the partition is correct;

The above operations basically include the deletion, creation, formatting, and management of the disk, and if you read the Help instructions carefully, make sure you don't want to use FDISK to manage the disk after you have mastered its powerful features. In fact, if you are using Windows XP, this knowledge is very practical. In addition, the most convenient place for the "DiskPart" tool is the support script, which is not described in detail here.

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.