Ubuntu – /dev/mapper/vg00-root does not exist

12.04boot failureinitramfslvm

Since I upgrade from 11.10 to 12.04 server. I obtain the following error at boot.

/dev/mapper/vg00-root does not exist

I must use the recovery mode to manually do "vgchange -ay" to active my VG00. After this, I exit the initramfs and the system boot normally. How can I fix this?

Best Answer

Steps i've done to fix it:

  1. copy /lib/udev/rules.d/85-lvm2.rules to /etc/udev/rules.d/
  2. change ENV{ID_FS_TYPE}=="lvm*|LVM*" to ENV{ID_TYPE}=="disk"

It's a real bug : https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/147216