[dm-crypt] Move from basic dm-crypt to LUKS

Milan Broz mbroz at redhat.com
Sat Jun 26 17:03:08 CEST 2010


On 06/17/2010 07:02 PM, Alberto Gonzalez Iniesta wrote:
> I created a plain dm-crypt mapping on my laptop HD, when (later) I found
> I actually wanted a LUKS one. I know [1] I cannot migrate from
> no-encryption to LUKS (without backup/restore). But can I move my basic
> dm-crypt partition to use LUKS, or am I doomed to backup/restore?

You have to backup/restore. LUKS metadata are located at start of device,
plain dm-crypt have no metadata there. (So the LUKS device will be even smaller
of this metadata area.)

Milan


More information about the dm-crypt mailing list