- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
Create a initramfs hoock script which copies cryptestup via copy-exec
P.S The troubleshooting guide was written from memory, so there might be some missing pieces.
Should investigate:
…
Is not shrinking the most heavier than shrinking the least possible.
[wiki.archlinux.org: dm-crypt/Device encryption#Encrypt an existing unencrypted file system (824010)](https://wiki.archlinux.org/index.php?title=Dm-crypt/Device_encryption&oldid=824010#Encrypt_an_e…
Based on above Ask Ubuntu answer:
--reduce-device-size=bytes Reduce data device size (move data
offset). DANGEROUS!
...
-M,…
On my Debian 12 GNOME work laptop:
cryptsetup reencrypt --help
Output:
cryptsetup 2.6.1 flags: UDEV BLKID KEYRING KERNEL_CAPI
Usage:…
cryptsetup reencrypt
Command requires device as argument.
even if sudo.
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/2014228/comments/5 seems to recommend instead cryptsetup reencrypt.
The Ask Ubuntu question 1445879 faces the same issue as me.
On my Debian 12 GNOME work laptop:
command-not-found --ignore-installed cryptsetup-reencrypt
cryptsetup-reencrypt: command not found
DuckDuckGo and Google search "cryptosetup-reencrypt".
sudo apt install -y cryptosetup-reencrypt
...
E: Unable to locate package cryptosetup-reencrypt
Let us figure out why I faced above in https://gitea.lemnoslife.com/attachments/f3fda48c-04fc-4a5c-ac80-d884d6cde31c:
cryptosetup-reencrypt /dev/vda3
cryptosetup-reencrypt:…
I recommend switching to cryptsetup-reencrypt, which is properly maintained and tested upstream even when the format of the LUKS header changes (to my knowledge, this has at least happened twice…
The Ask Ubuntu answer 369623 states quickly that it is not possible.