Skip to content

Instantly share code, notes, and snippets.

@wisedier
Last active September 4, 2021 13:20
Show Gist options
  • Save wisedier/71cc3c3786f94759be19c05e746ded15 to your computer and use it in GitHub Desktop.
Save wisedier/71cc3c3786f94759be19c05e746ded15 to your computer and use it in GitHub Desktop.
Convert MBR to GPT in order to enable UEFI and Secure Boot
  1. Open Powershell with administrator privilege.
  2. Type Get-Disk | ft -auto and find the disk number where the OS is installed.
  3. Type mbr2gpt.exe /validate /disk:[number] /allowFullOS
    If success is in the prompt output, conversion is possible.
    If there isn't, you shoud check https://docs.microsoft.com/ko-kr/windows/deployment/mbr-to-gpt to satisfy some condition to do it.
  4. Type mbr2gpt.exe /convert /disk:[number] /allowFullOS
    If there is a line starts with Before and ends with UEFI mode, you are done.
  5. Restart the PC and enter to CMOS.
  6. Change BIOS to UEFI mode and enable Secure Boot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment