《diskpart Command installation system summary 》

Today, I will install the system for my classmates ,win8 Change win7. Students are pre installed with win8 Association of y480, The partition table uses GPT Format , It took a long time to know .GPT Format is a new partition format , Compared with the traditional MBR The advantages of partition format are : Support 2T Above disk capacity ,MBR Up to 2T; Most support 128 Primary partitions ,MBR Only support 4 individual . in general , It's a new technology . But I think the bad part is ,GPT Is based on EFI( Extensible firmware interface ) Of , So to use it, you have to trade support EFI The motherboard . And it seems that it can only be installed 64 The system of . And for the vast number of people who use computers , It's not very practical . So I decided to switch back to the traditional MBR Partition format .

Checked the online tutorial , There are two options :

1. Using the command line diskpart command .

2. Use diskgenius Tools .

I chose the first method , Because I can just learn diskpart, This command is very useful .

Here is my learning experience .

------ Related links ------



diskpart - Baidu Encyclopedia :http://baike.baidu.com/link?url=o5BXBUAos16Cx1eie4G-EXPGv7wbtusR94WCEUnez7dGVVW-dWTPdu2GlgPvdLv-1B_HgwTvqolw1PiLc1B97q

Diskpart Command line utility introduction - Microsoft Help and support :http://support.microsoft.com/kb/300415/zh-cn

How to use Diskpart partition :http://jingyan.baidu.com/article/92255446efce49851748f463.html

GPT turn MBR Partition format text tutorial :http://www.pc6.com/infoview/Article_61579.html

" Setup was unable to create a new system partition , You can't locate existing system partitions " Solutions for :http://bbs.51cto.com/thread-927793-1.html

The concept of volume :http://baike.baidu.com/link?url=rV7q45CkrStFG18TulVKM12grADMi7OhhL6hw4T8_H6RSCEQDWOJwVAPWp5XGh2l#5

------ Experience ------

# Disk character 、 Volume label 、 disk 、 Partition 、 The understanding of volume #

Local disk D: —— 【D:】 yes Drive letter Or rather, Disk character ,【 Local disk 】 yes Volume label (label)

And the volume is simply with a drive letter , image :DVD-ROM、U disc 、 The hard disk is mounted on the computer to display C disc D disc H disc G All the disks are rolls .

Here diskpart Species LIST Command,

Input HELP LIST There will be

These lines of tips :

DISK - Print a list of disks .
PARTITION - Print a list of partitions on the current disk .
VOLUME - Print a list of volumes .

DISK It's disk. , Like a hard disk 、U Disks are disks .

PARTITION It's a partition , Divide the inside of the disk into parts , It's the zoning , image C disc D disc E Plate, etc. .

VOLUME It's a roll , image DVD-ROM、U disc 、 The hard disk is mounted on the computer to display C disc D disc H disc G All the disks are rolls .

# diskpart Command can write batch #

perform diskpart /s script.txt You can run the batch , Automatically partition the disk directly .

Another day can write a batch to play a try .

# The steps of partitioning #

1. Create partitions ( Creating a logical partition takes two steps , Create the extended partition first , Then create a logical partition based on the extended partition )

2. format partition

The partition is created in the free area ( After deleting the created partition, it is a free partition ) To create a , After creating a partition, there is no specific file format for the partition , There's no drive letter , Unable to display... In file list . Then format the partition , At this time, the partition will specify the specific file format ( Yes NTFS、FAT32 etc. ), Note that if no drive letter is assigned , The partition cannot be displayed in the file list ( use diskpart In the command format Command formatting does not automatically mount , It needs to be reused assign Manually assign drive letter mount ).

# diskpart Common commands #

diskpart - start-up diskpart, At this point, the beginning of the command line becomes diskpart> The appearance of , explain diskpart It runs in an integrated environment .

help - Can be in diskpart Add... To all of your orders help To see how to use the current command .

list - All disks can be listed 、 Partition 、 volume . List what you want according to your choice .

example :

list disk


disk ### state size You can use dynamic Gpt
-------- ---------- ------- ------- --- ---
disk 0 online 466 GB 222 GB
disk 1 online 932 GB 0 B

select - Choose focus . The focus is to select a disk or partition to operate on 、 Volume, etc .

example :

select disk 0


disk 0 Now it's the selected disk .

This time list disk command , Show :

disk ### state size You can use dynamic Gpt
-------- ---------- ------- ------- --- ---
* disk 0 online 466 GB 222 GB
disk 1 online 932 GB 0 B

Extra “*” It's the focus of choice .

detail - Display disk 、 Partition or volume details

example :

detail disk

Displays the details of the current disk

disk ID: 78563412
type : IDE
Bus : 0
The goal is : 0
LUN ID : 0

volume ### Ltr label Fs type size condition Information
---------- --- ----------- ----- ---------- ------- --------- --------
volume 1 C Win XP NTFS Disk partition 49 GB In good condition System

volume 2 D NTFS Disk partition 195 GB In good condition page file

clean - Clear all data on the current disk , Be careful , It's all ! One command will clear all your data , Use with caution !

create - You can create partitions , Including the main partition 、 Extended partitions 、EFI Partition etc. , Very important orders , Familiar with .

example :

Create partition primary size=30720

among create partition Represents creating a partition .primary Indicates that the creation is the primary partition . If this position is logical: Represents a logical partition ,extended: Represents an extended partition .size: Represents the size of the partition , Company M.

active - Activate the primary partition , And format . Why activate ? because , After activation, partition information and unique active partition mark will be written to hard disk partition table , So when you start the computer BIOS It detects the operating system of the primary partition (io.sys file ), Then the operating system starts to control the boot right .ps: Extract

delete - Delete partition

assign -  Use  assign  Command to assign a drive letter or mount point to the volume currently in focus .

After the partition is formatted in the form of a command, no drive letter is assigned , So the partition cannot be displayed in the file list , So we need to use assign The command is manually hung on .

remove -  Use  remove  Command to delete the drive letter or mount point of the partition currently in focus .

convert - Partition format conversion command . You can use this command to convert mbr Partition format or gpt Partition format .

example :

convert mbr

convert gpt

exit - sign out diskpart

Freecode : www.cnblogs.com/yym2013

Diskpart Command installation system summary of more related articles

  1. Depth technology Win7 System utilization diskpart Command to achieve the skills of hard disk partition

    from :http://www.xitongcheng.com/jiaocheng/win7_article_2491.html 1. Depth technology Win7 System utilization diskpart Command to achieve hard disk partition skills to share with ...

  2. Linux System yum Command to keep... When installing software ( download )rpm package -- Reprint

    It was deployed yesterday zabbix When monitoring , There's a problem : The monitoring server is in the state of no external network , Online installation is not available . And it's very annoying to rely on Bao Du Niang or Gu Jie to search ! So I came up with a way , Make use of the server with external network yum Command to install the software , And self ...

  3. stay windows System on use pip Command to install python Third party library

    stay windows System on use pip Command to install python Third party library adopt cmd After starting the command line , Direct input pip command , Sometimes the command line tells us pip It's not a directive , At this time we can go through python In the integrated development environment of ...

  4. CentOS In the system passwd Summary of command practical skills

    This article mainly introduces Linux In the system passwd Summary of command practical skills , yes Linux Basic knowledge in introductory learning , Friends in need can refer to   Let's review passwd Basic usage of commands : Linux passwd Orders are used to ...

  5. When installing the system “windows Can't install to this disk . The selected disk uses GPT Partition form ”

    Install the system to prompt that you cannot install on that disk , Then press and hold shift+F10 Exhale diskpart Command character , Then type in diskpart list disk select disk 0 clean conver ...

  6. [ turn ]diskpart command

    from: http://support.microsoft.com/kb/300415/zh-cn Diskpart Unlike many command line utilities , The reason is that it doesn't operate in single line mode . contrary , When you start the utility , ...

  7. Winodws When installing the system , Partition by installing disks

    Today when using a system disk to install , It's strange , Partitions are always separated into a system disk , One MBR, The rest can only be divided into primary partitions . That leads me to windows Activation time , The activation tool can't find the drive letter of the boot disk ( Because the system disks and M ...

  8. Install the system , use cmd partition

    step 1: stay “ You want to Windows Where to install ” Press and hold “Shift+F10”, Call up the command line window , Input diskpart And click enter step 2: Input list disk Click enter , List all disks from 0 Start sorting ...

  9. Use diskpart Command formatting U disc

    In the installation of various linux System time , Always use SD card , Here's a problem , Namely SD The card is linux After formatting, you can't widdows Next use . also windows The format button under has no effect on it . In the process of groping , Found the grid ...

Random recommendation

  1. MFC Line drawing function summary

    This article is for learning exchange only , For commercial use, please support the genuine version ! Reprint please indicate :http://www.cnblogs.com/mxbs/p/6216464.html MFC There are two main points in the function of drawing lines : firstly , The initial position recorded when the mouse is pressed is the beginning of the line ...

  2. 2016-1-28 The illustration HTTP(03)

    6.2.5 Not HTTP/1.1 Header field          Not limited to, RFC2616 As defined in 47 Seed header field , also Cookie.Set-Cookie and Content-Disposition Wait for the others RFC The first field in ...

  3. NBOJv2 1004 Wei cleans the classroom ( Segment tree interval update interval maximum query )

    Problem 1004: Wei cleans the classroom Time Limits:  1000 MS   Memory Limits:  65536 KB 64-bit interger IO format:  %l ...

  4. Use TFDConnection Of pooled Connection pool

    See this attribute from the beginning , I always thought that it could provide a connection pool management function , Too little documentation , Even the use of this property is not described in the help , If you search Baidu , You'll also find that there's basically no information . Finally, I saw its complete and relevant information on its official website ...

  5. BZOJ 3997 [TJOI 2015 Combinatorial mathematics ] Problem solving report

    I came to a conclusion on this question : First , We define a path that satisfies the following conditions as “ The path from top right to bottom left ”: For any two different points on the path $(x_1, y_1)$,$(x_2, y_2)$, There are : $x_1\neq x_2 ...

  6. C# Escape characters in

    Some common escape characters : \n   Line break \b  backspace, Delete a character before the cursor \t  tab key A character consisting of multiple spaces , Line to line alignment \\  \ If you prefix a string with @ Words : 1 ...

  7. Datatable.Compute Tips

    In the process of personal computer room reconstruction , The most worrying thing for all of us is getting on and off the plane , Billing and reporting . So in the process of checking out , The most worrying thing is whether to calculate the data of daily bill and weekly bill . Remember that in the process of the first computer room charging system, we used for loop , however ...

  8. Ubuntu 16.04 install GIMP Drawing software

    Ubuntu It's an easy to use drawing software ,GIMP, Installation method: : The input terminal : sudo apt-get install gimp , enter , Input password , It is easy to install . Input :gimp , Start the program .

  9. A blog to get you started Flask

    One . Python At present, there are three main trends Web frame Django Tornado Flask contrast 1.Django The main feature is large and complete , Many components are integrated , for example : Models Admin Form wait , No ...

  10. PHP Echarts Ajax Json Column diagram example

    <?php $server = ''; $user = 'root'; $password = ''; $database = 'yiibaidb'; $conn = new ...