I have solved this issue for my crypted root filesystem by making the following
modification to /usr/share/initramfs-tools/scripts/local-top/cryptroot:
--- cryptroot.orig 2006-11-12 12:31:08.000000000 +0100
+++ cryptroot 2006-11-12 12:30:41.000000000 +0100
@@ -160,7 +160,11 @@
# Loop until we have a satisfactory password
while [ 1 ]; do
- if [ -x "/sbin/cryptgetpw" ]; then
+ if [ -x "/sbin/usplash_write" -a -p /dev/.initramfs/usplash_outfifo ];
then
+ /sbin/usplash_write "INPUTQUIET Password:"
+ $cryptcreate < /dev/.initramfs/usplash_outfifo
+ /sbin/usplash_write "CLEAR"
+ elif [ -x "/sbin/cryptgetpw" ]; then
/sbin/cryptgetpw < /dev/console | $cryptcreate
else
$cryptcreate < /dev/console
This works for me (in the 2 tests I have made :-)).
Hope this helps.
--Swen
** Attachment added: "Patch for
/usr/share/initramfs-tools/scripts/local-top/cryptroot"
http://librarian.launchpad.net/5056571/cryptroot.patch
--
Upstart doesn't activate luks volumes in cryptsetup
https://launchpad.net/bugs/62751
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs