thanks for the tip with udevsettle - i added it at 2 places:
--- /usr/share/initramfs-tools/scripts/local-top/cryptroot.orig 2007-02-25 20:26:04.057540831 +0100 +++ /usr/share/initramfs-tools/scripts/local-top/cryptroot 2007-02-25 20:56:21.484427131 +0100 @@ -171,6 +171,9 @@ activate_evms $cryptsource fi
+ # wait for udev ready + /sbin/udevsettle --timeout=30 + if [ ! -e $cryptsource ]; then echo "cryptsetup: Source device $cryptsource not found" return 1 @@ -245,6 +248,8 @@ done
if [ $count -lt 3 ]; then + # wait for udev ready + /sbin/udevsettle --timeout=30 return 0 else echo "cryptsetup: maximum number of tries exceeded"
But I have had a second error: in /boot/grub/menu.lst the bootparameters root= and cryptoroot= where swapped (but it works with dapper before):
wrong
root=/dev/hda5 cryptoroot=/dev/mapper/root_c
working:
cryptoroot=/dev/hda5 root=/dev/mapper/root_c
thanks for the tip with udevsettle - i added it at 2 places:
--- /usr/share/ initramfs- tools/scripts/ local-top/ cryptroot. orig 2007-02-25 20:26:04.057540831 +0100 initramfs- tools/scripts/ local-top/ cryptroot 2007-02-25 20:56:21.484427131 +0100
activate_ evms $cryptsource
+++ /usr/share/
@@ -171,6 +171,9 @@
fi
+ # wait for udev ready
echo "cryptsetup: Source device $cryptsource not found"
return 1
+ /sbin/udevsettle --timeout=30
+
if [ ! -e $cryptsource ]; then
@@ -245,6 +248,8 @@
done
if [ $count -lt 3 ]; then
return 0
echo "cryptsetup: maximum number of tries exceeded"
+ # wait for udev ready
+ /sbin/udevsettle --timeout=30
else
But I have had a second error: in /boot/grub/menu.lst the bootparameters root= and cryptoroot= where swapped (but it works with dapper before):
wrong
root=/dev/hda5 cryptoroot= /dev/mapper/ root_c
working:
cryptoroot= /dev/hda5 root=/dev/ mapper/ root_c