Setting up hardware and software

Convert your hard drive without losing data. How to convert GPT disk to MBR without losing data? Converting disk partitions in various ways

This article describes how to convert MBR to GPT on a hard drive. Disc with Master Boot Record will turn into GUID by using

All options are alternative and can be used as a separate and self-sufficient tool. Their advantage over others: some allow you to save data without transferring it from the experimental disk to another. If the external drive is ready for conversion empty, this operation can be performed using other Windows tools.

STRAIGHTAWAY

Not all conversion options are suitable for the system drive, i.e. then when Windows already installed. Table conversion must be done in advance before installation. Only this option will save you from errors in the process itself and the possibility of losing data or losing the ability to boot.

REFERENCE

What is GPT and MBR can be found in the article. By default, Windows always uses exactly MBR, and all copies of Microsoft OS can be booted from disks under MBR. But from under GPT The system can boot if the following conditions are met:

  • in BIOS motherboard function activated
  • Windows OS version 7 or higher is installed on the hard drive, which supports loading into GPT with UEFI preinstalled
  • at the same time, you can simultaneously be the owner GPT partition on which the data of the system itself is stored (if its version - according to the second point - supports this), even if the disk itself on which Windows is installed was initially converted to MBR

The difference between the two formats can be presented in the form of a table:

Conversion conditions

  • administrator rights
  • follow; it's better to put it in Manual startup type
  • to work with external drives I use a special box via a USB connection
  • do not forget about the hardware requirements and BIOS settings to GPT format: the system may not boot after conversion. It is better to take care of this setting in advance.
  • some described methods for system disk don't work with 32 bit versions of Windows

Why do you need to convert MBR to GPT at all?

Based on the information in the previous headings and the figure, some of the benefits are clear to see. If you are the owner of a significant amount of storage, it makes sense to take the chance to hedge your bets by creating “spare” partitions that the system will not access directly. And they can store anything: from gigabytes of “useful garbage” to full-fledged operating systems different generations, versions, assemblies and types. Thus, converting MBR to GPT makes real sense ONLY in cases where:

  • hard drive size from 2 TB and more (volumes more than 2 TB MBR not visible)
  • For security reasons, multiple boot partitions are needed (in MBR there is only one - at the beginning of the disk, and in GPT they are at the beginning of each one you create at will)
  • you need on one physical disk 4 and more independent volumes

Begin.

Convert MBR to GPT using Gptgen

The utility is specifically designed for these purposes; it is not available in Windows. IN currently version available 1.1 , which has not been updated since 2012. However, there is no doubt about the functionality of the utility. Download from my website:

What is the advantage of the utility and why are we starting with it? It will allow you to save data on a convertible disk. Extended/logical partitions are also supported by the utility, although GPT the format does not see the difference between logical and primary: after the MBR to GPT conversion is completed, all partitions will become primary.

The main command of the utility looks like this:

Gptgen.exe -w \\.\\physicaldriveX

Where X– a drive letter that appears in another system utility Diskpart. Let's try.

  • unpack the downloaded utility into a folder of the same name

and move it to the root of the system disk:

  • Launch the console cmd as administrator and enter the commands there:
diskpart list disk

Notice the last column that says GPT: He empty under both disks. This means that the format of both disks is MBR.

  • my experimental disk has the number 2. Remember, let's go out
exit
  • now we are looking gptgen in the directory and run:
cd\ cd gptgen-1.1 gptgen gptgen.exe -w \\.\\physicaldrive2

Before making changes, the utility warns that a boot partition has been detected and after conversion it will probably cease to be such. Click Y and in a couple of seconds it’s waiting for us Success!. Reconnect the disk and repeat the launch Diskpart and ask to display the disks:

I repeat, in this example I worked with external media.

Convert MBR to GPT using MBR2GPT

U Windows owners 10 there is a separate opportunity to change the table format to GPT using built-in tools for connected ( only!) system drives. And also without unnecessary movements to save information. The utility is in system folder System32. Full help on using the program can be found here. Requirements and conditions for work are common to other programs and the principle of conversion in general. The basic command syntax for checking before converting is:

Mbr2gpt /validate /disk:X

where X is the number of the physical disk that we will presumably change. It can be found from Diskpart. If there is only one disk, then it is 0. If you are going to change system disk, then the flag is added to the command /allowFullOS, For example:

Mbr2gpt /validate /disk: 0 /allowFullOS

If there are no verification errors, the utility will start working immediately. However, this utility is extremely demanding regarding the status of the hard drive; its work is often accompanied by errors such as:

Disk layout validation failed

Cannot find OS partition(s) for diskХ

Most common reasons errors are:

  • third-party bootloader (when installing Windows and Linux on the same disk)
  • disk full of partitions with MBR: already available 3 +1 or 4 section (see paragraph What is the difference between MBR and GPT?)
  • bit depth of the installed Windows copy
  • the experimental disk is not a system disk

Convert MBR to GPT using AOMEI

If using the console bothers you, you can use a disk management program with graphical interface. This is also the AOMEI I often use. It's simple here:

nothing will work in the 32-bit version of Windows

Convert MBR to GPT using Diskpart

The advantage of this method is its reliability and operability in all systems, regardless of the bit capacity. With its help you can work from WinPE environments, without having the system installed on the disk, but directly from boot disk or flash drives. Minus one - all sections and information on media will grind.

Utility commands:

  • launch the console cmd(from the system as administrator or through the boot disk recovery console)
  • enter commands
diskpart list disk select disk X convert gpt exit

Where X– disk number for conversion; Diskpart it will be returned after the command list disk.

All. Good luck.

Read: 110

Section style hard drive GPT provides more benefits than the legacy MBR standard to both the commercial sector, which uses equipment to store huge amounts of data, and ordinary users. The advantages of GPT disks for ordinary people are better performance and a greater likelihood of recovering accidentally or accidentally destroyed data. If the computer motherboard supports the operating mode (an indispensable condition for working with GPT disks), but for some reason HDD with the formed partition structure and stored data has MBR partition style, everything can be changed. Not without harm operating system, but preserving the disk structure and files on non-system partitions. Windows will still have to be reinstalled. Of course, there is a way to do without reinstalling Windows, but it is complicated by the process of restoring the ability of the current operating system to boot. After all, you will have to manually create a recovery partition and an encrypted one EFI partition(used instead of the System Reserved boot partition on the MBR disk) and then restore the UEFI system boot loader. When you reinstall Windows, all these issues will be resolved automatically. Plus, we will get a clean operating system without old operating errors.

So, below we’ll look at how to install Windows on a disk converted from MBR to GPT without losing data on non-system partitions. But first, let's talk about how Windows is installed on a GPT disk with the loss of markup and stored data.

1. Installing Windows on a GPT disk with data loss

Preserving the partition structure and data of an MBR disk does not always make sense. For example, when connecting hard disc purchased on the secondary market. What to do in this case? Since BIOS UEFI only works with GPT disks, it is therefore necessary that this firmware operating mode is active, and the Windows installation process is carried out from a UEFI bootable USB flash drive. We will return to these points when we consider how to install Windows on a GPT disk without losing data and partitions. But if the hard drive was initially initialized as MBR, then during the Windows installation process with the BIOS UEFI interface enabled, we will receive the following notification.

What can I do to make it possible to install Windows on a GPT disk? You need to completely delete all partitions on your hard drive...

And install the operating system on unallocated disk space. Or, using the “Create” button, create several partitions on the disk in order to indicate only one of them as the installation location for the system, and use the rest as file storage.

During the Windows installation process, the hard drive will be automatically converted to GPT.

This is a way to install Windows on a GPT disk, losing the partition structure and stored data. But what if the MBR disk is filled with information, and there is a lot of it? Even if there is somewhere to temporarily transfer important data - to another hard drive or removable media, with large volumes, the procedure for transferring files back and forth will take time. If there is nowhere to temporarily place the data, there is only one way out - converting the disk from MBR to GPT and then reinstalling Windows to the system partition.

2. Preparatory stage

Before you begin the conversion process, you need to check a few things and prepare your working tools. Need to:

  • Make sure that the BIOS actually supports the UEFI interface;
  • Write down bootable USB flash drive UEFI with the installation process of 64-bit Windows 7, 8.1 and 10 (done using the Rufus program or a utility for downloading the distribution kit of system versions 8.1 and 10 Media Creation Tool);
  • Save important data of the current Windows, in particular, files in user profile folders, export settings significant programs, extract license keys and perform other actions as before the normal process of reinstalling the operating system;
  • Download from the official website and install the program on your computer (in current Windows on an MBR disk) AOMEI Partition Assistant, with the help of which the process of converting a hard drive from MBR to GPT will be carried out. The program can be downloaded in the free Standard Edition; among other functionality, it provides the ability to convert disk partition styles.

3. Converting a disk from MBR to GPT

Having carried out all the above steps and prepared necessary tools, launch AOMEI Partition Assistant. In our case, in the program window we will see two computer hard drives: one of them has already successfully completed the conversion procedure from MBR to GPT, and the other, an MBR disk, has yet to undergo it.

On the MBR disk, call up the context menu, select the “Convert to GPT disk” command, then in the confirmation window for starting the operation, click “OK”.

A software window will appear with advice before starting the operation to make sure that the motherboard supports the BIOS UEFI operating mode. This window also informs you that if the converted disk is bootable and has an operating system installed on it, the latter will no longer be able to boot after the operation is completed. This is why it is important to take seriously preparatory stage operations and perform all the actions recommended in the previous paragraph of the article. Click “Yes”.

At the top left of the window, click the “Apply” button.

Clicking “Yes” is the point of no return, the current Windows will no longer be able to boot as the hard drive will be converted to GPT upon completion of the operation. The completion of the operation will be notified by such a program window, in which the only possible action will be to click “Ok”.

Before clicking “Ok”, check whether the UEFI bootable USB flash drive with the installation installation is connected Windows process. After clicking “Ok” the computer will reboot.

4. BIOS UEFI setup

The next time you start your computer, you must immediately enter the BIOS to set the UEFI operating mode. In the BIOS of the Asus motherboard, this is done as follows. In the main menu, press either the “ Additional settings", or the F7 key.

By clicking “Ok” we confirm entering the advanced mode. Go to the “Download” tab, then select the “CSM” section (it must be enabled, that is, the value “Enabled” should appear opposite it). In the “Boot device parameters” column, set the value to “UEFI and Legacy UpROM” - a compatibility mode in which booting is possible as in UEFI mode, and in Legacy. Then use the “Back” button to exit the section settings.

If Windows 7 will be installed on your computer, you will also need ( Secure Boot) – enter the “Secure Boot” section and in the “OS Type” column set the value to “Other OS”. And go up a level with the “Back” button.

In the list of boot devices, select the UEFI bootable USB flash drive.

We save entered into BIOS changes: Press the F10 key and select “Yes”.

In the BIOS of other motherboards, the settings will be different. But their essence will be the same as described for the Asus motherboard:

  • Setting the UEFI operating mode (or compatibility mode, if supported, as in the example discussed);
  • Disable secure boot for operating systems that do not comply with UEFI standard certificates;
  • Setting boot priority from a UEFI flash drive;
  • Saving settings.

5. Installing Windows on a GPT disk

After saving the BIOS UEFI settings, the computer will boot from the USB flash drive. Let's pass initial stages installation process and will linger a little on choosing the installation location. In order for the data on non-system disk partitions to remain safe and sound, you need to delete only two partitions that were responsible for Windows startup– the first boot partition with a capacity of 350 or 500 MB (depending on the version of Windows) and the second partition on which the operating system itself was installed. To avoid mistakes, especially if hard drives There are several connected to the computer, it is better to focus on the size of the partitions. In our example, the disk just converted from MBR to GPT is identified by the Windows installation process as Disk 0. We first delete the first partition using the “Delete” button.

Then we repeat the procedure with the second section.

Click on the unallocated space created as a result of deleting partitions and click the “Next” button to continue the Windows installation process.

Have a great day!

  • Translation

Have you ever wondered how your computer boots? Regardless of the hardware and operating system, all computers boot using either the traditional BIOS-MBR method or the more modern UEFI-GPT implemented in latest versions OS.

In this article, we will compare GPT and MBR partition structures; GPT stands for GUID Partition Table and MBR stands for Master Boot Record. Let's start by looking at the download process itself.

The following chapters highlight the differences between GPT and MBR partition styles, including instructions on how to convert between the two styles and advice on which one to choose.

Understanding the Boot Process

When you press the power button on your PC, it starts a process that will eventually load the operating system into memory. The first command depends on what the partition structure is on your hard drive.

If there are two types of partition structures: MBR and GPT. The partition structure on a disk determines three things:

  1. Data structure on disk.
  2. The code that is used during boot if the partition is bootable.
  3. Where does the section begin and end?

MBR boot process

Let's return to the download process. If your system uses an MBR partition structure, the first execution process will load the BIOS. The Basic Input/Output System includes bootloader firmware. The bootloader firmware contains low-level functions such as keyboard input, video display access, disk I/O, and code to load the initial stage of the bootloader. Before the BIOS can detect the boot device, it performs a sequence of system configuration functions, starting with the following:
  • Self-test at power-on.
  • Detection and initialization of the video card.
  • Displays the BIOS start screen.
  • Perform a quick memory (RAM) test.
  • Plug and play device configuration.
  • Boot device definition.
Once the BIOS has detected a boot device, it reads the first disk sector of that device into memory. The first sector of the disk is the master boot record (MBR), which is 512 bytes in size. Three objects fit into this size:
  • First stage of the bootloader (446 bytes).
  • Disk Partition Table (16 bytes per partition × 4 partitions) - MBR only supports four partitions, more on that below.
  • Signature (2 bytes).
At this stage, the MBR scans the partition table and loads it into RAM boot sector - Volume Boot Record (VBR).

A VBR usually contains an Initial Program Loader (IPL), this code initiates the loading process. The program's boot loader includes a second boot loader stage, which then loads the operating system. On Windows NT family systems, such as Windows XP, the bootloader first loads another program called NT Loader (NTLDR), which then loads the operating system.

For operating systems based on the Linux kernel, the GRUB (Grand Unified Bootloader) bootloader is used. The download process is similar to that described above, the only difference is the name of the loaders at the first and second stages.

In GRUB, the first stage of the boot loader is called GRUB Stage 1. It loads the second stage, known as GRUB Stage 2. The second stage loads gets a list of operating systems on hard drives and provides the user with a list to select an OS to boot.

GPT boot process

At the same boot stage, the following happens in the GPT partition structure. GPT uses UEFI, which does not have the same storage procedure as MBR. boot sector the first stage of the bootloader and then calling the second stage of the bootloader. UEFI - Unified Extensible Firmware Interface - is a more advanced interface than BIOS. He can analyze file system and even upload files yourself.

After turning on your computer, UEFI first performs system configuration functions, just like BIOS. This includes energy management, setting dates and other system management components.

UEFI then reads the GPT - GUID Partition Table. GUID stands for Globally Unique Identifier. GPT is located in the first sectors of the disk, just after sector 0, where the master boot record for the Legacy BIOS is still stored.

GPT defines the partition table on the disk where the EFI boot loader recognizes the EFI system partition. System partition contains bootloaders for all operating systems installed on other hard disk partitions. The bootloader initializes the Windows boot manager, which then boots the operating system.

For Linux kernel operating systems, there is an EFI-enabled version of GRUB that loads a file, such as grub.efi, or an EFI boot loader, which loads its own file, such as elilo.efi.

You may notice that both UEFI-GPT, And BIOS-MBR transfer control to the bootloader, but do not directly load the operating system. However, UEFI does not require you to go through multiple bootloader stages like BIOS. The boot process occurs at a very early stage, depending on your hardware configuration.

Differences between GPT and MBR partition structures

If you've ever tried to install Windows 8 or 10 on new computer, then most likely you saw the question: which partition structure to use, MBR or GPT.

If you want to know more or are planning to install a new operating system on your computer, then read on. We've already looked at differences in boot processes that are worth keeping in mind when partitioning a disk or choosing a partition structure.

GPT is a newer and more advanced partition structure, and it has many advantages, which I will list below. MBR has been in use for a long time, it is stable and has maximum compatibility. Although GPT may eventually replace MBR as it offers more advanced features, in some cases only MBR can be used.

Master Boot Record

MBR is a traditional structure for managing disk partitions. Since it is compatible with most systems, it is still widely used. The master boot record is located in the first sector of the hard drive or, more simply, at the very beginning. It contains a partition table - information about the organization of logical partitions on the hard drive.

The MBR also contains executable code that scans partitions for the active OS and initiates the OS boot procedure.

An MBR disk allows only four primary partitions. If you need more, you can designate one of the partitions as an extended partition, and you can create more subpartitions or logical drives on it.

The MBR uses 32 bits to record the partition length, expressed in sectors, so that each partition is limited to a maximum size of 2 TB.

Advantages

  • Compatible with most systems.
Flaws
  • Allows only four partitions, with the ability to create additional subpartitions on one of the main partitions.
  • Limits the partition size to two terabytes.
  • Partition information is stored in only one place - the master boot record. If it is damaged, the entire disk becomes unreadable.

GUID Partition Table (GPT)

GPT - more new standard to determine the partition structure on the disk. Globally unique identifiers (GUIDs) are used to define the structure.

This is part of the UEFI standard, meaning a UEFI based system can only be installed on a drive that uses GPT, for example, this is a requirement Windows features 8 Secure Boot.

GPT allows for an unlimited number of partitions, although some operating systems may limit the number to 128 partitions. There is also virtually no limit on partition size in GPT.

Advantages

  • Allows an unlimited number of sections. The limit is set by the operating system; for example, Windows allows no more than 128 partitions.
  • Does not limit partition size. It depends on the operating system. Limit on maximum size partition is larger than the capacity of any disks existing today. For drives with 512-byte sectors, a maximum size of 9.4 ZB is supported (one zettabyte equals 1,073,741,824 terabytes)
  • GPT stores a copy of the partition and boot data and can recover the data if the main GPT header becomes corrupted.
  • GPT stores cyclic redundancy checksum (CRC) values ​​to verify the integrity of its data (used to verify the integrity of GPT header data). If corrupted, GPT can notice the problem and attempt to recover the corrupted data from another location on the disk.
Flaws
  • May not be compatible with older systems.

GPT vs MBR

  • GPT allows an unlimited number of primary partitions, while MBR allows only four primary partitions and the rest are secondary.
  • GPT allows you to create partitions of any size, while MBR has a limit of 2 TB.
  • GPT stores a copy of the partition data, allowing it to be restored if the main GPT header becomes corrupted; MBR stores only one copy of partition data in the first sector of the hard disk, which can lead to the loss of all information if partition information is damaged.
  • GPT stores checksum values ​​to verify that data is not corrupted and can perform necessary recovery from other areas of the disk if corruption occurs; The MBR has no way of knowing if data is corrupted; you can only find out if the computer refuses to boot or the partition disappears.

Operating system compatibility

The first sector (sector 0) on a GPT disk contains an MBR protection record, which records that the disk has one partition that spans the entire media. In case of using older tools that only read MBR disks, you will see one large partition the size of the entire disk. The protective recording was made so that the old tool does not mistakenly perceive the disk as empty and overwrite it. GPT data new master boot record.

MBR protects GPT data from being overwritten.

Apple MacBooks" and use GPT by default, so it is not possible to install Mac OS X on an MBR system. Even though Mac OS X can run on an MBR disk, it is not possible to install on it. I tried this, but without success.

Most Linux kernel operating systems are GPT compatible. When installing Linux OS on the disk, GRUB 2 will be installed as the bootloader.

For operating systems Windows boot from GPT is only possible on UEFI computers running 64-bit versions Windows Vista, 7, 8, 10 and corresponding server versions. If you bought a laptop with a 64-bit version of Windows 8, then there is a high probability that it has GPT.

Windows 7 and earlier systems typically install on MBR drives, but you can still convert partitions to GPT, as discussed below.

All versions of Windows Vista, 7, 8, 10 can read and use data from GPT partitions - but they cannot boot from such non-UEFI drives.

So GPT or MBR?

You can feel comfortable with both MBR and GPT. But considering the advantages of GPT mentioned earlier and the fact that modern computers are gradually switching to this technology, you may prefer GPT. If the goal is to support older hardware or need to use a traditional BIOS, then you are stuck with MBR.

Check the hard drive partition type

On each Windows hard drive, you can check the partition type using Disk Management. To launch Disk Management, do the following:

Press the Windows + R hotkey combination to open a window for launching programs.

Type diskmgmt.msc and press Enter.

Windows will scan hard disks and will soon show them. To check the partition type of any hard drive, click right click mouse on the disk plate at the bottom of the interface. You need to click on “Disk 0”, “Disk 1” and so on, and not on partitions.

In the appeared context menu select Properties. A window with the properties of the selected disk will open.

Go to the Volumes tab and look at the Partition Style value.

If you prefer command line, then you can choose another option. Its advantage is that it is slightly faster, since it immediately displays drives and partition styles.

  1. Click Windows key, type cmd.exe, hold Ctrl and Shift, press Enter.
  2. Confirm the UAC message about increasing system privileges.
  3. Type diskpart and press Enter.
  4. Type list disk and press Enter again.

All drives are listed. The Gpt column indicates the partition style for each disk. If you see an asterisk in the column, then it is GPT; if it is not there, it is MBR.

Convert between MBR and GPT during Windows installation

There are two typical messages about errors that may occur when installing Windows on a hard drive:
  • Error #1: “Windows cannot be installed on this drive. The selected disk does not have a GPT partition style."
  • Error #2: “Windows cannot be installed on this drive. The selected disk has a GPT partition style."
When one of these two errors appears, you may not be able to select a partition to install. But this does not mean that there is something wrong with the computer.

As you already know, MBR and GPT are two completely different hard disk partition structures. MBR is the traditional partition structure, while GPT is the newer one.

Error #1 occurs when you try to install Windows on a UEFI computer and the hard drive partition is not configured for UEFI mode or Legacy BIOS compatibility. Microsoft TechNet offers two options to resolve the issue.

  1. Reboot the computer in Legacy BIOS compatibility mode. This option will keep the current section style.
  2. Reformat the disk for UEFI using the GPT partition style. This option will allow you to use UEFI firmware features. You can do the reformatting yourself by following the instructions below. Always save backup copy data before formatting.
Of course, there are third-party utilities that can convert disks to GPT while preserving the data, but it is still safer to make a backup copy in case the utility fails to complete the conversion.

Instructions for converting a hard drive from MBR to GPT


WITH using Windows Setup

  1. Select the unallocated space and click Next. Windows will detect that the computer is booted in UEFI mode and will automatically reformat the drive using the GPT partition style. The installation process will begin immediately after this.
Manual conversion
  1. Turn off your computer and insert a bootable Windows drive (USB or DVD).
  2. Boot from it in UEFI mode.
  3. Clean the disk: clean .
  4. Conversion to GPT is done with the convert gpt command.

Instructions for converting a hard drive from GPT to MBR

Sometimes it is necessary to convert a disk to an MBR partition structure. For example, if you receive the following error message during Windows installation:

"Windows cannot be installed on this drive. The selected disk has a GPT partition style"

Booting from GPT is only supported on 64-bit versions of Windows Vista, 7, 8, 10 and corresponding server versions on UEFI systems. This error message means that your computer does not support UEFI, and therefore you can only use a BIOS that works with the MBR partition structure.

Microsoft TechNet offers two options to resolve the issue.

  1. Reboot the computer in BIOS compatibility mode. This option will keep the current section style.
  2. Reformat the disk using the MBR partition style. Always back up your data before formatting. Although there are third-party utilities that can convert disks to GPT while preserving the data, it is still safer to make a backup copy in case the utility fails to complete the conversion.
If you chose the second option, then follow the step-by-step instructions:

Using Windows Setup

  1. Turn off your computer and insert a bootable Windows drive (USB or DVD).
  2. Boot from it in UEFI mode.
  3. Select "Other" (Custom) in the installation type.
  4. A screen will appear asking “Where do you want to install Windows?” Select all partitions on the disk and click Delete.
  5. After successful removal, the disk will be a single area of ​​unallocated space.
  6. Select the unallocated space and click Next. Windows will detect that the computer is booted into BIOS mode, and automatically reformats the disk using the MBR partition style. The installation process will begin immediately after this.
Manual conversion
  1. Turn off your computer and insert a bootable Windows drive (USB or DVD).
  2. Boot from it in BIOS mode.
  3. From the Windows installation, press Shift+F10 to open the console. After each next command, press Enter.
  4. Run the diskpart tool with the diskpart command.
  5. To select the disk to convert, type list disk .
  6. Specify the disk number to convert: select disk # .
  7. Clean the disk: clean .
  8. Conversion to GPT is done with the convert mbr command.
  9. Type exit to exit diskpart.
  10. Close the console and return to the Windows installation.
  11. When choosing an installation type, select "Other". The disk will be a single area of ​​unallocated space.
  12. Select the unallocated space and click Next. Windows will begin installation.

If you are used to doing things the old fashioned way, i.e. the good old BIOS plus a regular hard drive with an MBR table, then when installing operating Windows systems 8 and Windows 8.1 on modern computer with UEFI BIOS you may encounter this error: “Installing windows on this disk impossible. The selected disk contains an mbr partition table. IN EFI systems Windows can only be installed on a GPT disk."
There are two ways to solve this difficulty.

First— switch UEFI to Leagcy Mode compatibility mode. But this is not the best solution due to the fact that the UEFI system is more productive and advanced. In addition, now there are disks with a capacity of 3-4 TB, and MBR cannot work with partitions larger than 2 TB. By the way, if you have a regular BIOS, you won’t be able to install Windows on a GPT disk at all.
Second— convert the partition table from MBR to GPT and install the system on it. This is a more correct solution, which is why we will now consider it. In principle, we don’t need any additional tools - everything is on installation disk. Instructions below relevant for both Windows 8 and Windows 10. The only note is that you need a bootable USB flash drive for UEFI.
We insert a bootable USB flash drive into the connector, boot and begin installing the system. In principle, all actions are performed as usual until you get to the point where you select a partition to install the system, where you receive the error “Windows cannot be installed on this disk.”
Now, to change MBR to GPT you need to run the conversion. To do this, use the Shift+F10 buttons (on laptops sometimes you also need to press the Fn function key, i.e. Fn+Shift+F10) to launch the command line. You need to type the command in it diskpart to call the built-in utility for working with disks and partitions.

Recruiting a team list disk to view available drives:

Select the disk that we will convert using the command select disk. In my case this is Disk0, so the command would look like this:

We clear it using the directive Clean:

To convert the partition table from MBR to GPT, type the command convert gpt:

If the conversion is completed successfully and the disk is converted, close the DiskPart utility with the command Exit:

Press the button Update and continue installing the system further. I would especially like to note that with using Diskpart You can repartition the entire hard drive, but most often this is easier and much more convenient to do using the graphical menu of the Windows installer.

Hello everyone, today I will tell you how to convert GPT to MBR in Windows.

Converting GPT to MBR may be required in different cases. A common option is an error Windows cannot be installed on this disk. The selected disk has a GPT partition style, which occurs when you try to install an x86 version of Windows 7 on a disk with a GPT partition system or on a computer without a UEFI BIOS. Although other options are possible when this may be necessary.

In order to convert GPT to MBR you can use standard Windows tools(including during installation) or special programs intended for these purposes. In this tutorial I will show you different conversion methods. Let me tell you in advance that I do not know of a working way to change the partition style from GPT to MBR on a system hard drive without losing data.

How to convert MBR when installing Windows via command line.

This method is suitable if, as described above, you see a message stating that installing Windows 7 on this disk is impossible due to the GPT partition style. However, this same method can be used not only during installation of the operating system, but also simply when working in it (for a non-system HDD).

As a reminder, all data on your hard drive will be deleted. So, here's what you need to do to change the partition style from GPT to MBR using the command line

  1. When installing Windows (for example, at the stage of selecting partitions, but it can also be done in another place), press the keys Shift + F10 on the keyboard, the command line will open. If you do the same on Windows OS, then the command line must be run as administrator.
  2. Enter the command diskpart , and then - list disk to display a list of physical drives connected to your computer.
  3. Enter the command select disk N , where N is the number of the disk that needs to be converted.
  4. Now you can do it in two ways: enter the command clean to clear the disk completely (all partitions will be deleted), or delete partitions one by one manually using the commands detail disk, select volume And delete volume (this is the method used in the screenshot, but just enter clean will be faster).
  5. Enter the command convert mbr , in order to convert the disk to MBR.
  6. Use Exit to exit Diskpart, then close the command prompt and continue Windows installation- Now the error will not appear. You can also create partitions by clicking “Configure disk” in the window for selecting a partition to install.

Did you like the article? Share with your friends!
Was this article helpful?
Yes
No
Thanks for your feedback!
Something went wrong and your vote was not counted.
Thank you. Your message has been sent
Found an error in the text?
Select it, click Ctrl + Enter and we will fix everything!