[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] How to stop yum update on CentOS 5.1 to modify grub
Bas Mevissen wrote: 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?Rudi Ahlers wrote: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.Cool, thank you. Does the kernel version affect this, or get affected by this at all?You can change it by modifying the file /etc/sysconfig/kernel: # UPDATEDEFAULT specifies if new-kernel-pkg should make # new kernels the default UPDATEDEFAULT=yes # DEFAULTKERNEL specifies the default kernel package type DEFAULTKERNEL=kernel-xenMake sure that your default kernel is "kernel-xen" and not "kernel" obviously.Regards, Bas.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.Regards, Bas. (please keep the list posted) -- 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 Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |