MBRFormat does not appear to be a valid volume name for its file system
Asked Answered
I

4

10

I am using macOS Mojave 10.14.6. I am trying to re-format my USB to FAT. I am getting this error MBRFormat does not appear to be a valid volume name for its file system. What does it mean and how to fix it? Why does file system says "None"?

root$ diskutil info /dev/disk5
   Device Identifier:         disk5
   Device Node:               /dev/disk5
   Whole:                     Yes
   Part of Whole:             disk5
   Device / Media Name:       Cruzer Facet

   Volume Name:               Not applicable (no file system)
   Mounted:                   Not applicable (no file system)
   File System:               None

   Content (IOContent):       GUID_partition_scheme
   OS Can Be Installed:       No
   Media Type:                Generic
   Protocol:                  USB
   SMART Status:              Not Supported

   Disk Size:                 8.0 GB (8004304896 Bytes) (exactly 15633408 512-Byte-Units)
   Device Block Size:         512 Bytes

   Read-Only Media:           No
   Read-Only Volume:          Not applicable (no file system)

   Device Location:           External
   Removable Media:           Removable
   Media Removal:             Software-Activated

   Virtual:                   No
root$ sudo diskutil eraseDisk FAT32 MBRFormat /dev/disk5
Password:
MBRFormat does not appear to be a valid volume name for its file system

Is it already FAT formatted?

/dev/disk5 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *8.0 GB     disk5
   1:       Microsoft Basic Data MyDrive                 7.8 GB     disk5s2
Indisposed answered 17/4, 2020 at 7:47 Comment(0)
R
26

THE_NAME should be written in uppercase.

sudo diskutil eraseDisk FAT32 "THE_NAME" MBRFormat /dev/disk5
Rina answered 23/7, 2020 at 15:51 Comment(0)
W
11

You are missing a (new) volume name after the format

sudo diskutil eraseDisk FAT32 THE_NAME MBRFormat /dev/disk5

For further info about its usage:

sudo diskutil eraseDisk
Usage:  diskutil eraseDisk format name [APM[Format]|MBR[Format]|GPT[Format]]
        MountPoint|DiskIdentifier|DeviceNode
Whitt answered 25/5, 2020 at 19:36 Comment(0)
H
0

THE_NAME is the volume name you want; you can change it to whatever you want..

Hedvah answered 24/9, 2023 at 13:45 Comment(0)
E
-1

And don't change THE_NAME this is an actual command and it so mandatory, I guess

Ecumenism answered 13/6, 2021 at 19:9 Comment(1)
I don't know why because it makes no sense, but you are right. I had to use THE_NAME as a name for the command to work on a pen drive that was impossible to erase with DiskUtility.app on my mac.Trimer

© 2022 - 2024 — McMap. All rights reserved.