May 31, 2018

convert between GPT and MBR partitions using diskpart

In Windows command (cmd), run "diskpart" as administrator.

In the "diskpart" command,
to check the type of partition,
        list disk

to select a disk,
        select disk #   (#: disk number)

to convert,
        convert MBR  (convert to MBR partition)
        convert GPT  (convert to GPT partition)

to create a volume,
        create partition primary (size=???)  (if size is missing, the whole size is used as a volume)

to format the created volume,
        (select partition #)
        (active)   (this is for MBR partition)
        format fs=FAT32 (quick)

No comments:

Post a Comment