Search This Blog

Sunday, January 20, 2013

About Centos and default kernel boot options

 We use Centos and KVM virtualization on my work place. After some time new kernel was released and the question arose "How do I set the default kernel parameters in CentOS for all existing and future kernels?"

 We found a solution for CentOS! yum uses grubby itself! (strace, thank you!) grubby has the option "--copy-default" and I think yum runs grubby with it. So only thing you should do is to add in grub.conf all kernel options you need to current default kernel and reboot. After reboot you can install new kernel!

serverfault

No comments:

Post a Comment