Menu
How to Erase a Disk from Command Line in Mac OS X. From Terminal in Mac OS X. My disk utility can’t read my ubuntu USB installer so I needed to.
Formatting in context of USB or Hard Drives means deleting everything from that drive and rebuilding the file system so that we can use it with an Operating System. And we usually perform formatting in our USB or External Hard Drive when we want to get rid of viruses, or we want to clean the disk as it was when we purchased it. Also when we buy a new USB or Hard Drive, it often comes with windows compatible not the mac so formatting it even needed in this case. So in this post, I will tell you “How to Format USB on Mac?”.
How to Format USB on MAC? If you never formatted a USB drive then don’t worry it is effortless.
And here I will tell you two answers to this question that “How to Format USB on Mac?”.聽First, we will go with the straightforward way of doing it; then we will move to the easy way. 馃槈 So first, we will use the Disk Utility program, which is a GUI and very straightforward so that any kid can do it.
Then in the next method, we will format USB drive from mac terminal. So let’s start. Diskutil eraseDisk JHFS + Belal disk2. In the above command eraseDisk is the format command. Then comes JHFS+ is the Disk Type which is Mac OS Extended (Journaled).
Then Belal is the name of the disk that will be assigned after formatting. Finally we are writing the name of the disk that we need to format, which disk2 is in this case. Now hit enter.
And the disk is formatted. 馃槈 Super Easy, isn’t it? So that’s it for this tutorial friends if you got some problems then tell me in the comments. And if you think this post was useful for you, or it helped you in any way, then I request you to please SHARE it with your friends. I hope you got the answer very clearly that “How to Format USB on Mac?”. So thank you, guys.
Will catch you in the next post.