Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
I don't understand your question - you did the vgchange -ay already and got the system to boot; so what do you want to "fix" now that isn't already fixed? –  Jim Salter Nov 22 '12 at 17:55

2 Answers 2

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

share|improve this answer

You can try regenerating your initramfs (with update-initramfs), but with such little info to go on with, mine is just a shot in the dark.

This could work if, for example, you somehow changed your VG's name or other parameter, but that is not reflected in /etc/lvm.conf inside the initramfs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.