This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] pygrub setup

To: xen-users@xxxxxxxxxxxxxxxxxxx, jonr@xxxxxxxxxx
Subject: Re: [Xen-users] pygrub setup
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Fri, 20 Feb 2009 11:19:06 -0800 (PST)
Delivery-date: Fri, 20 Feb 2009 11:19:58 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1235157546; bh=lkwO7jpGF6Bffcrqs7wCZbizxFygjPQz/fwU0kxM6aA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=1RokWCskXF1Cra4M2OFVyFnhEieLcYcl7WWTf/JCPZms0W2YRSFccP5vKl3hEO4xykHjkvmZQzzqVq0qIsHDFra3/WMVSSMZ5CVpy3dlOhxOlrHScU+LgZz4NR3ZiRQMRLdmrju6vf3S1tenRgrDvz03soFoSC6Lu821Gv9jd2A=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=UYckWgKLobfqPh/uUHz2o9OfY5oUMliPWCv+PXV6iVM5KeWU7/z//IBeW7AIE4t21pZpddCraK1SyrbkntjR00TYrPBNauDCdaLLyO/AB8SIXmMSPeh2ouHoRCnWgN4T2iKJqctpS7oTAbE5s7sy9Vy2VlDFUMXMFc4aq0Zh5p8=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090220093343.15325i9w40p4cwgs@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bderzhavets@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Have Mercurial and Git installed on your system.
To port Xen 3.3.2rc1-pre to xen disabled CentOS 5.2 instance (64 bit) install the most recent version of gitco and mercurial (hg).
# cd /usr/src/
# which git
# which hg
# hg clone http://xenbits.xensource.com/xen-3.3-testing.hg
# cd xen-3.3-testing.hg
# make world
# make install
Determine the name of the Xen Linux kernel version that was installed.
# ls /lib/modules
There should be a directory for the Xen Linux kernel (e.g.
Generate the module dependency list and map files
# /sbin/depmod
Create the Xen initial ramdisk image
# /sbin/mkinitrd /boot/initrd-
Disable tls
# mv /lib64/tls /lib64/tls.disabled
Set xend service to start
# /sbin/chkconfig –add xend
# /sbin/chkconfig xend on
Install bridge-utils:-
# yum install bridge-utils
Edit /boot/grub/grub.conf and copy one of the existing boot entries
to make the required changes for Xen and reboot into new kernel.
title Xen-3.3.2-rc1 CentOS 5.2 x86_64 ( (/dev/sdb12)
root (hd1,11)
kernel /xen-3.3.2.gz
module /vmlinuz- ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-


If you would like to understand how pygrub works try to reproduce:-
at your Xen Dom0 ( Linux itself really doesn't matter)

Maybe this one:-
would show you more


--- On Fri, 2/20/09, jonr@xxxxxxxxxx <jonr@xxxxxxxxxx> wrote:
From: jonr@xxxxxxxxxx <jonr@xxxxxxxxxx>
Subject: [Xen-users] pygrub setup
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Friday, February 20, 2009, 1:33 PM

I am trying to get pygrub to work on a pv that I am building. I am looking at
the page:


And under "How?" for item number two it says:

"2.Install a linux-image-xen of your choice."

What exactly are they asking for here? Am I supposed to download xen-3.3.1 and
build it, ala, make xen, make install-xen, make tools, make install-tools,
inside of the vm?

Does it matter what version of xen I am using in dom0?

I will have to build all of this from source because the machine I have to work
on does not have a package management system, like yum, apt or smart.

Any help or extra documentation would be appreciated,


Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>