[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] pygrub setup
- To: xen-users@xxxxxxxxxxxxxxxxxxx, jonr@xxxxxxxxxx
- From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
- Date: Fri, 20 Feb 2009 11:19:06 -0800 (PST)
- Cc:
- Delivery-date: Fri, 20 Feb 2009 11:19:58 -0800
- 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=;
- List-id: Xen user discussion <xen-users.lists.xensource.com>
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.2.6.18.8-xen)
Generate the module dependency list and map files
# /sbin/depmod 2.6.18.8-xen
Create the Xen initial ramdisk image
# /sbin/mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen
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 (2.6.18.8-xen) (/dev/sdb12)
root (hd1,11)
kernel /xen-3.3.2.gz
module /vmlinuz-2.6.18.8-xen ro root=/dev/VolGroup01/LogVol00 rhgb quiet
module /initrd-2.6.18.8-xen.img
Reboot
If you would like to understand how pygrub works try to reproduce:- http://lxer.com/module/newswire/view/110642/index.html at your Xen Dom0 ( Linux itself really doesn't matter)
Maybe this one:- http://lxer.com/module/newswire/view/112300/index.html would show you more
Boris
--- 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:
http://wiki.xensource.com/xenwiki/PyGrub?highlight=%28pygrub%29
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,
Jon
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|