2

Gpart (not gparted) under FreeBSD has problems to add a FAT32 partition when using GPT (works with MBR).

This is the disk:

% gpart show /dev/da0
=>      40  15257520  da0  GPT  (7.3G)
        40  15257520       - free -  (7.3G)

But now I get an error:

% gpart add -t fat32 /dev/da0
gpart: Invalid argument

How do I create a FAT32 partition with a GUID Partition Table under FreeBSD?

  • Does it work if you create an exFAT filesystem? – Nasir Riley Dec 15 '19 at 3:04
5

man gpart, section PARTITION TYPES states:

ms-basic-data               A basic data partition (BDP) for Microsoft
                            operating systems.  In the GPT this type is
                            the equivalent to partition types fat16, fat32
                            and ntfs in MBR.

So, since you are using GPT scheme, you have to use ms-basic-data type instead of fat32.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.