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@lists.xensource.com http://lists.xensource.com/xen-users
jonr@destar.net wrote:> 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, > > Jonpygrub just looks for a bootable disk with the kernel and initrd on it. You don''t need to install Xen on the DomU at all. Step 2 basically translates to install a xen compatible (pv) OS of choice. That''s basically any *nix. Nothing fancy. HTH -- Ryan Duff web: http://www.ryanduff.net aim: ryancduff twitter: ryancduff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@destar.net <jonr@destar.net> wrote: From: jonr@destar.net <jonr@destar.net> Subject: [Xen-users] pygrub setup To: xen-users@lists.xensource.com 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>pygrub just looks for a bootable disk with the kernel and initrd on it. >You don''t need to install Xen on the DomU at all.However, DomU image has to have either xen-ified or pv_ops enabled kernel along with initrd installed. It makes life easier allow not to copy this stuff off DomU image to Dom0. --- On Fri, 2/20/09, Ryan Duff <ryanduff.list@gmail.com> wrote: From: Ryan Duff <ryanduff.list@gmail.com> Subject: Re: [Xen-users] pygrub setup To: xen-users@lists.xensource.com Date: Friday, February 20, 2009, 2:07 PM jonr@destar.net wrote:> 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, > > Jonpygrub just looks for a bootable disk with the kernel and initrd on it. You don''t need to install Xen on the DomU at all. Step 2 basically translates to install a xen compatible (pv) OS of choice. That''s basically any *nix. Nothing fancy. HTH -- Ryan Duff web: http://www.ryanduff.net aim: ryancduff twitter: ryancduff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting "Boris Derzhavets" <bderzhavets@yahoo.com>:>> pygrub just looks for a bootable disk with the kernel and initrd on it. >> You don''t need to install Xen on the DomU at all. > > However, DomU image has to have either xen-ified or > pv_ops enabled kernel along with initrd installed. > It makes life easier allow not to copy this stuff off > DomU image to Dom0. >That answers my question. Thanks again Boris, Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users