Skip to main content

How to convert an MBR disk to GPT and move from BIOS to UEFI on Windows 10

Using the Unified Extensible Firmware Interface (UEFI) can make your PC more secure and a bit faster if you're still using the legacy basic input/output system (BIOS). In this guide, we show you how to switch.
Windows 10 makes it easier to switch from legacy BIOS to UEFI using the new MBR2GPT disk conversion tool included with the Creators Update. One of the most important parts of your PC is the BIOS, which is the code that sits on a chip on the motherboard, linking the software to the hardware.
Computers have been using BIOS for a long time, but it had a lot of limitations with today's hardware, such as drive support, where BIOS limits you to partitions less than 2TB. This was alright for a while, but it was obvious something else was needed, which is why UEFI was introduced.
UEFI is what replaces BIOS, and it adds a number of other benefits, including faster startup, sleep, resume, and shutdown times. In addition, and perhaps more importantly, it allows you to take advantage of new security features on Windows 10. For example, a "Secure Boot" feature protects the PC startup process from malicious software. "Credential Guard" helps to prevent pass-the-hash attacks, and "Device Guard" give you more advanced controls for application access.
In the Creators Update, Windows 10 introduces a new command-line utility called MBR2GPT that lets you convert a disk formatted using Master Boot Record (MBR) to GUID Partition Table (GPT)-style partition without modifying or deleting that data stored on disk, which is a requirement to move to UEFI mode.
In this Windows 10 guide, we detail the steps to use MBR2GPT to convert a disk using MBR to GPT to switch from BIOS to UEFI mode.

How to convert a disk from MBR to GPT on Windows 10

While you've been able to do this process in the past, it required hours of work. Previously, you needed to back up your data, repartition the disk using GPT, reinstall the OS, and then restore the data.
Starting with the Creators Update, the MBR2GPT tool enables you to change the partition style in minutes, and more importantly, in a non-destructive process. The conversion is done by adding the GPT components to an MBR disk without modifying the existing partition and file system, which allows your data to remain unchanged.
The ideal way to switch is to configure Windows 10 and use UEFI from the beginning. However, if you're already running Windows 10, you're upgrading from a previous version to Windows 10, or you've already deployed the OS in BIOS mode on devices with support UEFI, there are two things you need to do:
  • First, you need to convert the disk using MBR to GPT-style partition, which is the main requirement to run Windows 10 in UEFI mode.
  • Secondly, you must change your motherboard firmware settings to make the switch from BIOS to UEFI mode.

Checking disk partition type

  1. Use the Windows key + X keyboard shortcut to open the Power User menu and click on Disk Management.
  2. Right-click the disk with the Windows 10 installation and select Properties.
  3. Click on the Volumes tab and look at "Partition style". If it reads GUID Partition Table (GPT), the disk doesn't need to be converted, but if you see the Master Boot Record (MBR) label, then you can use the conversion tool.
    • In addition, make sure to check your PC manufacturer's support website to see if the device includes support of UEFI mode before using the conversion tool.

Converting disk to GPT partition style

In order to convert the disk from MBR to GPT, you need to start your computer in Windows PE (Preinstallation Environment), and then do the following.
Warning: Although this is a non-destructive process, you should always keep a full backup of your computer and data in case something goes wrong.
  1. Open Settings.
  2. Click on Update & security.
  3. Click on Recovery.
  4. Under "Advanced startup," click the Restart now button.
  5. Click on Troubleshoot.
  6. Click on Advanced options.
  7. Click on Command Prompt to boot into Windows PE.
  8. Click on your account and login with your credentials (if applicable).
  9. Type the following command to validate and make sure the disk meets the requirements and press Enter:
    mbr2gpt /validate
    • If everything checks out successfully, you can continue with the next step, but it's also possible that you'll get an error, in case the disk didn't meet the requirements. For example, if the drive was already using a GPT partition style.
    • Quick Tip: "MBR2GPT.exe" is located inside the "System32" folder inside the "Windows" folder, and if you want to see all the available options included with this tool, you can use the mbr2gpt /? command.
  10. Type the following command to convert the disk from MBR to GPT and press Enter:
    mbr2gpt /convert
As you execute the commands, the tool will validate the disk. The partition will be reconfigured to include an EFI system partition (ESP) as needed. Then the UEFI boot files and GPT components will be installed in the new partition. The boot configuration data (BCD) will be updated, and finally, the drive letter is restored.
The tool was designed to run in the Windows PE using Command Prompt, but it's also possible to use it when Windows 10 desktop is fully loaded. This is not recommended, though, because you may encounter some problems with other applications running on the system.
In the case you want to use the tool while Windows 10 is fully loaded, you'll need to append the /allowFullOS switch after each command mentioned above. For example, you can use this command mbr2gpt /validate /allowFullOS to validate the disk. Otherwise, you won't be able to use the tool.

MBR2GPT return codes

If the conversion was applied successfully, you should see a return code of 0. If the process fails, you'll receive a different return error code.
Actually, you can get eleven different return codes 1 through 10, and code 100, each one indicating a particular problem during the conversion process.
Here's what those codes mean:
Return CodeDescription
1User canceled the conversion.
2Internal error.
3Initialization error.
4Invalid command-line parameters.
5Error on the geometry and layout of the selected disk.
6One or more volumes on the disk is encrypted.
7Geometry and layout of the disk don't meet requirements.
8Error while creating the EFI system partition.
9Error installing boot files.
10Error while applying GPT layout.
100Successful conversion, but some boot configuration data didn't restore.

How to change the firmware mode from BIOS to UEFI

Once you've completed the steps to switch to the GPT-style partition, it's the time to access the motherboard's firmware to change from BIOS to UEFI. Otherwise, Windows 10 won't boot.
In order to do this process, you can use tools provided by your PC manufacturer, or change the settings manually in the firmware interface.
This process typically requires hitting one of the function keys (F1, F2, F3, F10, or F12), the ESC, or Delete key as you boot your computer. However, these settings will vary by manufacturer, and even by model. So make sure to check your PC manufacturer support website for more specific details.
After getting the access to the firmware (BIOS) interface, look for the Boot menu, and make sure to change from legacy BIOS to UEFI.
Then reboot your computer, and use these steps to verify that you're indeed running Windows 10 in GPT style partition:
  1. Use the Windows key + X to open the Power User menu and click on Disk Management.
  2. Right-click the disk with the Windows 10 installation and select Properties.
  3. Click on the Volumes tab, and under "Partition style," it should read GUID Partition Table (GPT).
To make sure, your device is using UEFI, do the following:
  1. Open Start.
  2. Search for msinfo32 or System Information and press Enter.
In the System Information summary, you should now see that "BIOS Mode" is set to "UEFI."

Important information about the MBR2GPT tool

Although disks configured with MBR-style partition can have up to four primary partitions, for this process to work the disk you want to convert can't have more than three partitions, because one allocation is needed to create the new UEFI system partition.
You can use the MBR2GPT tool to convert hard drives and solid state drives (SSD) with an earlier version of Windows 10 installed, including Anniversary Update (version 1607), November Update (version 1511), and the initial version of Windows 10 (1507). However, you must use the tool on a computer running Windows 10 version 1703 or later, and then perform the conversion.
It's not possible to convert disks with older versions of the OS, such as Windows 8.x and Windows 7, but you can upgrade to Windows 10, and then use the tool to convert from MBR to GPT.
If you're converting a hard drive or SSD with BitLocker enabled, you must suspend the encryption protection before using these steps. And to resume the protection after the conversion, you must remove the current protectors and recreate them again.

Wrapping things up

It's been possible for a long time to convert an MBR disk to GPT to switch from BIOS to UEFI, but now you can make the conversion in minutes without wasting time doing a clean install of Windows 10 and backing up your data. This tool not only comes in handy for anyone who wants to make their PCs a bit more secure and faster, but it'll also benefit organizations that want to significantly reduce time and the cost to move to a more advanced firmware.


Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

download office 2021 and activate

get office from here open powershell as admin (win+x and a ) type cmd  goto insall dir 1.         cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 2.           cd /d %ProgramFiles%\Microsoft Office\Office16 try 1 or 2 depending on installation  install volume license  for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" activate using kms cscript ospp.vbs /setprt:1688 cscript ospp.vbs /unpkey:6F7TH >nul cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript ospp.vbs / cscript ospp.vbs /act Automatic script (windefender may block it) ------------------------------------------------------------------------------------------------------------------- @echo off title Activate Microsoft Office 2021 (ALL versions) for FREE - =====================================================================================&

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points - Clearnet search engine for Tor Hidden Services (allows you