tag:blogger.com,1999:blog-522963544508056339.post4331728041990492600..comments2020-10-19T01:41:36.022+03:00Comments on Wannabe SysAdmin: Ubuntu preseed.cfg with encrypted lvmptomuskhttp://www.blogger.com/profile/09140306203913751455noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-522963544508056339.post-19937382614404022392020-10-19T01:41:36.022+03:002020-10-19T01:41:36.022+03:00You can use partman-crypto/passphrase and partman-...You can use partman-crypto/passphrase and partman-crypto/passphrase-again [1].<br /><br />[1]: https://salsa.debian.org/installer-team/partman-crypto/-/blob/master/debian/partman-crypto.templates#L344-374Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-6290621604331583262020-09-01T10:54:48.307+03:002020-09-01T10:54:48.307+03:00to use all the remaining space for /home I do this...to use all the remaining space for /home I do this:<br />100% 100% 100% ext4 $lvmok{ } lv_name{ home } \<br /> in_vg { crypt } method{ format } format{ } \<br /> use_filesystem{ } filesystem{ ext4 } mountpoint{ /home } \<br /> .\scphttps://www.blogger.com/profile/15190267549118458729noreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-18633858616283319502018-01-03T21:06:04.443+02:002018-01-03T21:06:04.443+02:00Tried this and it does not work with Ubuntu Server...Tried this and it does not work with Ubuntu Server 16.04.3 LTS. Will complain about "selected recipe does not contain any partition that can be created on LVM volumes." So there is something new that is required but I have not found out what that might be.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-19761633728548737222017-08-22T22:41:24.788+03:002017-08-22T22:41:24.788+03:00I have the EXACT same question. First I wanted RA...I have the EXACT same question. First I wanted RAID+crypto (without LVM), but I've found you can't do crypto without LVM. But I haven't found a combination for RAID+crypto+LVM that works. I've asked on the Debian mailing lists, stack exchange, scoured pretty much EVERYWHERE with no luck.<br /><br />You didn't happen to have found an answer for this, did you?Andre Goreehttp://blog.drenet.netnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-22254766725191943402017-07-09T18:10:24.210+03:002017-07-09T18:10:24.210+03:00Do you know if it is possible to do RAID-1, then c...Do you know if it is possible to do RAID-1, then crypto, then lvm? If not, do you have any suggestions on how to do disk mirroring, with encryption, and the capability of resizing partitions?Burt Fischerhttps://www.blogger.com/profile/17185502762553821857noreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-80950524005524505722016-05-05T21:54:28.998+03:002016-05-05T21:54:28.998+03:00Oh yeah. I have spent the last day and a half tryi...Oh yeah. I have spent the last day and a half trying to get that to work. No dice. I can do it manually, but not preseed.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-40359865218293866962014-04-02T22:24:57.338+03:002014-04-02T22:24:57.338+03:00Do you know how to set the IV Algorithm for the en...Do you know how to set the IV Algorithm for the encryption?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-69117038233456541462014-03-23T14:00:04.629+02:002014-03-23T14:00:04.629+02:00Do you know what would be the correct sentence to ...Do you know what would be the correct sentence to setup the initial passphrase ?<br />I've successfully used your recipes, but in my case I can live with rhe security risk associated with the initial passphrase beeing readable in the preseed file, and I'd rather have a full automated install, with a know-correct passphrase.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-14575245612029402992013-04-04T19:32:15.330+03:002013-04-04T19:32:15.330+03:00Has anyone figured out how to do this _without_ LV...Has anyone figured out how to do this _without_ LVM? Just a plain primary partition that is encrypted? I am able to configure this manually in the installer, but I have not figured out how to preseed this.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-74583128709542715962013-01-28T15:36:16.547+02:002013-01-28T15:36:16.547+02:00I'd consider it a security risk to add it to t...I'd consider it a security risk to add it to the configuration file, therefor I just enter it to the prompt on the target computer.<br />However it should be possible to add it to the configuration in plain-text should you desire to do so.ptomuskhttps://www.blogger.com/profile/09140306203913751455noreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-19806430779403077832013-01-25T16:57:12.175+02:002013-01-25T16:57:12.175+02:00I hope this will save me a lot of work!
Stupid que...I hope this will save me a lot of work!<br />Stupid question maybe, how is the encryption password provided?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-522963544508056339.post-83768713039728267022012-12-07T13:45:01.233+02:002012-12-07T13:45:01.233+02:00I agree the documentation of "partman-auto/me...I agree the documentation of "partman-auto/method string crypto" is scarce to say the least. My use case calls for only one partition (/) and no swap, but now I have somewhere to start at least. Thanks a lot!Danielnoreply@blogger.com