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.

-- 
partitioner crashes with random encryption key.
https://bugs.launchpad.net/bugs/154502
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to