[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#642115: debian-installer: guided full disk encryption + LVM complains about insecure swap



---------------------------------
Jon Dowland wrote:
>> I've just monkey-patched this instance of d-i to write $device to a temporary file.
>
>Welcome to d-i development. ;-)
>
>>    dminfo=$(dmsetup table -j$mag -m$min 2> /dev/null | \
>>             head -n1 | cut -d' ' -f3) || return 1
>>
>> dmsetup table -j$mag -m$min returns:
>>
>>     sda5_crypt: 0 16269312 crypt …
>>
>> the above command results in $dminfo being 16269312. It is then checked against
>> 'crypt':
>
>Huh, over in post-base-installer.d, it gets it right:
>
>           dmsetup table | cut -d' ' -f4 | grep -q "crypt" 2>/dev/null; then
>                apt-install cryptsetup
>
>This must have been broken since before 2010.

Last weekend I decided to throw out ubuntu and go back to debian,
which I haven't run on the desktop for almost ten years, but I soon
run into this problem. However, lucky for me, someone smarter than me
had the exact same problem (at quite exact the same time) and now it's
solved :) Internet communities are great :) However, my system is in a
kind of a broken state after playing with LVM and encryption so I'm
wondering if there is some simple fix to this if I don't want to wait
for the next testing build? I've seen some suggestions to solutions
here but I'm not skilled enough to sort out what is the "final"
solution and how to actually implement it.. Or should I install stable
and upgrade to testing instead? It would be great if some one could
help me, I'm really excited to try debian!  :)

regards
Johan


Reply to: