[dm-crypt] Mildly OT: LUKS and the Debian installer

Diagon saout.boxy at xoxy.net
Tue May 22 12:34:18 CEST 2018


On 05/22/2018 01:53 AM, Arno Wagner - arno at wagner.name wrote:

> The only advice I have is to roll your own initrd.
> Not that hard, at least with sysVinit (no idea about 
> systemd, I do not use it). 
> FAQ Chapter 9 gives some pointers:
> 
> https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions#9-the-initrd-question

Arno- I thank you for the input, and may consider it if I can't make any
other headway.  Regarding systemd, the reason I ended up at Debian is
that I was trying to install Devuan.  I failed there, and they told me
that their installer had not been forked from Debian, so any issues
should be raised there.  So I tried the same things in Debian and had
the same problems.  But then, why not in Ubuntu?

> Regards,
> Arno
> 
> On Tue, May 22, 2018 at 09:50:39 CEST, Diagon wrote:
>> So I'm doing something that I've done many times with Ubuntu.  That is,
>> preparing my disks in the live system (usually /boot on a USB stick and
>> / on luks, no partition table on that second drive), then running the
>> install, and finally pivoting in to fix crypttab and update the initramfs.
>>
>> After many tries with the debian installer, I've almost been able to get
>> this to work, though it does need some tending to to get there.  The
>> problem comes after I've pivoted in.  I install cryptsetup, as I find
>> that it's not there, and then correct crypttab/initramfs.  Oddly, I find
>> the initramfs does not include cryptsetup.  Hmmm.
>>
>> I'm getting crickets on the Debian user list, but I figure someone here
>> must have done something like this.  Any hope I might find help?
>>
>> /D




More information about the dm-crypt mailing list