initrd no longer activating encrypted filesystems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm running a setup with encrypted LVM on my laptop. Until very recently, I was prompted for the passphrase to the encrypted partition (/dev/sda2) early during the boot process, and once it was opened my volume group (vg00) was activated automatically. Boot would continue normally until the login screen.
Starting about 2 weeks ago, I stopped being asked for the passphrase. I'm dropped to a busybox prompt telling me that the root filesystem can't be found, but it never even tried to open the encrypted partition. Two simple commands ('cryptsetup luksOpen /dev/sda2 main' and 'lvm vgchange -a y vg00') fix the issue.
So why am I not being prompted for the passphrase like I used to be? Nothing is actually missing from the initrd, and I actually am prompted for the passphrase later (far too late) in the boot process. I just press enter several times until it gives up and everything continues normally past that.
I should mention that the laptop in question is running Jaunty, so the packages involved are changing frequently. My initrd has been regenerated a number of times since the problem started, and the kernel has been updated at least twice.
My guess is that the order of the stuff run in the initrd has been changed, and now the cryptsetup portion happens too late in the process.