On 17/02/2008 Piotr Roszatycki wrote: > 2008/2/16, David Härdeman <[EMAIL PROTECTED]>: > > >If rootdelay doesn't work for you, you might raise the value. If you > > >still object, then please proof that I'm wrong. > > > > I agree...the initramfs-tools check for rootdelay should see that the > > root device doesn't exist and wait (since root will be set to something > > like /dev/mapper/blablabla)...so the sleep should already be there > > unless I'm mistaken. > > It doesn't resolve the problem because rootdelay waits for root device > but before this will happen, the "cryptsetup luksOpen" fails because > it can't find the crypt source device. > > Look, if you can't imagine the whole booting process, I think it could > be possible to see it in action with help of QEMU. AFAIR, it emulates > USB devices like usb-storage. I think it can't boot from usb-storage, > yet, but I think the crypted root filesystem could be on USB device. > > Also I suggest to read and analyze the > /usr/share/initramfs-tools/scripts/local file. You can see there what > and in what order is called at boot time.
You're correct, that $ROOTDELAY is used in scripts/local, but it's also used in scripts/init-premount/udev, and this is invoked _before_ scripts/local-top/cryptsetup. Please read /usr/share/initramfs-tools/scripts/init-premount/udev greetings, jonas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]