RHEL7: How to install the most recent stable kernel.

Share this link

Presentation

As it is pretty complicated to compile a new kernel, the ELRepo project provides an easy way to install a recent kernel, if you want to. Its elrepo-kernel channel actually allows you to install the most recent stable kernel.

Installation Procedure

Start by installing the ELRepo repository.

Then, temporary enable the elrepo-kernel channel and install the most recent stable kernel:

# yum --enablerepo=elrepo-kernel install -y kernel-ml

After rebooting, you will be able to choose the new kernel.
If you don’t want to choose at boot, type:

# grub2-set-default 0

Source: Inspired from this great Linoxide tutorial where you can additionally learn how to compile a kernel!

Additional Resources

The CentOS team maintains a recent experimental kernel in its AltArch repository (source).

In addition, Bob Cromwell provides a page about building Linux kernels.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply

Please Login to comment
  Subscribe  
Notify of

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create a XFS file system of 100MB. Mount it under /mnt. Then, increase its size by 50MB.

RHCE7: Task of the day

Allowed time: 15 minutes.
Configure a httpd server with a password protected directory under the /var/www/html/private directory.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...