My first VM in Xen was installed using LVM, so I had a DomU running LVM for the root and swap partitions. This is not the way most VMs are installed, but I thought I'd document how I got pv-grub to load.
When in the DomU, you can take a look at /etc/fstab to get the required value for root= in the kernel line.
Edited /boot/grub/menu.lst in the guest (DomU) with the appropriate path for root=:
default 0 timeout 5 title vmlinuz-3.13.0-24-generic root (hd0,0) kernel /vmlinuz-3.13.0-24-generic root=/dev/mapper/GuestA1--vg-root initrd /initrd.img-3.13.0-24-generic quiet
then shut it down.
Edited /etc/xen/Guest-A1.cfg on the host (Dom0), removing /boot from the grub configuration path in extra =:
name = "Guest-A1-pv" memory = 512 disk = ['phy:/dev/Host-A-vg/GuestA1-root,xvda,w'] vif = [' '] #bootloader = "pygrub" #kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz" #ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz" #extra = "debian-installer/exit/always_halt=true -- console=hvc0" kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz" extra = "(hd0,0)/grub/menu.lst"