Does anyone know what it means when the 'fdisk' command returns 'unsupported wipe mode' when trying to delete data on a USB drive? My command was 'sudo fdisk -W /dev/sdb'. I know there are other ways of doing it with 'dd' for example but was wondering why this doesn't work with the fdisk command.
Asked
Active
Viewed 4,392 times
1 Answers
1
The way to write the command: sudo fdisk -W always /dev/sdb (capital W is right if you are trying to wipe the partition signatures)
However, this doesn't actually delete your data. If you really want to clear it then you have to use dd or similar. Otherwise you can use fdisk to make new partitition signatures, and then make new filesystems and write over your old data. And if you don't care about making a new partition table, you can just make a new filesystem on your current partition and not even bother with fdisk.

eric
- 11
/dev/sdb
, you are running it on a device. the optionW
(upper case) is for a partition, and you might have better luck using the optionw
(lower case). Seeman fdisk
– Charles Green Nov 28 '19 at 01:41