Celeb Glow
news | March 06, 2026

Restore bootable USB flash drive to normal

I’m trying to create a persistent installation of Parrot OS on my 16GB USB flash drive. I made the mistake of making the USB flash drive bootable without partitioning the drive into 2 in the beginning. Now I am unable to revert the USB flash drive back to normal.

I am using macOS. When I open Disk Utility the USB flash drive is only recognized as 701KB and I am unable to erase it using the diskutil in the command line since it gives the error:

The chosen size is not valid for the chosen file system.

Any help is greatly appreciated, thank you.

2 Answers

I found a similar post on Stack Overflow where someone had the same problem and just ran this diskutil command from the command line:

diskutil zeroDisk /dev/disk2

Such a simple fix, so hard to find.

4

Disk utility gives error because it detects the wrong identifier - what I did

was using diskutil list and then based on the memory size, could find the right Identifier - here disk2 - then I used diskutil zeroDisk /dev/disk2

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy