Comment 5 for bug 154502

Revision history for this message
Josef Wolf (jw-raven) wrote :

Thanks for conforming the problem, Concentus.

Can you please explain what you mean with "not use any md-devices"? AFAIK, crypted partitions always use md-devices.

BTW: AFAICS, the problem is related to the type of the encryption key and not to the partition type. When I use swap with a passphrase instead of a random key, the install works fine. So, as a workaround, I install following script in /etc/rcS.d:

[code]
#! /bin/sh

cd /etc

if [ -e crypttab ] ; then
    sed -e 's! none luks,swap! /dev/random swap!' <crypttab >crypttab.new

    if diff crypttab crypttab.new; then true; else
        ln crypttab crypttab.orig
        mv crypttab.new crypttab
        update-initramfs -u ALL
    fi
fi

rm $0
sync
[/code]

With this, I have to choose/type a key for the swap when installing, but when the install is finished, it is switched to a random key.