Move from basic dm-crypt to LUKS
Hi all,
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?
Thanks,
Alberto
Please Cc: on answers since I'm not subscribed.
[1] http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions#2._Setup
Signature · 5 lines
Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico agi@(inittab.org|debian.org)| en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 9782 04E7 2B75 405C F5E9 0C81 C514 AF8E 4BA4 01C3
Quoted 4 lines · Alberto Gonzalez Iniesta
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