You are not logged in.
Pages: 1
Hi,
i have two USB hdds which are encrypted with luks and which I'd like to unlock and mount at boot time. But in some cases crypttab tries to unlock the hdds too soon when the USB drives have not been recognized by the system.... so of course there is no device to unlock at that moment and crypttab fails - so I need to unlock it by hand later.....
My current solution is to delay the unlocking by putting "sleep 5" into /etc/rc.sysinit right before the crypttab unlocking....
Does anybody have a better idea?
Best,
smax
Offline
I have not tried, but if the mapper is the problem: dmsetup has options for synchronising with udev.
Offline
Pages: 1