PDA

View Full Version : [ubuntu] Booting from grub2 LVM in a KVM guest fails when using the linux-virtual package



nutznboltz
June 7th, 2010, 08:06 PM
Well it does. I switched a working Lucid KVM guest from linux-server to linux-virtual and it could not mount root at boot time and issued a panic instead. Switching back (booted from CD and used "rescue a broken system") revived the VM.

My first guess is that some DM driver module needed for LVM is missing from the linux-virtual package.

nutznboltz
June 7th, 2010, 08:53 PM
Probably not a missing module.

With linux-image-server

CONFIG_BLK_DEV_DM=y

With linux-image-virtual

# CONFIG_BLK_DEV_HD is not set

nutznboltz
June 7th, 2010, 08:57 PM
Similar to this bug:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/560717