Конвертация MBR в GPT с помощью в Windows 10
To convert a drive using MBR to GPT on Windows 10, use these steps:
2 Methods: Convert Windows 10 MBR to GPT Disk without Data Loss
Windows 10 MBR2GPT can convert MBR system disk to GPT without loss data. AOMEI Partition Assistant Professional can convert not only system disk, but also data disk from MBR to GPT without deleting partitions in Windows 10.
By Bryce / Last Updated May 4, 2023
- When should you convert MBR disk to GPT in Windows 10?
- Two Methods to convert Windows 10 MBR into GPT without data loss
- 1. Convert Windows 10 system disk to GPT via MBR2GP
- 2. Convert Windows 10 MBR system / data disk into GPT via a GUI tool
- How to convert MBR to GPT during Windows 10 installation?
When should you convert MBR disk to GPT in Windows 10?
Generally speaking, you intend to convert Windows 10 MBR disk into GPT under the four following situations:
1. Make full use of large disk space. MBR supports disk size up to 2TB, to use the capacity beyond 2TB, you can convert MBR into GPT.
2. Great more partitions. MBR disk only supports 4 primary partitions or three primary partitions plus one extended partition. As for the GPT disk, it almost has no limitation to the number of partitions.
3. Solve the error “ Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, windows can only be installed to GPT disk…” when installing Windows 10.
4. Upgrade to Windows 11: You can upgrade to Windows 11 from Windows 10 but your system disk should be a GPT disk as it requires UEFI boo mode. Thus, you need to convert system MBR disk to GPT for Windows 11 upgrade.
Two Methods to convert Windows 10 MBR into GPT without data loss
In fact, we can make Windows 10 MBR to GPT conversion with Windows built-in tool Disk Management or Diskpart. However, both the two ways will require you to delete all partitions first, which means that you have to bear the loss of data or experience the cumbersome process of data backup and restoration.
Thus, here introduce another two ways about how to convert a disk from MBR into GPT without losing data in Windows 10. You can choose one way based on the specific situation.
#1. Convert Windows 10 system disk to GPT via MBR2GPT
According to Microsoft, MBR2GP.EXE, first known in Windows 10 version 1703, is a built-in utility located in Win\System 32 directory. In Windows 10, MBR2GPT can convert MBR system disk to GPT without data loss since it won’t delete data during the conversion. You can apply MBR2GPT in the following steps:
Note: Confirm that your device supports EFI/UEFI Boot Mode before converting MBR to GPT.
Press “Windows” + “R”
Notes:✎. MBR2GPT utility is available only in Windows 10 version 1703 or later. If the MBR disk is with BitLocker-encrypted volumes, it is recommended to suspend the protection at first. After conversion, you can delete the existing protectors and recreate them to resume BitLocker. After converting the system disk from MBR to GPT, enter BIOS to change Legacy to EFI/UEFI.
#2. Convert Windows 10 MBR system / data disk into GPT via a GUI tool
Normally, Windows 10 MBR2GPT can convert MBR system disk to GPT successfully. However, sometimes, you can meet an error message, such as “disk layout validation failed for disk 0”. If you don’t want to spend time fixing MBR2GPT error, you can turn to this great conversion tool: AOMEI Partition Assistant Professional. Have a look at its highlights:
✌ It has a modern and user-friendly graphic interface, enabling you to complete MBR disk into GPT conversion in Windows 10 effortlessly within a few clicks.
✌ It can allow you to change disk partition style into GPT without losing data not only in Windows 10 but also in Windows 7/8/8.1/11.
✌ Apart from the system MBR disk, you can use it to convert MBR external hard drive to GPT without deleting any partitions.
✌ If you have converted a wrong disk into GPT accidentally, you can use this tool to convert the GPT disk back to MBR.
Now, install and run it on your Windows-based machine and refer to the following steps to start Windows 10 MBR to GPT conversion.
✍ You can download the demo version to have a try at first.
Secure Download
Notice: If your computer is a laptop, make sure that the power supply is sufficient.
Step 1. Right-click the MBR disk that you need to convert to GPT and choose “Convert to GPT”.
Step 2. Confirm the operation and click “OK”. Then, make sure that your system supports EFI/UEFI mode and click “Yes”.
Step 3. You will turn to the main menu. Check the pending operation and click “Apply” to execute your operation.
★Tips: For converting the partition style of the system disk from MBR to GPT, a reboot is required. Before converting the MBR system disk into GPT, make sure that the machine supports UEFI boot. After converting, to boot successfully from the system disk, you need to enter BIOS to change Legacy to EFI/UEFI. To convert a disk into GPT in Windows Server 2022/2019/2016/2012(R2)/2008 (R2) without data loss, you can use AOMEI Partition Assistant Server.
How to convert MBR to GPT during Windows 10 installation without data loss?
When messages such as “Windows cannot be installed to this disk. The selected disk has an MBR partition table” appear, it is highly recommended to convert the disk from MBR to GPT to fit UEFI boot mode. As Windows 10 is unable to boot, you can create a bootable media via AOMEI Partition Assistant and then convert MBR to GPT during Windows 10 installation.
Step 1. Plug in USB or CD/DVD to a working computer running Windows 10, fire up AOMEI Partition Assistant Professional, and click “Tools” > “Make Bootable Media” on the main interface.
Step 2. In this Window, select the way to make bootable media according to your device. Then, click “Proceed”.
Step 3. Click “Finish” when the operation progress is over.
Step 4. Plug in the bootable device to the computer that you plan to install Windows 10 and boot from the bootable media.
Then, the following steps are as same as the steps to convert Windows 10 MBR to GPT via AOMEI Partition Assistant software.
PS.: All the data on the device will be formatted; it is suggested to back up your important data on the device.
Конвертация MBR в GPT с помощью mbr2gpt.exe в Windows 10
В Windows 10, начиная с версии 1703 появилась встроенная утилита MBR2GPT, позволяющая выполнить конвертацию диска из MBR в GPT в программе установки, в среде восстановления или даже в запущенной ОС, причем сделать это без потери данных и, при наличии уже установленной в режиме Legacy Windows 10, она продолжит исправно загружаться, но уже в режиме UEFI.
Использование MBR2GPT в программе установки и среде восстановления
Ограничения mbr2gpt.exe состоят в следующем: диск должен быть системным (с загрузочной областью Windows) с таблицей разделов MBR, содержать не больше 3-х разделов (и, соответственно, не содержать расширенного раздела, отображающегося в «Управлении дисками» зеленым цветом). У многих обычных пользователей эти условия соблюдаются, а соответственно можно использовать и утилиту. При наличии расширенного раздела и отсутствии на нем важных данных можно его предварительно удалить.
Таким образом, если вы ранее устанавливали систему в режиме Legacy на MBR и пока не успели удалить системные разделы, обычно вы можете конвертировать диск в GPT в программе установки без потери данных, действия будут выглядеть следующим образом:
- В программе установки, удобнее всего на этапе выбора раздела для установки, нажмите клавиши Shift+F10 (на некоторых ноутбуках — Shift+Fn+F10), откроется командная строка.
- Введите команду mbr2gpt /validate и нажмите Enter. Если вы сразу получите сообщение о том, что «Validation completed successfully», значит системный диск был определен успешно, а его конвертация в GPT без потери данных возможна, переходим к 4-му шагу.
- Если сообщается «Failed», как у меня в первой команде на скриншоте, попробуйте вручную указать номер диска для конвертации (номер диска можно увидеть в окне выбора раздела для установки, у меня 0): mbr2gpt /disk:0 /validate (вторая команда в скриншоте выше). Если в этот раз команда выполнена успешно, можно конвертировать.
- Для конвертации выполните команду: mbr2gpt /convert или mbr2gpt /disk:НОМЕР_ДИСКА /convert в зависимости от того, какой вариант проверки у вас прошел успешно — с указанием номера диска или без него. После завершения работы команды можно закрыть командную строку.
В результате mbr2gpt сохранит имеющиеся разделы и создаст новый раздел с EFI-загрузчиком системы или же преобразует в него раздел «Зарезервировано системой». В окне установки Windows 10 нажимаем «Обновить», получаем текущую конфигурацию разделов.
Далее на свое усмотрение можно производить какие-либо действия над разделами и продолжать установку Windows 10 без сообщений о том, что установка на данный диск невозможна из-за таблицы разделов MBR.
Другое применение MBR2GPT.exe
Если вы прочли предыдущую часть, то уже могли догадаться, для чего еще можно применить такого рода конвертацию из MBR в GPT и для чего, собственно, изначально задумана утилита mbr2gpt.exe — вы можете без переустановки Windows 10 конвертировать диск, автоматически создать загрузчик для UEFI и в будущем работать с той же системой на GPT диске без переустановки или потери данных.
Все шаги будут теми же самыми, что были описаны выше, разве что не потребуется дополнительно выполнять какие-либо действия с разделами и продолжать установку, а после конвертации в БИОС нужно выставить UEFI в качестве основного режима загрузки. При этом выполнить эти шаги можно не только загрузившись с загрузочной флешки, но и зайдя в командную строку в среде восстановления Windows 10. Для запуска среды восстановления используйте путь: Параметры — Обновление и безопасность — Восстановление — Перезагрузить сейчас.
А вдруг и это будет интересно:
- Лучшие бесплатные программы для Windows
- Не открываются Параметры Windows 11 — как исправить?
- Компьютер не видит микрофон от наушников — варианты решения
- Как скачать dinput8.dll для игр и программ
- Как переименовать устройство в диспетчере устройств Windows
- Внутренняя ошибка CallSpawnServer: Unexpected response — варианты решения
- Windows 11
- Windows 10
- Android
- Загрузочная флешка
- Лечение вирусов
- Восстановление данных
- Установка с флешки
- Настройка роутера
- Всё про Windows
- В контакте
- Одноклассники
-
Евгений 31.03.2019 в 12:55
- Dmitry 01.04.2019 в 10:54
How to convert MBR to GPT drive to switch BIOS to UEFI on Windows 10
A PC with UEFI is more secure and faster than the legacy one using BIOS, and here’s how to switch.
Convert MBR to GPT on Windows 10 (Image credit: Windows Central)
When you want to switch firmware type from the Basic Input/Output System (BIOS) to Unified Extensible Firmware Interface (UEFI) without modifying the current installation or deleting the data stored on the drive, or you plan to upgrade Windows 10 to Windows 11, you can convert the drive using a Master Boot Record (MBR) to a GUID Partition Table (GPT) partition style using the “MBR2GPT” tool.
BIOS is a piece of code that resides on the motherboard that connects the hardware and software. This code has been around for a long time, and while it worked well, it was never designed for modern hardware, and it had many limitations, including limitations to partitions smaller than 2TB.
UEFI is the new firmware type designed to replace the old BIOS style. It introduces additional features, including support for partitions larger than 2TB and faster startup, sleep, resume, and shutdown times. Also, it unlocks new security features available on Windows 11 and Windows 10. For instance, “Secure Boot” is a feature that can protect a device’s startup process from malicious programs, and now it’s a prerequisite to install Windows 11. “Device Guard” gives you more advanced controls for app access, and “Credential Guard” can help prevent pass-the-hash attacks.
In this Windows 10 guide, we will walk you through the steps and information to use the Microsoft MBR2GPT command-line tool to convert a drive from MBR to GPT partition style, to switch from BIOS to UEFI mode on your device, and enable Secure Boot correctly.
- How to convert a drive from MBR to GPT on Windows 10
- How to change the firmware mode from BIOS to UEFI
Warning: This is a non-destructive process, but it’s still recommended to make a full backup of your PC before proceeding in case something goes wrong and you need to recover your setup.
How to convert a drive from MBR to GPT on Windows 10
Unlike older methods requiring a backup of your data and reinstalling Windows, the MBR2GPT tool makes it easy to change the partition style quickly. When using this tool, the conversion process adds the GPT components to the MBR partition without modifying the existing partition and maintaining the data untouched.
The best approach is switching to UEFI and performing a clean install of Windows 11. However, if you already have a Windows 10 installation that you want to upgrade, you can convert the drive to change the system firmware settings properly. Otherwise, the device will no longer start correctly.
Check MBR or GPT partition style
Before making system changes, check the current settings to see whether the system is set to MBR or GPT using these steps:
- Open Start.
- Search for Disk Management and click the top result to open the experience.
- Right-click the drive (where Windows 10 resides) and select the Properties option.
- Click on the Volumes tab.
- Under the “Partition style” field, if the field reads GUID Partition Table (GPT), the drive does not need conversion, but if you see the Master Boot Record (MBR) label, you will need to use the conversion tool.
- Click the Cancel button.
Once you complete the steps, you can change the partition style on the computer.
Also, if you need to change the partition, check your device manufacturer’s support website to find out whether the hardware includes support for UEFI before using these instructions.
Convert MBR to GPT partition style (offline)
To convert a drive using MBR to GPT on Windows 10, use these steps:
- Open Settings.
- Click on Update & Security.
- Click on Recovery.
- Under the “Advanced startup” section, click the Restart now button.
- Click the Troubleshoot option.
- Click on Advanced options.
- Click the Command Prompt option.
- Select your administrator account and sign in (if applicable).
- Type the following command to validate the drive’s requirements and press Enter: mbr2gpt /validate Quick tip: The mbr2gpt.exe is located in the “System32” folder inside the “Windows” folder. If you want to see all the available options, use the mbr2gpt /? command.
- Type the following command to convert the drive from MBR to GPT and press Enter: mbr2gpt /convert
- Click the Close button.
- Click the Turn off your PC option.
After you complete the steps, the tool will validate the drive and create an EFI system partition (ESP). The process will also insert the UEFI boot files and GPT components into the partition. The tool will update the Boot Configuration Data (BCD), and the previous drive letter will be added to the drive.
Convert MBR to GPT partition style (online)
It’s always recommended to use the MBR2GPT tool offline to avoid potential problems. However, you can also run it when the system is operational.
To convert a drive from MBR to GPT on Windows 10, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
- Type the following command to validate the drive and press Enter: mbr2gpt /validate /allowFullOS
- Type the following command to convert the drive to GPT and press Enter: mbr2gpt /convert /allowFullOS
Source: Windows Central (Image credit: Source: Windows Central)
Once you complete the steps, the command-line tool will reduce the size of the primary partition and change it from MBR to GPT.
MBR2GPT return codes
If the processes are completed successfully, the return code would be “0,” but if the process fails, you may see one of the 11 error codes:
Swipe to scroll horizontally
Return code | Description |
---|---|
1 | User canceled the conversion. |
2 | Internal error. |
3 | Initialization error. |
4 | Invalid command-line parameters. |
5 | Error on the geometry and layout of the selected disk. |
6 | One or more volumes on the disk are encrypted. |
7 | Geometry and layout of the disk don’t meet requirements. |
8 | Error while creating the EFI system partition. |
9 | Error installing boot files. |
10 | Error while applying GPT layout. |
100 | Successful conversion, but some boot configuration data didn’t restore. |
MBR2GPT important details
You can use the MBR2GPT tool on a traditional hard drive (HDD), solid-state drive (SSD), or an M.2 drive with virtually any version of Windows 10, but you must run the tool from a Windows 10 (version 1703 or later) installation.
When dealing with a drive using file encryption with BitLocker, you must first suspend the encryption before following the outlined instructions.
While MBR-style drives can have up to four primary partitions, the drive you want to convert can’t have more than three partitions because one additional allocation is required to create the UEFI partition.
Finally, Microsoft designed the tool to convert drives running Windows 8.1, 7, or from an older version, but you can always upgrade the installation to the latest release of Windows 10 and then use the tool to convert from MBR to GPT.
How to change the firmware mode from BIOS to UEFI
After converting the drive to the GPT style, the computer will no longer start until you change the firmware type from BIOS to UEFI in the motherboard.
Typically, this process requires hitting one of the function keys (F1, F2, F3, F10, or F12), Esc, or Delete key as soon as you start the device. However, since these options are always different, it’s best to check your device manufacturer’s support website for more specific details.
On the firmware interface, find the “Boot” menu, enable the UEFI option, save the changes, and then the computer should start normally.
Also, if you plan to upgrade the device to Windows 11 while in the UEFI settings, open the boot or security settings page, make sure to enable the “Secure Boot” option, and exit the firmware saving the changes.
Check GPT partition style
To confirm the device is using a GPT partition style, use these steps:
- Open Start.
- Search for Disk Management and click the top result to open the app.
- Right-click the main drive and select the Properties option.
- Click on the Volumes tab.
- Under the “Partition style” field, the information should now read GUID Partition Table (GPT).
Source: Windows Central (Image credit: Source: Windows Central)
After you complete the steps, if the partition is running using the correct partition style, you only need to check whether the device uses the UEFI firmware mode.
Check UEFI firmware
To confirm the computer is in UEFI mode and Secure Boot is turned on, use these steps:
- Open Start.
- Search for msinfo32 and click the top result to open the System Information app.
- Click on System Summary on the left pane.
- Check the “BIOS Mode,” which now should read UEFI.
- Check the “Secure Boot State” information, which now should read On.
Once you complete the steps, if the System Information displays the mode as “UEFI,” you have successfully switched the firmware type.
More Windows resources
For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:
- Windows 11 on Windows Central — All you need to know
- Windows 11 help, tips, and tricks
- Windows 10 on Windows Central — All you need to know
Get the Windows Central Newsletter
All the latest news, reviews, and guides for Windows and Xbox diehards.
By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.
Comments are closed, but trackbacks and pingbacks are open.