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] How to stop yum update on CentOS 5.1 to modify grub

To: Bas Mevissen <abuse@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How to stop yum update on CentOS 5.1 to modify grub
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Mon, 07 Apr 2008 16:08:32 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 07 Apr 2008 07:09:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47FA28E0.9030707@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: SoftDux
References: <47F8DBFC.4040805@xxxxxxxxxxx> <47FA09A6.4050203@xxxxxxxxxx> <47FA179C.4050509@xxxxxxxxxxx> <47FA28E0.9030707@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20071031)
Bas Mevissen wrote:
Rudi Ahlers wrote:

You can change it by modifying the file /etc/sysconfig/kernel:

# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default

# DEFAULTKERNEL specifies the default kernel package type

Make sure that your default kernel is "kernel-xen" and not "kernel" obviously.



Cool, thank you. Does the kernel version affect this, or get affected by this at all?

When a new kernel is installed, the post install script touched the file to change old "kernel-smp" references to "kernel". Script should only update after a check on kernel-smp IMHO.

But if you have both xen-enabled and non-xen kernels installed, they both get updated when a new kernel of either type is available.

The /etc/sysconfig/kernel file only determines whether the newly installed kernel becomes the default. I personally don't see why there are two switched needed for that. Guess it is for historical reasons.



(please keep the list posted)

ok, now I have a tricky question. Do I need to have both kernels installed? What if I remove the standard kernel, and only keep the xen kernel?


Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff

Xen-users mailing list