If you’re dealing with flash drives that have a partition format that prevents you from reformatting or deleting them. If you’ve tried standard reformatting and partition deletion methods but haven’t succeeded, you can try the following more advanced steps using Disk Utility and the Terminal on your MacBook Pro. This will allow you to erase or reformat the drives completely, including removing any partitions that might be stuck.
Steps to Delete the Partition on a MacBook Pro
Method 1: Using Disk Utility
- Open Disk Utility:
- Click the Apple Menu in the top left corner of the screen.
- Select About This Mac → System Report → Storage.
- You can also open Disk Utility by searching for it in Spotlight (press
Cmd + Spaceand type Disk Utility).
- Select the Flash Drive:
- In the Disk Utility sidebar, find the 2GB or 1GB flash drive you want to reformat.
- Important: Ensure you select the device (not the volume or partition) in the sidebar. The device will be listed at the top of the drive’s name, and the partitions will be indented below it.
- Erase the Drive:
- Click on the Erase button at the top of the Disk Utility window.
- Set the format to exFAT or MS-DOS (FAT) (if you intend to use it on both Mac and Windows).
- Name the drive if you want.
- Click Erase and allow the process to complete.
- Remove Partitions (if necessary):
- If the drive has multiple partitions (which could be part of the issue), click on the Partition tab at the top of the window.
- Select any partitions listed and click the minus (-) button to delete them.
- Once you have deleted all partitions, click Apply.
- Check the Drive:
- Once the process is complete, the drive should be ready to use. If it still shows an issue, proceed to Method 2.
Method 2: Using Terminal (for deeper problems)
If Disk Utility doesn’t work and the drive still has issues, you can use Terminal to completely wipe the drive and remove any partitions.
- Open Terminal:
- Go to Applications → Utilities → Terminal or search for Terminal via Spotlight.
- List the Drives:
- In the Terminal, type the following command to list all drives connected to your Mac:
diskutil list - This will show you all connected drives and their partitions. Find the disk identifier for your flash drive (for example,
/dev/disk2).
- In the Terminal, type the following command to list all drives connected to your Mac:
- Unmount the Flash Drive:
- Before erasing or deleting partitions, unmount the drive. Replace
diskXwith the identifier for your flash drive (e.g.,disk2):sudo diskutil unmountDisk /dev/diskX
- Before erasing or deleting partitions, unmount the drive. Replace
- Erase the Drive:
- Now, to completely wipe the drive and remove all partitions, run the following command:
sudo diskutil eraseDisk FAT32 MYDRIVE MBRFormat /dev/diskX- FAT32 is just an example. You can replace it with exFAT or MS-DOS (FAT) depending on your needs.
- Replace
MYDRIVEwith the name you want to give your drive. - Replace
/dev/diskXwith the actual identifier of your flash drive.
- Now, to completely wipe the drive and remove all partitions, run the following command:
- Confirm the Process:
- Terminal will ask you to confirm the operation. Type your administrator password and press Enter.
- Reformat the Drive:
- After running the above command, the drive should be completely wiped, and any partitions should be removed.
- You can then reformat the drive in Disk Utility if needed.
Final Thoughts
- Be cautious: These operations will completely erase all data on the drives, so make sure to back up anything important beforehand.
