Thanks for your reply. I got it to work now.

2011/6/10 tv.deb...@googlemail.com <tv.deb...@googlemail.com>:
> Hi, I can confirm that it works, my main system is fully on Luks ( To be
> precise it is luks on raid1, and /home is decrypted with pam, swap with
> decrypt_derived.).

(The additional RAID layer might make a difference. I dealt with a
similar bug 2 1/2 years ago, where it didn't recurse correctly through
the device mapper layers [1]; at that time I actually had a system
where encrypted root set up by the installer mostly worked out of the
box, too, and I was using LVM, so that might make the difference. But
it also was lenny and not squeeze, of course.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507721
)

> I can't explain why it doesn't work in your case, you could try to add
> the required modules to /etc/initramfs-tools/modules, or check in

(At the point where I'm running update-initramfs (from within a chroot
from the running GRML system), all modules are loaded of course,
although from GRML)

> /etc/initramfs-tools/initramfs.conf that you have MODULES=most and
> BUSYBOX=yes.

(That's the case.)

> Maybe cp the /usr/share/initramfs-tools/hooks/cryptroot hook script to
> /etc/initramfs-tools/hooks/, this shouldn't be necessary though.

My system didn't have the /usr/share/initramfs-tools/hooks/cryptroot
file; while trying to figure out why, I realized that the "cryptsetup"
package wasn't installed! After installing it, update-initramfs now
creates an initrd that *does* contain cryptsetup.

I expected that the installer would install cryptsetup automatically
(at least) if the user creates encrypted partitions using its
partitioner. I would say this is a bug of the installer; anyone
disagreeing?

> Do you have a /etc/crypttab file, is it accurate ?

Yes it's already been there and accurate.

> Is the fstab too ?

Is correct, too.

> Tried reinstalling cryptsetup from the chroot ?

Strip the "re" :)

So I'm looking forward to report a bug against the installer (actually
several, since it didn't install busybox either).

BTW is there a way to make the boot process cache the pass phrase, so
that when I'm using the same for several partitions it would only ask
once? (Yes, I know that using LVM I could put all of those into the
same volume group on a single encrypted physical volume, but I'd like
to avoid LVM this time in an attempt to avoid potential issues (I'm
suspecting LVM to be a part in some unexplained slowness that I'm
suffering from on the machine where I'm using it).)

Christian.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=bdrojaxz7q+merraqfbwwn4n...@mail.gmail.com

Reply via email to