Convert MBR to GPT (vise versa) and Create EFI partition before installing Windows Using DiskPart

Tested on Windows 10 and Windows 7

Howto

  • Press Shift+F10 to open Command Line (type this command)
  • Type diskpart Enter. Diskpart will take a while to launch.
  • Type list disk Enter A list of disks will be printed.
  • Note the number next to yours (most likely 0). Select that disk: select disk 0 Enter.
  • Clean
  • convert gpt (vise versa)
  • Create ESP –> create partition efi size=500 Enter (500 is partition size in MiB).
  •  exit Enter. Exit Diskpart

Leave a Comment

Your email address will not be published. Required fields are marked *