[xen-tools-discuss] Re: Debian guest on Fedora 8 Dom0

Henning Sprang henning.sprang at gmail.com
Wed Mar 26 21:40:25 CET 2008


On Wed, Mar 26, 2008 at 6:29 PM, Steve Kemp <steve at steve.org.uk> wrote:
> On Wed Mar 26, 2008 at 13:28:33 -0400, Mike Brotzman wrote:
>
>  > Yes, thank you.  To confirm the kernel and ramdisk paths are on the
>  > guest not the host right?
>
>   *Always*

No,  it's exactly the other way round!

The ramdisk and kernel needs to be on the HOST, and those pathes in
the config file point to the location in the hosts filesystem.

_inside_ the guest you only need the kernel modules required by the
kernel (but technically, you will just install the  kernel package
that pulls everything in - especially for running on other
distributions, this wil be the p,ace to get the xen linux kernel
from).

>   (Unless you use pygrub, but if you do that you'll know about it.)

Exactly! With pygrub, you have a filesystem inside  a partition, which
is inside a lvm volume or a file, and pygrub acts as if it is a real
grub running, loading the kernel and ramdisk from inside the guests
filesystem.

But this way of running guests is not supported with xen-tools, as far
as I know - xen-tools only creates a filesystem dirctectly in a lvm
volume - not partitions, and I guess that cannot be handled with
pygrub.

(this is enough for many use cases, and if one partition is enough -
for complex partitioning, I believe the way xen-tools does it
currently, creating a lvm for each partition, get's wuite complex -
too many lvm volumes)

Henning





More information about the xen-tools-discuss mailing list