How to recover a usb which was made bootable using dd tool [duplicate]
Solution 1:
You need to remove the image of the install disk completely. Run the following series of commands:
sudo fdisk /dev/sd_ # Insert drive letter as appropriate
p # This will list partitions on it. CHECK it's the pendrive!
d # Delete partition (repeat until all deleted).
p # If you still have partitions, run d again
n # Create a new partition. Physical, accept defaults for size etc
t # Change type - use option b (vfat). Consider c (bigger USB sticks).
w # Write out changes & quit fdisk
sudo mkfs -t vfat /dev/sd_1