tools to convert mbr to gpt code example
Example: convert mbr to gpt cmd
Step 1. Open an elevated Command Prompt: press Win+R on your keyboard to open Run dialogue, in which type cmd and hit on Enter.
Step 2. In the elevated Command Prompt window, type diskpart and press Enter to launch DiskPart Windows. And execute following commands in sequence.
list disk (display all the online disks)
select disk n (n represents the number of the target MBR disk)
clean (remove all partitions on the target disk if there are)
convert gpt