Comment 0 for bug 874063

I don't have a separate boot partition; both / and /boot are on the same Logical Volume.

In Natty, this worked fine. After upgrading to Oneiric, it broke. It hangs for a bit, then kicks me to the initramfs shell. It can't find the root device. /dev/mapper is empty (apart from the "control" device). lvscan manages to find all my logical volumes, but shows them as "inactive".

My old kernels are still able to boot. (If I select them from the GRUB menu). However, if I do update-initramfs -k <old-kernel>, that kernel stops working.

My first suspicion was the the lvm package was failing to copy the necessary information to the initramfs. But having played with the lvm manpages and commands, I can't find what information (i.e. files) would be needed. I suspect I was conflating lvm with something that MD/mdadm needs (I don't use MD*at all*).

So it's probably more that the lvm setup in the initramfs is missing a command, which is needed to make the volume groups active. (Or the udev rules in the initramfs are missing the device & not running the command, etc.) Hmm.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lvm2 2.02.66-4ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic
Uname: Linux 2.6.38-11-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Fri Oct 14 11:19:16 2011
 PATH=(custom, no user)
SourcePackage: lvm2
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (0 days ago)