Formatting a USB Drive to FAT32 MBR on a Mac

mac
2021-03-20 18:24 (4 years ago) ytyng

Sometimes, USB memory sticks that have been used for creating OS installation media may have a corrupted partition table, making it impossible to format them using the "Disk Utility" app.

You can easily format it using a command:

sudo diskutil eraseDisk FAT32 USBMEMORY MBRFormat /dev/disk2

Additionally, it's a good practice to compare the output of diskutil list before and after connecting the USB memory stick to determine which path it is mounted on.

Current rating: 5
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.

Archive

2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011