[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Supported Distros


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, <Xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Jonathan Tripathy" <jonnyt@xxxxxxxxxxx>
  • Date: Wed, 16 Jun 2010 10:53:29 +0100
  • Cc:
  • Delivery-date: Wed, 16 Jun 2010 02:56:11 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcsNOTUUmJYHT0S+Q8q3AbLORrm78gAAJEAh
  • Thread-topic: [Xen-users] Supported Distros


 


From: Fajar A. Nugraha [mailto:fajar@xxxxxxxxx]
Sent: Wed 16/06/2010 10:49
To: Jonathan Tripathy
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Supported Distros

On Wed, Jun 16, 2010 at 3:46 PM, Jonathan Tripathy <jonnyt@xxxxxxxxxxx> wrote:
> I think I've tried the above in the past, but followed this guide:
> http://www.syntaxtechnology.com/2010/01/upgrade-xen-3-0-on-centos-5-4-x86_64-to-xen-3-4-2/
>
> but it replaced the kernel...
>
> What is the best way to make sure that the same kernel is used? Just run yum
> update xen?

Well, yeah.

BTW, the tutorial on that page is also correct. Somewhat.
It uninstalls and reinstalls a whole group, thus (possibly) requiring
you to add/edit grub.conf manually.

Last time I check, when "kernel-xen" is already installed, running
"yum install xen", "yum update xen", or simply "yum update" while
having Gitco repo enabled will install updated xen from Gitco which
automatically edit existing grub.conf entry to use newer xen
hypervisor. The magic is in rpm postscript doing something like this

for XENKVER in $(/bin/grep el5xen /boot/grub/menu.lst | /bin/grep
vmlinuz | /bin/sed 's/.*\/vmlinuz-\(.*el5xen\).*/\1/'); do
  /sbin/new-kernel-pkg --package kernel-xen --mkinitrd --depmod
--install --multiboot=/boot/xen.gz-4.0.0 $XENKVER || exit $?
done

Again, I recommend you keep a copy of old and new /boot/grub/menu.lst
to see the difference.

--
Fajar

--------------------------------------------------------------------------------------------------------

Hi Fajar,

That tutorial replaces the installed kernel with a newer one. However I'll give your instruction a shot later this evening (I'll just do yum update xen) so that it will hopefully just update the xen version, and leave the kernel alone

Thanks
 
Jonathan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.