[dm-crypt] `cryptsetup luksFormat` fails: "Cannot wipe header on device"

Tom Roche Tom_Roche at pobox.com
Sat Mar 22 06:26:02 CET 2014

[Tom Roche Thu, 20 Mar 2014 20:59:27 -0400]
>> [...] I'm attempting to install to an extended partition. E.g., do I need to
>> create a logical partition=/dev/sda5 inside the extended partition=/dev/sda4 ?

[Arno Wagner Fri, 21 Mar 2014 06:07:26 +0100]
> [either that or] Make sda4 a primary partition (thereby making yourself
> unable to create any [additional] partitions

Yep, logical partition fixed, thanks.

While I'm here, a `cryptsetup luksFormat` feature request: if possible, It Would Be Nice to implement a test of the target partition that gave the user more useful feedback than is currently provided. Extra credit for failing before passphrase typing :-)

thanks again, Tom Roche <Tom_Roche at pobox.com>

More information about the dm-crypt mailing list