I want to completely delete all GPT (meta)data off an USB drive, so I can create a fresh new GPT.
So I do:
sudo gpt destroy disk3
No errors, seems OK. However if I do:
sudo gpt -r show disk3
start size index contents 0 245759967 245759967 32 Sec GPT table 245759999 1 Sec GPT header
So apparently there's still something left at the end of the drive. If I now do:
sudo gpt create disk3
gpt create: disk3: error: device already contains a GPT
How do I completely get rid of all partitioning structures or GPT index or metadata backup headers or whatever is still there, and completely re-create a new, clean GPT from scratch?