[CentOS] Is it safe to run only the XEN kernel on dom0 host?

Sat Jan 9 09:27:57 UTC 2010
Rudi Ahlers <Rudi at SoftDux.com>

Hi,

I have an issue with my XEN servers, in that when I do a yum upgrade,
it upgrades the kernels, and then updates the grub.conf file to boot
with the normal Linux kernel, and not the XEN kernel - and I tend to
forget to update the grub.conf, until I reboot and see XEN isn't
running.

So, is it safe to remove the normal kernel & kernel-development, and
only run the XEN kernel?

This is what I have currently:

root at usaxen03:[~]$ rpm -qa | grep kernel
kernel-xen-2.6.18-128.7.1.el5
kernel-xen-2.6.18-164.10.1.el5
kernel-xen-2.6.18-164.el5
kernel-headers-2.6.18-164.10.1.el5
kernel-xen-2.6.18-164.6.1.el5
kernel-xen-2.6.18-164.9.1.el5


When I want to remove kernel-headers, it wants to remove gcc as well:


root at usaxen03:[~]$ rpm -qa | grep kernel
kernel-xen-2.6.18-128.7.1.el5
kernel-xen-2.6.18-164.10.1.el5
kernel-xen-2.6.18-164.el5
kernel-headers-2.6.18-164.10.1.el5
kernel-xen-2.6.18-164.6.1.el5
kernel-xen-2.6.18-164.9.1.el5



Do I really need gcc on the XEN dom0 host? The servers are all running
CentOS 5.4 x64