Windows 10: Converting MBT to GPT+EFI Partition Type

Product: Windows 10

Command: mbt2gpt.exe

Sharing my experience to convert my MBT boot partition that run Windows 10 to GPT with EFI boot.

Let me list down the step I took for my ASUS Z97-A motherboard:

  1. Run "CMD" as administrator
  2. Determine the disk number
    1. diskpart - utility to query disk partition
      1. Ref: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/diskpart
    2. list - list all disks
    3. select disk 0 - this is my boot disk, i.e. C:
    4. detail - show all partitions. Ensure the partition size match my C: and double confirm disk 0 is correct
  3. Boot into recovery mode
    1. Click StartSettings to bring up Windows Setting (Control Panel)
    2. Click Update & Security menu
    3. Click Recovery menu

  4. Convert disk 0 MBT partition to GPT for entire disk.  This will convert entire disk to GPT partition design.  It is not possible to only convert specific partition
    1. mbt2gpt /convert /disk:0
    2. Example output
    3. MBR2GPT will now attempt to convert disk 0.
    4. If conversion is successful the disk can only be booted in GPT mode.
    5. These changes cannot be undone!
MBR2GPT: Attempting to convert disk 0
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
MBR2GPT: Trying to shrink the system partition
MBR2GPT: Trying to shrink the OS partition
MBR2GPT: Creating the EFI system partition
MBR2GPT: Installing the new boot files
MBR2GPT: Performing the layout conversion
MBR2GPT: Migrating default boot entry
MBR2GPT: Adding recovery boot entry
MBR2GPT: Fixing drive letter mapping
MBR2GPT: Conversion completed successfully
MBR2GPT: Before the new system can boot properly you need to switch the firmware to boot to UEFI mode!
  1. Ensure the output of mbt2gpt shows success
  2. mbt2gpt will create a new hidden partition to keep EFI boot info. You can verify by running diskpart
    1. select disk 0
    2. detail - you should see an extra EFI partition
  3. The next part is to reboot computer and get into BIOS setting to change few configurations
    1. Change disk boot manager: Windows Boot Manager (if available), or EFI (for disk 0 in my example)
    2. Change boot compatibility order as EFI first, or EFI (EFI means it uses GPT), not legacy MBT
  4. For ASUS motherboard, power on or reboot, then immediately press DEL key when you hear beep sound.  This will get into BIOS screen
  5. Click on "Boot" menu option'
  6. Select "CSM (Compatibility Support Module)" section, and disable CSM for full EFI disk support only (that means non EFI disk won't be bootable, including USB boot drive that doesn't use EFI).  This means it won't support older MBT disk format
  7. If you would like to keep the support of both MBT & EFI, then you can keep it Auto or Enabled
  8. If you keep it Enabled, then set the boot priority to UEFI first, not Legacy OPROM first
  9. My ASUS motherboard has additional choice to set priority for other device type, e.g. network, PCI-E (NVMe SSD), storage (SATA, USB)
  1. Return back to previous menu, and configure "Boot Option Priorities" to set Boot Option #1 to use EFI
  2. For my ASUS motherboard, disk 0 boot option must pick Windows Boot Manager
  3. Now BIOS is configured, and press F10 to save, and reboot
  4. Now you should see Windows 10 is able to boot up like MBT disk type after converted to GPT with EFI

Comments

Popular posts from this blog

Oracle ORA-0600 on 17090 - When login with wrong password

AMD Custom Resolution Setting for BenQ EX3501R Ultra Wide Monitor