Still problems installing hardy with crypted partitions (was: Re: Problems installing gutsy with crypted partitions)

Josef Wolf jw at raven.inka.de
Sun Apr 20 10:02:46 UTC 2008


On Wed, Oct 17, 2007 at 04:57:50PM +0200, Josef Wolf wrote:

Hello,

For 7.10rc, I reported the problem attached at the end of this mail.
I also filed a bug for it:

  https://bugs.launchpad.net/ubuntu/+source/partman-md/+bug/154502

The problem still exists in 8.04rc, so there is still no way to have a
swap partition with a random passphrase.

Am I really the only one who tries to encrypt a swap partition with a
random passphrase?  Given that the partitioner won't let you have an
encrypted partition with an unencrypted swap, I can't believe I am the
only one who noticed the probelm.  Do you guys really typing in
passphrases for your swap partitions?

Here is my original mail:

> I noticed that 7.10 has the new d-i functionality to create encrypted
> partitions at install time.  So I decided to give it a try.  I decided
> to use the following setup:
> 
>  partition   size   mountpoint
>  -----------------------------
>       hda1   100MB  /boot   not crypted
>       hda2    10GB  /       crypted, passphrase
>       hda3     2GB  swap    crypted, random password
>       hda4    10GB  /home   crypted, passprase
> 
> This setup worked as a charm with debian etch.
> 
> This is what I did:
> 
> 1. In partman, I assigned hda2, hda3 and hda4 to "Use as a crypted volume".
> 
> 2. I changed hda3 to use "random password".
> 
> 3. Selected the new menu entry "assign crypted volumes" in partman's main
>    menu.
> 
> 4. Now, here's the first problem (this is inherited from debian): there's

     [ skipped bullet 4 since this was my error and is unrelated ]

> 5. I am asked to enter passphrase+confirmation for hda2.  I enter them
> 
> 6. Then d-i says it is starting up the partitioner.
>    Huh?  I would have expected to be asked for passphrase+confirmation
>    for hda4!
> 
> 7. d-i hangs at 47%
> 
> 8. I switch to second console.  "ps ax" shows that
>    /lib/partman/init.d/35dump hangs.
> 
>    Indeed, "tail /var/lib/partman" confirms that /lib/partman/35dump hangs
> 
> 
> Any ideas why I am not asked for hda4 passphrase and what at causes
> this hang?




More information about the ubuntu-users mailing list