I created a Debian Netinstall Bootable USB drive using a SanDisk Cruzer Edge. The USB stick booted fine but now I cannot reformat it back. Diskpart reads it as 0B used and 0B free, Disk Management doesn't detect any partitions, and Xubuntu and GParted (haven't tried Live) doesn't even detect it (no appearance on the desktop or fdisk). I am unable to format it with either diskpart's clear, SDFormatter, or Windows' Format tool (SDFormatter doesn't give the option and the format box doesn't appear). I used Win32DiskImager to create the bootable drive. How can I reformat it back to regular storage?
It turns out that my USB stick is on
/dev/sdb1 according to
ls -l /dev/disk/by-id. GParted seems to be working, but I don't know how to continue from here though. Hopefully I can sort it out myself.
I used GParted to create a new partition table, then allocated it with Disk Management.