You are asking in the wrong place. Please cmplain to Ubuntu fore breaking their stuff. As to doing it yourself, you can basically roll your own initrd. The Cryptsetyp FAQ has some pointers in section 9: https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions#9-the-initrd-question Regards, Arno On Wed, May 22, 2019 at 13:41:20 CEST, Dominic Raferd wrote: > I am working with Debian LUKS + dm-crypt solution using Ubuntu 18.04 > and now 19.04. > I want the capability to increase the space in the LV root partition > (not the unencrypted boot partition) by adding a new drive, creating a > partition on it, encrypting it with the same LUKS key and adding this > encrypted partition to the root LV - so that at boot time the password > is entered once and the system can then boot. > I have this working under Ubuntu 18.04. I create the new encrypted > partition with cryptsetup luksFormat using the LUKS key of the existing > root partition. I hack > /usr/share/initramfs-tools/scripts/local-top/cryptroot (version 2.0.2) > so that at boot time the LUKS key of the root partition is extracted on > the fly (after the root partition has been mounted/password-enabled by > user) and fed to cryptsetup luksOpen for the 2nd partition. So this > partition can be mounted just before the root LV is activated. The > password is only entered once, as before. > But this no longer works with Ubuntu 19.04 because of the many code > changes in cryptroot script version 2.1.0. > Rather than my hack, is there a 'recommended' or better way to achieve > this? If not, can the (latest) cryptroot script be modified to make it > possible without a hack? It seems to me reasonable that there should be > a straightforward way to expand the root LV in this scenario. > Dominic > _______________________________________________ > dm-crypt mailing list > dm-crypt@xxxxxxxx > https://www.saout.de/mailman/listinfo/dm-crypt -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@xxxxxxxxxxx GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx https://www.saout.de/mailman/listinfo/dm-crypt