Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.09 KB

cryptsetup-convert.8.adoc

File metadata and controls

37 lines (26 loc) · 1.09 KB

cryptsetup-convert(8) Manual Page

NAME

cryptsetup-convert - converts the device between LUKS1 and LUKS2 format

SYNOPSIS

cryptsetup convert --type <format> [<options>] <device>

DESCRIPTION

Converts the device between LUKS1 and LUKS2 format (if possible). The conversion will not be performed if there is an additional LUKS2 feature or LUKS1 has unsupported header size.

Conversion (both directions) must be performed on inactive device. There must not be active dm-crypt mapping established for LUKS header requested for conversion.

The --type option is mandatory with the following accepted values: luks1 or luks2.

WARNING: The convert action can destroy the LUKS header in the case of a crash during conversion or if a media error occurs. Always create a header backup before performing this operation!

<options> can be [--header, --type, --disable-locks].