MS-DOS FAT32 formatting using Macintosh Command line Terminal.

Opening MAC Terminal:

Before using Terminal first thing is to know how to open it. So as I am sure you all know how to open Finder in Mac PC.


Look out for cartoon Icon at the bottom taskbar, which looks like in the above image.

On Finder top right hand, you will find a search box just put in "Terminal" without parentheses. And you will get results as below:



Click Terminal.



MS-DOS FAT32 Mac Terminal Command line formatting:


Now we are all set to format Disk using Terminal Command.

Using diskutil command through Mac OS Terminal.

First identify the disk you want to format through using $ diskutil list   as in below example commands:

$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *21.0 MB disk1
1: Apple_partition_map 64.3 KB disk1s1
2: USB_Lexer_PANDrive Sample- Usb-Drive 1.2.6 7.9 GB disk1s2


* Now, as you know and identify the name of the drive <DiskNameGoesHere> and <DiskNodeIDHere> Disk identifier you want to format(highlighted in yellow and blue in above example).

*Above is just an example of how to find details of your drive. It will differ system to system.

Now we have the required information so we can format it with  MS-DOS FAT32 with below commands:

diskutil eraseDisk FAT32 <DiskNameGoesHere> /dev/<DiskNodeIDHere>

In Above command <DiskNameGoesHere> will be the new name. So you can use any name predefined or any unique name within the specific protocol.

Related Article:  Creating Windows 10 Recovery USB using MAC Computer.

No comments:

Post a Comment

Enter your email address:

Delivered by FeedBurner