[Users] OpenVZ Kernel
Kir Kolyshkin
kir at openvz.org
Tue Jul 29 09:17:08 PDT 2014
On 07/29/2014 08:04 AM, Matt wrote:
>> Ofc yum is perfectly happy with removing "kernel" package, as long there
>> is still any package in the system providing "kernel", which "vzkernel"
>> does.
> I imagine dracut-kernel and kernel-firmware remain? I think
> kernel-firmware contains device drivers of sort but what does dracut
> do?
dracut-kernel should be there. As for kernel-firmware, on a CentOS 6
system there are two sources for it -- openvz repo and centos repo --
so you have do choose one.
The best bet would be openvz repo, in
order to use it you should comment out
disable=vzkernel-firmware
line in /etc/yum.repos.d/openvz.repo
and add this to centos repo.
>
>
>> You just need to know that you can't erase the kernel you're currently
>> running.
>>
>> /snajpa
>>
>> On 07/29/2014 12:03 AM, jjs - mainphrame wrote:
>>> Yum might not be happy erasing the kernel - I'd just disable centos
>>> kernel updates in the yum config. I also find it useful to be able to
>>> boot into a vanilla centos kernel for testing - just in case.
>>>
>>>
>>> On Mon, Jul 28, 2014 at 2:36 PM, Matt <matt.mailinglists at gmail.com
>>> <mailto:matt.mailinglists at gmail.com>> wrote:
>>>
>>> I see:
>>>
>>> [root]# rpm -qa |grep kern
>>> kernel-2.6.32-431.11.2.el6.x86_64
>>> vzkernel-2.6.32-042stab088.4.x86_64
>>> vzkernel-2.6.32-042stab090.3.x86_64
>>> vzkernel-2.6.32-042stab092.1.x86_64
>>> vzkernel-2.6.32-042stab092.3.x86_64
>>> dracut-kernel-004-336.el6_5.2.noarch
>>> kernel-2.6.32-431.5.1.el6.x86_64
>>> kernel-2.6.32-431.17.1.el6.x86_64
>>> kernel-2.6.32-431.20.3.el6.x86_64
>>> vzkernel-2.6.32-042stab092.2.x86_64
>>> kernel-firmware-2.6.32-431.20.5.el6.noarch
>>> kernel-2.6.32-431.20.5.el6.x86_64
>>>
>>> So would it be safe to do.
>>>
>>> yum erase kernel
>>>
>>> ???
>>>
>>>
>>>
>>>
>>> On Mon, Jul 28, 2014 at 4:09 PM, Scott Dowdle
>>> <dowdle at montanalinux.org <mailto:dowdle at montanalinux.org>> wrote:
>>> > Greetings,
>>> >
>>> > ----- Original Message -----
>>> >> I have OpenVZ installed on CentOS 6.x following this guide.
>>> >>
>>> >> https://openvz.org/Quick_Installation_CentOS_6
>>> >>
>>> >> Everytime CentOS releases a new kernel it replaces the OpenVZ kernel
>>> >> as first boot option. Is there anyway around this other then editing
>>> >> the boot order manually after running yum update?
>>> >
>>> > What I've done is to just remove the stock CentOS kernel because
>>> what isn't installed doesn't get updated. You could also make it an
>>> exclude in the /etc/yum.conf if desired.
>>>
More information about the Users
mailing list