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

Piotr Roszatycki dexter at debian.org
Sun Feb 17 11:43:28 UTC 2008


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.

TIA.

-- 
 .''`.    Piotr Roszatycki
: :' :    mailto:Piotr.Roszatycki at gmail.com
`. `'     mailto:dexter at debian.org
  `-





More information about the Pkg-cryptsetup-devel mailing list