AFAIU you do not need the data in the USB stick anymore?
And want to shred it before partitioning it anew?
I'd use
dd for the shredding.
It's very simple, but you have to be 125% sure you have the right drive:
Code:
dd if=/dev/urandom of=/dev/sdX bs=4M
You need elevated privileges.
Replace X with your drive letter.
bs=4M is not necessary but will likely speed things up. Even so, it can take a while for 30GB.
Then, I'd use
gparted to create a new partition table (MSDOS) and the partitions I want (all of them
physical unless you plan to have more than 4).
And any ext4 partition can be larger than 20GB.