Well, even with all the patches mentioned so far, you still have to type your password twice. A solution might be Novells approach on openSuSE 11.1: They add kernel options.
it goes like this:
$ cat /proc/cmdline
root=/dev/mapper/root luks_root=/dev/sda5
swap=/dev/mapper/swap luks_swap=/dev/sda2
home=/dev/mapper/home luks_home=/dev/sda6
Currently, ubuntu uses only root=. That's it. So So there is a script called cryptroot:
/usr/share/initramfs-tools/scripts/local-top/cryptroot
It should store the password in an environment variable and re-use it. Still, SuSEs approach is different, but it is also more complex and much uglier.
Well, even with all the patches mentioned so far, you still have to type your password twice. A solution might be Novells approach on openSuSE 11.1: They add kernel options.
it goes like this: mapper/ root luks_root=/dev/sda5 mapper/ swap luks_swap=/dev/sda2 mapper/ home luks_home=/dev/sda6
$ cat /proc/cmdline
root=/dev/
swap=/dev/
home=/dev/
Currently, ubuntu uses only root=. That's it. So So there is a script called cryptroot: initramfs- tools/scripts/ local-top/ cryptroot
/usr/share/
It should store the password in an environment variable and re-use it. Still, SuSEs approach is different, but it is also more complex and much uglier.
Hope that helps. Can some1 submit a patch?