[Pkg-cryptsetup-devel] Bug#465763: Bug#465763: Bug#465763: Bug#465763: cryptsetup: can't boot from USB device

Jonas Meurer jonas at freesources.org
Sun Feb 17 13:39:20 UTC 2008

On 17/02/2008 Piotr Roszatycki wrote:
> 2008/2/16, David Härdeman <david at hardeman.nu>:
> > >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_

Please read /usr/share/initramfs-tools/scripts/init-premount/udev


More information about the Pkg-cryptsetup-devel mailing list