Re: Command failed with code -1 (wrong or missing parameters)

Milan Broz <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <[email protected]>
On 19/10/2019 07:35, Fourhundred Thecat wrote:
> Hello,
> 
> I am getting this error, when trying to luksFormat my disk partition:
> 
> 
>   # cryptsetup -v luksFormat /dev/vda3
> 
>   Are you sure? (Type uppercase yes): YES
>   Enter passphrase for /dev/vda3:
>   Verify passphrase:
>   Existing 'crypto_LUKS' superblock signature on device /dev/vda3 will
> be wiped.
>   Existing 'crypto_LUKS' superblock signature on device /dev/vda3 will
> be wiped.
>   Command failed with code -1 (wrong or missing parameters).

Hi,

there should be more info, apparently some message is missing.

Please could you run it with the --debug switch and paste the output?
It also reports all needed versions for us.

Also check kernel syslog, some error message can be there.

Milan

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.