Home  >  Article  >  Operation and Maintenance  >  How to convert an MBR disk to a GPT disk during Windows installation

How to convert an MBR disk to a GPT disk during Windows installation

坏嘻嘻
坏嘻嘻Original
2018-09-15 15:23:254595browse

The content of this article is about how to convert an MBR disk to a GPT disk during Windows installation. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Step one: Press Shift F10 to start the command prompt

You can actually start the command prompt in the Windows installation interface, just press Shift F10.

Step 2: Type the command

Start Diskpart:

> diskpart

After startup, the "DISKPART" prefix will appear in front of the prompt:

DISKPART> list disk

At this time The command prompt will list all the disks on this computer and their formats:

  磁盘 ###  状态           大小     可用     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  磁盘 0    联机              119 GB   118 GB        *
  磁盘 1    联机              465 GB  1024 KB
  磁盘 2    联机               28 GB      0 B        *

Disk 0 is the system disk I plan to install the system on.

================! ! ! pay attention! ! ! ================

  1. Note that the disk is selected here, and is not the partition! It is not the C drive/D drive that is usually called, but an SSD or a mechanical hard drive.

  2. Follow-up operations will clear all data in the selected disk, all data, without reservation!

================! ! ! pay attention! ! ! ================

Now, we select "Disk 0":

DISKPART> select disk 0

The serial number here depends on whether the SSD or mechanical hard disk is installed. The serial number of the connecting cable, so be sure to check it carefully to avoid choosing the wrong one.

Next, type the clean command to clear everything on this disk. Note that this includes all partitions :

DISKPART> clean

Waiting for cleaning End, then type the convert gpt command to complete the conversion.

DISKPART> convert gpt

Step Three: Calm down the excitement

After the operation is completed, just press Alt F4 to switch to the Windows installer and continue the installation. If you are a severe patient with obsessive-compulsive disorder, it is not a bad idea to type the exit command to end the "Diskpart" program.

DISKPART> exit

The above is the detailed content of How to convert an MBR disk to a GPT disk during Windows installation. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn