Thursday, October 1, 2022

How to Update to Kernel 4.2.2 on Linux CentOS 7 with Repository



Linux kernel is the essential part of any Linux operating system. It is responsible for resource allocation, low-level hardware interfaces, security, simple communications, basic file system management, and more. Written from scratch by Linus Torvalds (with help from various developers), Linux is a clone of the UNIX operating system. It is geared towards POSIX and Single UNIX Specification compliances.

Includes powerful features

Linux provides users with powerful features, such as true multitasking, multistack networking, shared copy-on-write executables, shared libraries, demand loading, virtual memory, and proper memory management.

Initially designed only for 386/486-based computers, now Linux supports a wide range of architectures, including 64-bit (IA64, AMD64), ARM, ARM64, DEC Alpha, MIPS, SUN Sparc, PowerPC, as well as Amiga and Atari machines.

Kernel 4.2.2 has been released, bringing improvements for the ARM64, PowerPC (PPC), ARM, H8/300, M32R, MIPS, PA-RISC, s390, unicore32 and x86 architectures, updates for the Btrfs, CIFS, eCryptfs, EXT4, HFS, HFS+, JBD2 and NFS filesystems and a bunch of other changes and enhancements.

Read Changelog

Also worth mentioning: Starting with Kernel 4.0 the long awaited Life Patching feature has been implemented, permitting the users to update the kernel without having to reboot the system. While this is not important for regular users, this feature is very good for Linux servers.

Installation instructions:

The ElRepo repository provides the latest stable version of the kernel for CentOS 7, Enterprise Linux 7 and RHEL 7.

In order to install the kernel patch, you need to add the repository’s key to your system, install the repository and enable the repo and install the kernel-ml package:
$ su root
# rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# yum install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
# yum –enablerepo=elrepo-kernel install kernel-ml

Reboot and choose Kernel 4.2.2 at startup:
# reboot

Optional, to remove kernel 4.2.2 do:
# yum remove kernel-ml
The source is available now. Binary packages are in the process of being built, and will appear soon at their respective download locations.

WARNING: Installing a new kernel may render your system unusable or unstable. If you proceed with the installation using the instructions below, make sure you back up any important data you have to an external hard drive.  
Previous Post
Next Post
Related Posts

0 comments: