[dm-crypt] Cannot wipe header on device

Michael Kjörling michael at kjorling.se
Thu Dec 10 14:35:27 CET 2015


On 10 Dec 2015 11:18 +0100, from luis.a.de.sousa at gmail.com (Luís de Sousa):
> Cannot wipe header on device /dev/sdb1.
> Command failed with code 5: Cannot wipe header on device /dev/sdb1.

What happens if you try to overwrite the first ten MB or so of the
device using dd?

Something like `dd if=/dev/zero of=/dev/sdb1 bs=4096 count=2500 conv=sync`

-- 
Michael Kjörling • https://michael.kjorling.semichael at kjorling.se
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)


More information about the dm-crypt mailing list