How to convert System partition from MBR to GPT (EFI) on Windows 10 without loosing data – support for UEFI and SecureBoot

Hello!

In my previous post regarding conversion from MBR to GPT partition scheme I used third party tool to convert the data partition in Windows. This tutorial can be found here.

Nowadays, Microsoft has released a tool called mbr2gpt. This tool can convert running OS, align partitions, move data if necessary without loosing data, boot errors and so on. This tool is shipped with Windows 10 1703, or a later but I think it could be used/copied to older version of Windows 10.

One thing to mention, I recommend to decrypt harddrive whatever encryption method you use(bitlocker, sophos, norton etc.). Using on running OS is neither recommended, even though tool itself supports it(somehow)

The procedure is very simple.

  1. Boot Windows into recovery mode by pressing Restart now in advance startup options in recovery menu(just type recovery in start menu – it should take you to recovery options)
  2. Switch to advance options, command prompt
  3. type diskpart and press Enter
  4. type list disk to obtain target disk drive number(usually 0 unless you have more than one hdd/sdd in your PC):

    note, GPT will not be selected. If you have more than one hdd, make sure you select the proper one. You can check partitions by selecting disk and listing partitions:
  5. type exit
  6. type mbr2gpt /validate /disk:0 (replace 0 with selected disk number)
  7. to validate disk and partitions
  8. if validations is successfull
  9. type mbr2gpt /convert/disk:0 (replace 0 with selected disk number)
  10. wait until done.

Voila!

on SSD this takes roughly 3-5 minutes.

Now, you HAVE TO switch to UEFI boot mode(as OS will not boot) and you can enable secureboot

 

By |2018-07-17T12:45:51+00:00July 17th, 2018|Errors and fixes, Windows 10|0 Comments

About the Author:

I am passionate about Systems Administration. I like to face new challenges and test new environments.Windows and Linux Debian boxes (both physical and virtual) are my favourites. I like solving problems related to Windows Server roles and services as well as Linux but some distributions in particular. I'm not considering myself as Linux master but surely, I always do my best to fit the needs. On the other hand I consider myself as a Windows Server Professional and in terms of WS and Windows Desktops I always follow best practices, good advices and opinions from other admins.

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.