0

I use CentOS. I have ATI card that the website says supports RHEL 7.0 and 7.1. Currently it works in CentOS 7.2 as well but not in CentOS 7.3. Is it possible to use kernel of 7.2 (excluding from update via yum.conf) with other packages of 7.3? When I did that last time it did not work, the system did not boot so I am cautious about attempting to do that once again.

migrated from serverfault.com May 20 '17 at 22:02

This question came from our site for system and network administrators.

3

Unlike for most other packages upgrading RHEL and CentOS systems installs upgraded kernel packages as additional packages rather than upgrading and replacing the rpm's.

You don't need to exclude new kernel packages at all. Simply set the desired kernel version you want your system to boot into, rather than the default (i.e. newest) kernel version with grubby:

grubby --set-default /boot/vmlinuz-3.10.0-229.4.2.el7.x86_64
  • 1
    Thanks @HBruijn. But my worry is that the kernel updates will eventually remove the older ones, including the 'default' one. Is there a way to prevent that? – user926918 May 11 '17 at 7:15
  • 1
    An interesting property of yum in this regard is that by default yum won't remove the currently running kernel (autocheck_running_kernel is set to 1 by default). – HBruijn May 11 '17 at 7:33
  • I regret to report that the driver did not work with 7.3. Also the grubby solution did not work in the sense that it did not continue to be default after update. – user926918 May 16 '17 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.