|Subject:||Re: grub2 + LVM + Xen DomU|
|Date:||Thu, 23 May 2013 16:11:13 -0400|
On May 23, 2013, at 8:38 AM, nesredin mohammedjemal Mahmud <address@hidden> wrote:
grub-install is probably looking for an MBR so it knows where to install its various parts. But there is no MBR on the LV.
What I think you need to figure out for hvmloader, which I don't understand at all, is that it uses a host LV as a block device for the VM. That is, it's an LVM device for the host, but it's like a hard drive for the guest. If that's correct, then inside of the guest you need to partition it with fdisk or parted. Even if it's just one partition.
The fact you're referring to the device as /dev/ubuntu/root and /dev/ubuntu/hvm sounds to me like you're running grub-install from the host, not from inside the VM. From within the VM, you probably need to partition the block device as if it were a regular hard drive, and then grub-install run on that block device from within the VM will work. And then the VM BIOS with hvmloader will work. But I'm guessing.
So unless someone on this list steps up with more xen specific knowledge about hvmloader, I think you need to ask the question on a xen specific list.
|[Prev in Thread]||Current Thread||[Next in Thread]|