You are not logged in.
Pages: 1
I have my working environment on top of LUKS1.
I wanted to migrate to LUKS2, but I was wondering if there's any non-destructive way to do so or if is this even possible.
The system is UEFI booting from an unencrypted ESP partition (/boot), it prompts for the passphrase on boot time and then, starts mounting the encrypted root partition.
Cheers.
Offline
Which boot loader do you use ?
On grub2 there are some remarks about luks2 here, https://wiki.archlinux.org/index.php/GRUB
And here google found some infos about in-place conversion form LUKS1: https://www.saout.de/pipermail/dm-crypt … 05771.html
Offline
there is 'cryptsetup convert' just for that purpose (consider taking a backup of the luks header just in case)
note that grub does not support LUKS2 but if your /boot is unencrypted, you should be fine
also keyslots take up more space for LUKS2 so how many keyslots you have depends on your data offset. if luksDump says you have 2MiB (4096 sectors) data offset then you're fine. if you only use one keyslot anyway that's also fine
Last edited by frostschutz (2019-12-26 18:59:12)
Offline
Yeah, cryptsetup convert did the trick in less than a second.
Thanks!
Offline
Pages: 1